#D2D228

Yellow

HEX

RGB

HSL

About #D2D228 Yellow

#D2D228 is a yellow color. In the RGB color model, it is composed of 210 red, 210 green, and 40 blue. In the HSL color space, it has a hue of 60°, saturation of 68%, and lightness of 49%.

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

Use #D2D228 in your CSS, SCSS, or Tailwind projects.

Color Properties

60°

Hue

68%

Saturation

49%

Lightness

Yellow

Color Harmonies

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

Accessibility

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

Aa#D2D228 on White
Contrast Ratio1.62:1
AA AA Large AAA
Aa#D2D228 on Black
Contrast Ratio12.99:1
AA AA Large AAA

Color Conversion Table

Complete conversion of #D2D228 across different color formats.

FormatValue
HEX#D2D228
RGBrgb(210, 210, 40)
HSLhsl(60, 68%, 49%)
RGB Decimal210, 210, 40
RGB Percent82.4%, 82.4%, 15.7%
CMYK (approx.)0%, 0%, 81%, 18%

Related Palettes

12 palettes using #D2D228 or similar colors

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