#D0C84F#D0C84F

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

Color values

HEX#D0C84F
RGBrgb(208, 200, 79)
HSLhsl(56, 58%, 56%)
HSVhsv(56, 62%, 82%)
CMYKcmyk(0%, 3.8%, 62%, 18.4%)
CIE-LABlab(79.20, -11.97, 59.64)
CIE-LCHlch(79.20, 60.83, 101.35°)
OKLaboklab(81.66% -0.0377 0.1359)
OKLCHoklch(81.66% 0.141 105.5)
XYZxyz(48.0797, 55.2846, 15.5340)
Luminance0.5528 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D0C84F #4F57D0
analogous
#D0884F #D0C84F #98D04F
triadic
#D0C84F #4FD0C8 #C84FD0
tetradic
#D0C84F #4FD088 #4F57D0 #D04F98
square
#D0C84F #4FD088 #4F57D0 #D04F98
split-complementary
#D0C84F #4F98D0 #884FD0
monochromatic
#827C23 #B2AA30 #D0C84F #DDD77F #EAE6B0

Accessibility & contrast

On white

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

On black

12.06
#D0C84F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D0C84F
12.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D0C84F#FFFFFF#000000##000000
##D0C84F1.001.7412.0612.06
#FFFFFF1.741.0021.0021.00
#00000012.0621.001.001.00
##00000012.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C140
Deuteranopia (green-blind)
#DBC756
Tritanopia (blue-blind)
#DEBBAF
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #d0c84f;
/* rgb */ color: rgb(208, 200, 79);
/* oklch */ color: oklch(81.7% 0.141 105.5);
Tailwind
colors: {
  custom: {
    50: '#e1d886',
    500: '#d0c84f',
    950: '#000000',
  },
}
SCSS
$custom: #d0c84f;
$custom-light: #e1d886;
$custom-dark: #000000;
JSON
{
  "hex": "#d0c84f",
  "rgb": {
    "r": 208,
    "g": 200,
    "b": 79
  },
  "hsl": {
    "h": 56.279,
    "s": 57.848,
    "l": 56.275
  },
  "oklch": {
    "l": 0.81661,
    "c": 0.14105,
    "h": 105.5
  },
  "luminance": 0.55283
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D0C84F

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

Preview Lab → · Contrast checker → · Palette generator →

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