#D9C24A#D9C24A

#D9C24A is a light, vivid yellow. Relative luminance 0.538; OKLCH L 81.2% C 0.139 H 98.3°. Best body text is #000000 at 11.77:1 contrast (WCAG AA passes).

Color values

HEX#D9C24A
RGBrgb(217, 194, 74)
HSLhsl(50, 65%, 57%)
HSVhsv(50, 66%, 85%)
CMYKcmyk(0%, 10.6%, 65.9%, 14.9%)
CIE-LABlab(78.36, -5.43, 61.08)
CIE-LCHlch(78.36, 61.32, 95.08°)
OKLaboklab(81.16% -0.0202 0.138)
OKLCHoklch(81.16% 0.139 98.3)
XYZxyz(49.1453, 53.8320, 14.2792)
Luminance0.5383 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9C24A #4A61D9
analogous
#D97B4A #D9C24A #A8D94A
triadic
#D9C24A #4AD9C2 #C24AD9
tetradic
#D9C24A #4AD97B #4A61D9 #D94AA8
square
#D9C24A #4AD97B #4A61D9 #D94AA8
split-complementary
#D9C24A #4AA8D9 #7B4AD9
monochromatic
#8B7A1D #BEA628 #D9C24A #E4D37D #EEE4AF

Accessibility & contrast

On white

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

On black

11.77
#D9C24A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9C24A
11.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9C24A#FFFFFF#000000##000000
##D9C24A1.001.7811.7711.77
#FFFFFF1.781.0021.0021.00
#00000011.7721.001.001.00
##00000011.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BD3B
Deuteranopia (green-blind)
#DAC551
Tritanopia (blue-blind)
#E9B4A9
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #d9c24a;
/* rgb */ color: rgb(217, 194, 74);
/* oklch */ color: oklch(81.2% 0.139 98.3);
Tailwind
colors: {
  custom: {
    50: '#e8d482',
    500: '#d9c24a',
    950: '#000000',
  },
}
SCSS
$custom: #d9c24a;
$custom-light: #e8d482;
$custom-dark: #000000;
JSON
{
  "hex": "#d9c24a",
  "rgb": {
    "r": 217,
    "g": 194,
    "b": 74
  },
  "hsl": {
    "h": 50.35,
    "s": 65.297,
    "l": 57.059
  },
  "oklch": {
    "l": 0.81165,
    "c": 0.13943,
    "h": 98.3
  },
  "luminance": 0.5383
}

Semantic roles & 50–950 ramp

primary
#D9C24A
secondary
#364591
accent
#5BE840
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#17140B
muted
#85837E

Preview Lab

Preview with #D9C24A

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

Preview Lab → · Contrast checker → · Palette generator →

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