#D0C04B#D0C04B

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

Color values

HEX#D0C04B
RGBrgb(208, 192, 75)
HSLhsl(53, 59%, 55%)
HSVhsv(53, 64%, 82%)
CMYKcmyk(0%, 7.7%, 63.9%, 18.4%)
CIE-LABlab(77.05, -8.14, 59.04)
CIE-LCHlch(77.05, 59.60, 97.85°)
OKLaboklab(79.94% -0.0273 0.1341)
OKLCHoklch(79.94% 0.137 101.5)
XYZxyz(46.1339, 51.6191, 14.1886)
Luminance0.5162 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D0C04B #4B5BD0
analogous
#D07D4B #D0C04B #9DD04B
triadic
#D0C04B #4BD0C0 #C04BD0
tetradic
#D0C04B #4BD07D #4B5BD0 #D04B9D
square
#D0C04B #4BD07D #4B5BD0 #D04B9D
split-complementary
#D0C04B #4B9DD0 #7D4BD0
monochromatic
#7F7421 #B0A02E #D0C04B #DDD17C #E9E2AC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D0C04B#FFFFFF#000000##000000
##D0C04B1.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)
#D1BA3D
Deuteranopia (green-blind)
#D6C152
Tritanopia (blue-blind)
#DFB3A7
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #d0c04b;
/* rgb */ color: rgb(208, 192, 75);
/* oklch */ color: oklch(79.9% 0.137 101.5);
Tailwind
colors: {
  custom: {
    50: '#e2d283',
    500: '#d0c04b',
    950: '#000000',
  },
}
SCSS
$custom: #d0c04b;
$custom-light: #e2d283;
$custom-dark: #000000;
JSON
{
  "hex": "#d0c04b",
  "rgb": {
    "r": 208,
    "g": 192,
    "b": 75
  },
  "hsl": {
    "h": 52.782,
    "s": 58.59,
    "l": 55.49
  },
  "oklch": {
    "l": 0.79939,
    "c": 0.1368,
    "h": 101.5
  },
  "luminance": 0.51617
}

Semantic roles & 50–950 ramp

primary
#D0C04B
secondary
#384287
accent
#59E246
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #D0C04B

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

Preview Lab → · Contrast checker → · Palette generator →

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