#D7D228

Yellow

HEX

RGB

HSL

About #D7D228 Yellow

#D7D228 is a yellow color. In the RGB color model, it is composed of 215 red, 210 green, and 40 blue. In the HSL color space, it has a hue of 58°, saturation of 69%, and lightness of 50%.

This color has a medium lightness value, making it a balanced tone ideal for both text and UI elements. With moderate saturation, it appears balanced and versatile.

CSS Code & Gradients

Use #D7D228 in your CSS, SCSS, or Tailwind projects. Copy ready-to-use gradients.

Beautiful Gradients

Color Properties

58°

Hue

69%

Saturation

50%

Lightness

Yellow

Color Harmonies

Colors that work well with #D7D228 based on color theory.

Accessibility

WCAG 2.1 contrast ratio of #D7D228 against white and black backgrounds.

Aa#D7D228 on White
Contrast Ratio1.6:1
AA AA Large AAA
Aa#D7D228 on Black
Contrast Ratio13.14:1
AA AA Large AAA

Color Conversion Table

Complete conversion of #D7D228 across different color formats.

FormatValue
HEX#D7D228
RGBrgb(215, 210, 40)
HSLhsl(58, 69%, 50%)
RGB Decimal215, 210, 40
RGB Percent84.3%, 82.4%, 15.7%
CMYK (approx.)0%, 2%, 81%, 16%

Related Palettes

12 palettes using #D7D228 or similar colors

#C7D926#97E052#84E87D#A8F0C1
#A95F23#E1D937#B7E184#C0F5BD
#B1731B#D5E335#AAE87D#BDF4C2
#B25E1A#DCD43D#B8E87D#C2F2C0
#B0701C#D3DE3A#ACE481#BDF4C1
#A66026#DBD33E#B8E97C#C3F1C0
#B26E1A#DCE534#ADEE77#BCF5BF
#B1661B#DCDC3D#B3EE77#C0F2C0
#A65726#DAC83E#BFE97C#C5F3BF
#A66F26#CED840#ACE481#BCF5C0
#AD5A1F#D6CA42#BCEC79#C1F5BC
#C3C022#A1DE45#8DE779#ADF0BC