#D0C84B#D0C84B

#D0C84B is a light, vivid yellow. Relative luminance 0.552; OKLCH L 81.6% C 0.144 H 105.7°. Best body text is #000000 at 12.05:1 contrast (WCAG AA passes).

Color values

HEX#D0C84B
RGBrgb(208, 200, 75)
HSLhsl(56, 59%, 55%)
HSVhsv(56, 64%, 82%)
CMYKcmyk(0%, 3.8%, 63.9%, 18.4%)
CIE-LABlab(79.17, -12.22, 61.28)
CIE-LCHlch(79.17, 62.49, 101.28°)
OKLaboklab(81.62% -0.0389 0.1388)
OKLCHoklch(81.62% 0.144 105.7)
XYZxyz(47.9384, 55.2281, 14.7901)
Luminance0.5523 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D0C84B #4B53D0
analogous
#D0854B #D0C84B #95D04B
triadic
#D0C84B #4BD0C8 #C84BD0
tetradic
#D0C84B #4BD085 #4B53D0 #D04B95
square
#D0C84B #4BD085 #4B53D0 #D04B95
split-complementary
#D0C84B #4B95D0 #854BD0
monochromatic
#7F7A21 #B0A82E #D0C84B #DDD77C #E9E6AC

Accessibility & contrast

On white

1.74
#D0C84B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.05
#D0C84B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D0C84B
12.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D0C84B#FFFFFF#000000##000000
##D0C84B1.001.7412.0512.05
#FFFFFF1.741.0021.0021.00
#00000012.0521.001.001.00
##00000012.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C13B
Deuteranopia (green-blind)
#DCC753
Tritanopia (blue-blind)
#DFBBAE
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #d0c84b;
/* rgb */ color: rgb(208, 200, 75);
/* oklch */ color: oklch(81.6% 0.144 105.7);
Tailwind
colors: {
  custom: {
    50: '#e1d883',
    500: '#d0c84b',
    950: '#000000',
  },
}
SCSS
$custom: #d0c84b;
$custom-light: #e1d883;
$custom-dark: #000000;
JSON
{
  "hex": "#d0c84b",
  "rgb": {
    "r": 208,
    "g": 200,
    "b": 75
  },
  "hsl": {
    "h": 56.391,
    "s": 58.59,
    "l": 55.49
  },
  "oklch": {
    "l": 0.81624,
    "c": 0.14414,
    "h": 105.7
  },
  "luminance": 0.55226
}

Semantic roles & 50–950 ramp

primary
#D0C84B
secondary
#383D87
accent
#4FE246
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #D0C84B

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

Preview Lab → · Contrast checker → · Palette generator →

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