#D0C04D#D0C04D

#D0C04D is a light, vivid yellow. Relative luminance 0.516; OKLCH L 80.0% C 0.135 H 101.4°. Best body text is #000000 at 11.33:1 contrast (WCAG AA passes).

Color values

HEX#D0C04D
RGBrgb(208, 192, 77)
HSLhsl(53, 58%, 56%)
HSVhsv(53, 63%, 82%)
CMYKcmyk(0%, 7.7%, 63%, 18.4%)
CIE-LABlab(77.07, -8.02, 58.20)
CIE-LCHlch(77.07, 58.75, 97.84°)
OKLaboklab(79.96% -0.0267 0.1326)
OKLCHoklch(79.96% 0.135 101.4)
XYZxyz(46.2034, 51.6469, 14.5548)
Luminance0.5164 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D0C04D #4D5DD0
analogous
#D07E4D #D0C04D #9ED04D
triadic
#D0C04D #4DD0C0 #C04DD0
tetradic
#D0C04D #4DD07E #4D5DD0 #D04D9E
square
#D0C04D #4DD07E #4D5DD0 #D04D9E
split-complementary
#D0C04D #4D9ED0 #7E4DD0
monochromatic
#817522 #B1A12F #D0C04D #DDD17D #EAE2AE

Accessibility & contrast

On white

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

On black

11.33
#D0C04D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D0C04D
11.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D0C04D#FFFFFF#000000##000000
##D0C04D1.001.8511.3311.33
#FFFFFF1.851.0021.0021.00
#00000011.3321.001.001.00
##00000011.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1BB3F
Deuteranopia (green-blind)
#D5C153
Tritanopia (blue-blind)
#DFB3A8
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #d0c04d;
/* rgb */ color: rgb(208, 192, 77);
/* oklch */ color: oklch(80.0% 0.135 101.4);
Tailwind
colors: {
  custom: {
    50: '#e1d284',
    500: '#d0c04d',
    950: '#000000',
  },
}
SCSS
$custom: #d0c04d;
$custom-light: #e1d284;
$custom-dark: #000000;
JSON
{
  "hex": "#d0c04d",
  "rgb": {
    "r": 208,
    "g": 192,
    "b": 77
  },
  "hsl": {
    "h": 52.672,
    "s": 58.222,
    "l": 55.882
  },
  "oklch": {
    "l": 0.79958,
    "c": 0.13523,
    "h": 101.4
  },
  "luminance": 0.51645
}

Semantic roles & 50–950 ramp

primary
#D0C04D
secondary
#394388
accent
#59E146
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #D0C04D

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

Preview Lab → · Contrast checker → · Palette generator →

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