#D2C24E#D2C24E

#D2C24E is a light, vivid yellow. Relative luminance 0.528; OKLCH L 80.6% C 0.136 H 101.5°. Best body text is #000000 at 11.57:1 contrast (WCAG AA passes).

Color values

HEX#D2C24E
RGBrgb(210, 194, 78)
HSLhsl(53, 59%, 56%)
HSVhsv(53, 63%, 82%)
CMYKcmyk(0%, 7.6%, 62.9%, 17.6%)
CIE-LABlab(77.78, -8.14, 58.59)
CIE-LCHlch(77.78, 59.15, 97.91°)
OKLaboklab(80.57% -0.0271 0.1335)
OKLCHoklch(80.57% 0.136 101.5)
XYZxyz(47.2471, 52.8372, 14.9161)
Luminance0.5283 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2C24E #4E5ED2
analogous
#D2804E #D2C24E #A0D24E
triadic
#D2C24E #4ED2C2 #C24ED2
tetradic
#D2C24E #4ED280 #4E5ED2 #D24EA0
square
#D2C24E #4ED280 #4E5ED2 #D24EA0
split-complementary
#D2C24E #4EA0D2 #804ED2
monochromatic
#847822 #B5A42E #D2C24E #DED37F #EBE4B0

Accessibility & contrast

On white

1.82
#D2C24E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.57
#D2C24E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2C24E
11.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2C24E#FFFFFF#000000##000000
##D2C24E1.001.8211.5711.57
#FFFFFF1.821.0021.0021.00
#00000011.5721.001.001.00
##00000011.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D3BC40
Deuteranopia (green-blind)
#D8C354
Tritanopia (blue-blind)
#E1B5A9
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #d2c24e;
/* rgb */ color: rgb(210, 194, 78);
/* oklch */ color: oklch(80.6% 0.136 101.5);
Tailwind
colors: {
  custom: {
    50: '#e3d485',
    500: '#d2c24e',
    950: '#000000',
  },
}
SCSS
$custom: #d2c24e;
$custom-light: #e3d485;
$custom-dark: #000000;
JSON
{
  "hex": "#d2c24e",
  "rgb": {
    "r": 210,
    "g": 194,
    "b": 78
  },
  "hsl": {
    "h": 52.727,
    "s": 59.459,
    "l": 56.471
  },
  "oklch": {
    "l": 0.80565,
    "c": 0.1362,
    "h": 101.5
  },
  "luminance": 0.52835
}

Semantic roles & 50–950 ramp

primary
#D2C24E
secondary
#39438B
accent
#58E345
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #D2C24E

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#D2C24E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva