#D9C857#D9C857

#D9C857 is a very light, vivid yellow. Relative luminance 0.567; OKLCH L 82.5% C 0.134 H 100.8°. Best body text is #000000 at 12.35:1 contrast (WCAG AA passes).

Color values

HEX#D9C857
RGBrgb(217, 200, 87)
HSLhsl(52, 63%, 60%)
HSVhsv(52, 60%, 85%)
CMYKcmyk(0%, 7.8%, 59.9%, 14.9%)
CIE-LABlab(80.04, -7.68, 57.30)
CIE-LCHlch(80.04, 57.81, 97.64°)
OKLaboklab(82.53% -0.0252 0.1318)
OKLCHoklch(82.53% 0.134 100.8)
XYZxyz(50.9918, 56.7504, 17.2829)
Luminance0.5675 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9C857 #5768D9
analogous
#D98757 #D9C857 #A9D957
triadic
#D9C857 #57D9C8 #C857D9
tetradic
#D9C857 #57D987 #5768D9 #D957A9
square
#D9C857 #57D987 #5768D9 #D957A9
split-complementary
#D9C857 #57A9D9 #8757D9
monochromatic
#948521 #C6B22D #D9C857 #E4D889 #F0E9BB

Accessibility & contrast

On white

1.70
#D9C857 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.35
#D9C857 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9C857
12.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9C857#FFFFFF#000000##000000
##D9C8571.001.7012.3512.35
#FFFFFF1.701.0021.0021.00
#00000012.3521.001.001.00
##00000012.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C34B
Deuteranopia (green-blind)
#DEC95D
Tritanopia (blue-blind)
#E8BBB0
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #d9c857;
/* rgb */ color: rgb(217, 200, 87);
/* oklch */ color: oklch(82.5% 0.134 100.8);
Tailwind
colors: {
  custom: {
    50: '#e8d88b',
    500: '#d9c857',
    950: '#000000',
  },
}
SCSS
$custom: #d9c857;
$custom-light: #e8d88b;
$custom-dark: #000000;
JSON
{
  "hex": "#d9c857",
  "rgb": {
    "r": 217,
    "g": 200,
    "b": 87
  },
  "hsl": {
    "h": 52.154,
    "s": 63.107,
    "l": 59.608
  },
  "oklch": {
    "l": 0.82529,
    "c": 0.13417,
    "h": 100.8
  },
  "luminance": 0.56748
}

Semantic roles & 50–950 ramp

primary
#D9C857
secondary
#3B4799
accent
#57E642
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16140C
muted
#85837F

Preview Lab

Preview with #D9C857

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

Preview Lab → · Contrast checker → · Palette generator →

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