#D0C24E#D0C24E

#D0C24E is a light, vivid yellow. Relative luminance 0.525; OKLCH L 80.4% C 0.136 H 102.4°. Best body text is #000000 at 11.51:1 contrast (WCAG AA passes).

Color values

HEX#D0C24E
RGBrgb(208, 194, 78)
HSLhsl(54, 58%, 56%)
HSVhsv(54, 63%, 82%)
CMYKcmyk(0%, 6.7%, 62.5%, 18.4%)
CIE-LABlab(77.61, -8.98, 58.35)
CIE-LCHlch(77.61, 59.04, 98.75°)
OKLaboklab(80.39% -0.0293 0.133)
OKLCHoklch(80.39% 0.136 102.4)
XYZxyz(46.6811, 52.5454, 14.8896)
Luminance0.5254 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D0C24E #4E5CD0
analogous
#D0814E #D0C24E #9DD04E
triadic
#D0C24E #4ED0C2 #C24ED0
tetradic
#D0C24E #4ED081 #4E5CD0 #D04E9D
square
#D0C24E #4ED081 #4E5CD0 #D04E9D
split-complementary
#D0C24E #4E9DD0 #814ED0
monochromatic
#817722 #B2A42F #D0C24E #DDD37E #EAE3AF

Accessibility & contrast

On white

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

On black

11.51
#D0C24E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D0C24E
11.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D0C24E#FFFFFF#000000##000000
##D0C24E1.001.8211.5111.51
#FFFFFF1.821.0021.0021.00
#00000011.5121.001.001.00
##00000011.5121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d0c24e;
/* rgb */ color: rgb(208, 194, 78);
/* oklch */ color: oklch(80.4% 0.136 102.4);
Tailwind
colors: {
  custom: {
    50: '#e1d485',
    500: '#d0c24e',
    950: '#000000',
  },
}
SCSS
$custom: #d0c24e;
$custom-light: #e1d485;
$custom-dark: #000000;
JSON
{
  "hex": "#d0c24e",
  "rgb": {
    "r": 208,
    "g": 194,
    "b": 78
  },
  "hsl": {
    "h": 53.538,
    "s": 58.036,
    "l": 56.078
  },
  "oklch": {
    "l": 0.80387,
    "c": 0.13623,
    "h": 102.4
  },
  "luminance": 0.52544
}

Semantic roles & 50–950 ramp

primary
#D0C24E
secondary
#3A4289
accent
#57E147
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #D0C24E

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

Preview Lab → · Contrast checker → · Palette generator →

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