#D0C851#D0C851

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

Color values

HEX#D0C851
RGBrgb(208, 200, 81)
HSLhsl(56, 57%, 57%)
HSVhsv(56, 61%, 82%)
CMYKcmyk(0%, 3.8%, 61.1%, 18.4%)
CIE-LABlab(79.22, -11.84, 58.80)
CIE-LCHlch(79.22, 59.99, 101.39°)
OKLaboklab(81.68% -0.0371 0.1344)
OKLCHoklch(81.68% 0.139 105.5)
XYZxyz(48.1536, 55.3142, 15.9232)
Luminance0.5531 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D0C851 #5159D0
analogous
#D08851 #D0C851 #99D051
triadic
#D0C851 #51D0C8 #C851D0
tetradic
#D0C851 #51D088 #5159D0 #D05199
square
#D0C851 #51D088 #5159D0 #D05199
split-complementary
#D0C851 #5199D0 #8851D0
monochromatic
#837D23 #B3AB30 #D0C851 #DDD781 #EAE6B1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D0C851#FFFFFF#000000##000000
##D0C8511.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)
#D8C143
Deuteranopia (green-blind)
#DBC758
Tritanopia (blue-blind)
#DEBCAF
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #d0c851;
/* rgb */ color: rgb(208, 200, 81);
/* oklch */ color: oklch(81.7% 0.139 105.5);
Tailwind
colors: {
  custom: {
    50: '#e1d887',
    500: '#d0c851',
    950: '#000000',
  },
}
SCSS
$custom: #d0c851;
$custom-light: #e1d887;
$custom-dark: #000000;
JSON
{
  "hex": "#d0c851",
  "rgb": {
    "r": 208,
    "g": 200,
    "b": 81
  },
  "hsl": {
    "h": 56.22,
    "s": 57.466,
    "l": 56.667
  },
  "oklch": {
    "l": 0.8168,
    "c": 0.13945,
    "h": 105.5
  },
  "luminance": 0.55313
}

Semantic roles & 50–950 ramp

primary
#D0C851
secondary
#3B408A
accent
#51E147
background
#FEFEFC
surface
#FCFBF3
border
#D5D4CD
text
#16140C
muted
#84837F

Preview Lab

Preview with #D0C851

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

Preview Lab → · Contrast checker → · Palette generator →

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