#D9C24E#D9C24E

#D9C24E is a light, vivid yellow. Relative luminance 0.539; OKLCH L 81.2% C 0.136 H 98.0°. Best body text is #000000 at 11.78:1 contrast (WCAG AA passes).

Color values

HEX#D9C24E
RGBrgb(217, 194, 78)
HSLhsl(50, 65%, 58%)
HSVhsv(50, 64%, 85%)
CMYKcmyk(0%, 10.6%, 64.1%, 14.9%)
CIE-LABlab(78.40, -5.19, 59.43)
CIE-LCHlch(78.40, 59.66, 94.99°)
OKLaboklab(81.2% -0.019 0.1351)
OKLCHoklch(81.2% 0.136 98)
XYZxyz(49.2844, 53.8876, 15.0116)
Luminance0.5389 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9C24E #4E65D9
analogous
#D97C4E #D9C24E #AAD94E
triadic
#D9C24E #4ED9C2 #C24ED9
tetradic
#D9C24E #4ED97C #4E65D9 #D94EAA
square
#D9C24E #4ED97C #4E65D9 #D94EAA
split-complementary
#D9C24E #4EAAD9 #7C4ED9
monochromatic
#8E7C1F #C0A729 #D9C24E #E4D380 #EFE5B3

Accessibility & contrast

On white

1.78
#D9C24E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.78
#D9C24E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9C24E
11.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9C24E#FFFFFF#000000##000000
##D9C24E1.001.7811.7811.78
#FFFFFF1.781.0021.0021.00
#00000011.7821.001.001.00
##00000011.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BD40
Deuteranopia (green-blind)
#DAC554
Tritanopia (blue-blind)
#E9B4AA
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #d9c24e;
/* rgb */ color: rgb(217, 194, 78);
/* oklch */ color: oklch(81.2% 0.136 98.0);
Tailwind
colors: {
  custom: {
    50: '#e8d485',
    500: '#d9c24e',
    950: '#000000',
  },
}
SCSS
$custom: #d9c24e;
$custom-light: #e8d485;
$custom-dark: #000000;
JSON
{
  "hex": "#d9c24e",
  "rgb": {
    "r": 217,
    "g": 194,
    "b": 78
  },
  "hsl": {
    "h": 50.072,
    "s": 64.651,
    "l": 57.843
  },
  "oklch": {
    "l": 0.81201,
    "c": 0.13642,
    "h": 98
  },
  "luminance": 0.53885
}

Semantic roles & 50–950 ramp

primary
#D9C24E
secondary
#384794
accent
#5CE840
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140B
muted
#85837E

Preview Lab

Preview with #D9C24E

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

Preview Lab → · Contrast checker → · Palette generator →

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