#D0C857#D0C857

#D0C857 is a light, vivid yellow. Relative luminance 0.554; OKLCH L 81.7% C 0.134 H 105.2°. Best body text is #000000 at 12.08:1 contrast (WCAG AA passes).

Color values

HEX#D0C857
RGBrgb(208, 200, 87)
HSLhsl(56, 56%, 58%)
HSVhsv(56, 58%, 82%)
CMYKcmyk(0%, 3.8%, 58.2%, 18.4%)
CIE-LABlab(79.28, -11.43, 56.24)
CIE-LCHlch(79.28, 57.38, 101.49°)
OKLaboklab(81.74% -0.0353 0.1297)
OKLCHoklch(81.74% 0.134 105.2)
XYZxyz(48.3886, 55.4082, 17.1609)
Luminance0.5541 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D0C857 #575FD0
analogous
#D08B57 #D0C857 #9BD057
triadic
#D0C857 #57D0C8 #C857D0
tetradic
#D0C857 #57D08B #575FD0 #D0579B
square
#D0C857 #57D08B #575FD0 #D0579B
split-complementary
#D0C857 #579BD0 #8B57D0
monochromatic
#878026 #B7AE33 #D0C857 #DDD887 #EBE7B7

Accessibility & contrast

On white

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

On black

12.08
#D0C857 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D0C857
12.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D0C857#FFFFFF#000000##000000
##D0C8571.001.7412.0812.08
#FFFFFF1.741.0021.0021.00
#00000012.0821.001.001.00
##00000012.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8C14B
Deuteranopia (green-blind)
#DBC75D
Tritanopia (blue-blind)
#DEBCAF
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #d0c857;
/* rgb */ color: rgb(208, 200, 87);
/* oklch */ color: oklch(81.7% 0.134 105.2);
Tailwind
colors: {
  custom: {
    50: '#e1d88a',
    500: '#d0c857',
    950: '#000000',
  },
}
SCSS
$custom: #d0c857;
$custom-light: #e1d88a;
$custom-dark: #000000;
JSON
{
  "hex": "#d0c857",
  "rgb": {
    "r": 208,
    "g": 200,
    "b": 87
  },
  "hsl": {
    "h": 56.033,
    "s": 56.279,
    "l": 57.843
  },
  "oklch": {
    "l": 0.8174,
    "c": 0.13446,
    "h": 105.2
  },
  "luminance": 0.55407
}

Semantic roles & 50–950 ramp

primary
#D0C857
secondary
#3E438E
accent
#52E048
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140C
muted
#84837F

Preview Lab

Preview with #D0C857

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

Preview Lab → · Contrast checker → · Palette generator →

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