#D0C84E#D0C84E

#D0C84E is a light, vivid yellow. Relative luminance 0.553; OKLCH L 81.7% C 0.142 H 105.6°. Best body text is #000000 at 12.05:1 contrast (WCAG AA passes).

Color values

HEX#D0C84E
RGBrgb(208, 200, 78)
HSLhsl(56, 58%, 56%)
HSVhsv(56, 63%, 82%)
CMYKcmyk(0%, 3.8%, 62.5%, 18.4%)
CIE-LABlab(79.20, -12.04, 60.06)
CIE-LCHlch(79.20, 61.25, 101.33°)
OKLaboklab(81.65% -0.038 0.1366)
OKLCHoklch(81.65% 0.142 105.6)
XYZxyz(48.0435, 55.2702, 15.3437)
Luminance0.5527 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D0C84E #4E56D0
analogous
#D0874E #D0C84E #97D04E
triadic
#D0C84E #4ED0C8 #C84ED0
tetradic
#D0C84E #4ED087 #4E56D0 #D04E97
square
#D0C84E #4ED087 #4E56D0 #D04E97
split-complementary
#D0C84E #4E97D0 #874ED0
monochromatic
#817B22 #B2AA2F #D0C84E #DDD77E #EAE6AF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D0C84E#FFFFFF#000000##000000
##D0C84E1.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)
#D8C13F
Deuteranopia (green-blind)
#DBC755
Tritanopia (blue-blind)
#DEBBAE
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #d0c84e;
/* rgb */ color: rgb(208, 200, 78);
/* oklch */ color: oklch(81.7% 0.142 105.6);
Tailwind
colors: {
  custom: {
    50: '#e1d885',
    500: '#d0c84e',
    950: '#000000',
  },
}
SCSS
$custom: #d0c84e;
$custom-light: #e1d885;
$custom-dark: #000000;
JSON
{
  "hex": "#d0c84e",
  "rgb": {
    "r": 208,
    "g": 200,
    "b": 78
  },
  "hsl": {
    "h": 56.308,
    "s": 58.036,
    "l": 56.078
  },
  "oklch": {
    "l": 0.81651,
    "c": 0.14183,
    "h": 105.6
  },
  "luminance": 0.55269
}

Semantic roles & 50–950 ramp

primary
#D0C84E
secondary
#3A3F89
accent
#50E147
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #D0C84E

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

Preview Lab → · Contrast checker → · Palette generator →

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