#D0C04A#D0C04A

#D0C04A is a light, vivid yellow. Relative luminance 0.516; OKLCH L 79.9% C 0.138 H 101.6°. Best body text is #000000 at 11.32:1 contrast (WCAG AA passes).

Color values

HEX#D0C04A
RGBrgb(208, 192, 74)
HSLhsl(53, 59%, 55%)
HSVhsv(53, 64%, 82%)
CMYKcmyk(0%, 7.7%, 64.4%, 18.4%)
CIE-LABlab(77.04, -8.21, 59.45)
CIE-LCHlch(77.04, 60.02, 97.86°)
OKLaboklab(79.93% -0.0276 0.1348)
OKLCHoklch(79.93% 0.138 101.6)
XYZxyz(46.1000, 51.6055, 14.0098)
Luminance0.5160 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D0C04A #4A5AD0
analogous
#D07D4A #D0C04A #9DD04A
triadic
#D0C04A #4AD0C0 #C04AD0
tetradic
#D0C04A #4AD07D #4A5AD0 #D04A9D
square
#D0C04A #4AD07D #4A5AD0 #D04A9D
split-complementary
#D0C04A #4A9DD0 #7D4AD0
monochromatic
#7F7321 #AFA02E #D0C04A #DDD17B #E9E2AB

Accessibility & contrast

On white

1.85
#D0C04A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.32
#D0C04A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D0C04A
11.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D0C04A#FFFFFF#000000##000000
##D0C04A1.001.8511.3211.32
#FFFFFF1.851.0021.0021.00
#00000011.3221.001.001.00
##00000011.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1BA3B
Deuteranopia (green-blind)
#D6C151
Tritanopia (blue-blind)
#DFB3A7
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #d0c04a;
/* rgb */ color: rgb(208, 192, 74);
/* oklch */ color: oklch(79.9% 0.138 101.6);
Tailwind
colors: {
  custom: {
    50: '#e2d282',
    500: '#d0c04a',
    950: '#000000',
  },
}
SCSS
$custom: #d0c04a;
$custom-light: #e2d282;
$custom-dark: #000000;
JSON
{
  "hex": "#d0c04a",
  "rgb": {
    "r": 208,
    "g": 192,
    "b": 74
  },
  "hsl": {
    "h": 52.836,
    "s": 58.772,
    "l": 55.294
  },
  "oklch": {
    "l": 0.7993,
    "c": 0.13756,
    "h": 101.6
  },
  "luminance": 0.51604
}

Semantic roles & 50–950 ramp

primary
#D0C04A
secondary
#384186
accent
#58E246
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #D0C04A

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

Preview Lab → · Contrast checker → · Palette generator →

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