#D9C856#D9C856

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

Color values

HEX#D9C856
RGBrgb(217, 200, 86)
HSLhsl(52, 63%, 59%)
HSVhsv(52, 60%, 85%)
CMYKcmyk(0%, 7.8%, 60.4%, 14.9%)
CIE-LABlab(80.03, -7.75, 57.73)
CIE-LCHlch(80.03, 58.25, 97.65°)
OKLaboklab(82.52% -0.0255 0.1326)
OKLCHoklch(82.52% 0.135 100.9)
XYZxyz(50.9512, 56.7342, 17.0693)
Luminance0.5673 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9C856 #5667D9
analogous
#D98756 #D9C856 #A8D956
triadic
#D9C856 #56D9C8 #C856D9
tetradic
#D9C856 #56D987 #5667D9 #D956A8
square
#D9C856 #56D987 #5667D9 #D956A8
split-complementary
#D9C856 #56A8D9 #8756D9
monochromatic
#938521 #C5B22C #D9C856 #E4D888 #EFE9BA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D9C856#FFFFFF#000000##000000
##D9C8561.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)
#D9C349
Deuteranopia (green-blind)
#DEC95C
Tritanopia (blue-blind)
#E8BBAF
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #d9c856;
/* rgb */ color: rgb(217, 200, 86);
/* oklch */ color: oklch(82.5% 0.135 100.9);
Tailwind
colors: {
  custom: {
    50: '#e8d88a',
    500: '#d9c856',
    950: '#000000',
  },
}
SCSS
$custom: #d9c856;
$custom-light: #e8d88a;
$custom-dark: #000000;
JSON
{
  "hex": "#d9c856",
  "rgb": {
    "r": 217,
    "g": 200,
    "b": 86
  },
  "hsl": {
    "h": 52.214,
    "s": 63.285,
    "l": 59.412
  },
  "oklch": {
    "l": 0.82519,
    "c": 0.135,
    "h": 100.9
  },
  "luminance": 0.56732
}

Semantic roles & 50–950 ramp

primary
#D9C856
secondary
#3B4798
accent
#57E641
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16140C
muted
#85837F

Preview Lab

Preview with #D9C856

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

Preview Lab → · Contrast checker → · Palette generator →

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