#D0C44F#D0C44F

#D0C44F is a light, vivid yellow. Relative luminance 0.535; OKLCH L 80.8% C 0.137 H 103.5°. Best body text is #000000 at 11.69:1 contrast (WCAG AA passes).

Color values

HEX#D0C44F
RGBrgb(208, 196, 79)
HSLhsl(54, 58%, 56%)
HSVhsv(54, 62%, 82%)
CMYKcmyk(0%, 5.8%, 62%, 18.4%)
CIE-LABlab(78.14, -9.94, 58.50)
CIE-LCHlch(78.14, 59.34, 99.64°)
OKLaboklab(80.82% -0.032 0.1335)
OKLCHoklch(80.82% 0.137 103.5)
XYZxyz(47.1654, 53.4560, 15.2292)
Luminance0.5345 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D0C44F #4F5BD0
analogous
#D0844F #D0C44F #9CD04F
triadic
#D0C44F #4FD0C4 #C44FD0
tetradic
#D0C44F #4FD084 #4F5BD0 #D04F9C
square
#D0C44F #4FD084 #4F5BD0 #D04F9C
split-complementary
#D0C44F #4F9CD0 #844FD0
monochromatic
#827923 #B2A630 #D0C44F #DDD47F #EAE4B0

Accessibility & contrast

On white

1.80
#D0C44F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.69
#D0C44F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D0C44F
11.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D0C44F#FFFFFF#000000##000000
##D0C44F1.001.8011.6911.69
#FFFFFF1.801.0021.0021.00
#00000011.6921.001.001.00
##00000011.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BE41
Deuteranopia (green-blind)
#D8C456
Tritanopia (blue-blind)
#DFB7AB
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #d0c44f;
/* rgb */ color: rgb(208, 196, 79);
/* oklch */ color: oklch(80.8% 0.137 103.5);
Tailwind
colors: {
  custom: {
    50: '#e1d585',
    500: '#d0c44f',
    950: '#000000',
  },
}
SCSS
$custom: #d0c44f;
$custom-light: #e1d585;
$custom-dark: #000000;
JSON
{
  "hex": "#d0c44f",
  "rgb": {
    "r": 208,
    "g": 196,
    "b": 79
  },
  "hsl": {
    "h": 54.419,
    "s": 57.848,
    "l": 56.275
  },
  "oklch": {
    "l": 0.80816,
    "c": 0.13725,
    "h": 103.5
  },
  "luminance": 0.53454
}

Semantic roles & 50–950 ramp

primary
#D0C44F
secondary
#3A4189
accent
#55E147
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#16140B
muted
#84837E

Preview Lab

Preview with #D0C44F

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

Preview Lab → · Contrast checker → · Palette generator →

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