#D0C24F#D0C24F

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

Color values

HEX#D0C24F
RGBrgb(208, 194, 79)
HSLhsl(53, 58%, 56%)
HSVhsv(53, 62%, 82%)
CMYKcmyk(0%, 6.7%, 62%, 18.4%)
CIE-LABlab(77.61, -8.92, 57.93)
CIE-LCHlch(77.61, 58.61, 98.75°)
OKLaboklab(80.4% -0.029 0.1323)
OKLCHoklch(80.4% 0.135 102.4)
XYZxyz(46.7173, 52.5598, 15.0798)
Luminance0.5256 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D0C24F #4F5DD0
analogous
#D0824F #D0C24F #9ED04F
triadic
#D0C24F #4FD0C2 #C24FD0
tetradic
#D0C24F #4FD082 #4F5DD0 #D04F9E
square
#D0C24F #4FD082 #4F5DD0 #D04F9E
split-complementary
#D0C24F #4F9ED0 #824FD0
monochromatic
#827823 #B2A430 #D0C24F #DDD37F #EAE3B0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D0C24F#FFFFFF#000000##000000
##D0C24F1.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)
#D2BC42
Deuteranopia (green-blind)
#D7C355
Tritanopia (blue-blind)
#DFB5AA
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #d0c24f;
/* rgb */ color: rgb(208, 194, 79);
/* oklch */ color: oklch(80.4% 0.135 102.4);
Tailwind
colors: {
  custom: {
    50: '#e1d485',
    500: '#d0c24f',
    950: '#000000',
  },
}
SCSS
$custom: #d0c24f;
$custom-light: #e1d485;
$custom-dark: #000000;
JSON
{
  "hex": "#d0c24f",
  "rgb": {
    "r": 208,
    "g": 194,
    "b": 79
  },
  "hsl": {
    "h": 53.488,
    "s": 57.848,
    "l": 56.275
  },
  "oklch": {
    "l": 0.80396,
    "c": 0.13542,
    "h": 102.4
  },
  "luminance": 0.52558
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D0C24F

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

Preview Lab → · Contrast checker → · Palette generator →

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