#D9C855#D9C855

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

Color values

HEX#D9C855
RGBrgb(217, 200, 85)
HSLhsl(52, 63%, 59%)
HSVhsv(52, 61%, 85%)
CMYKcmyk(0%, 7.8%, 60.8%, 14.9%)
CIE-LABlab(80.02, -7.82, 58.16)
CIE-LCHlch(80.02, 58.68, 97.66°)
OKLaboklab(82.51% -0.0258 0.1334)
OKLCHoklch(82.51% 0.136 100.9)
XYZxyz(50.9112, 56.7182, 16.8585)
Luminance0.5672 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9C855 #5566D9
analogous
#D98655 #D9C855 #A8D955
triadic
#D9C855 #55D9C8 #C855D9
tetradic
#D9C855 #55D986 #5566D9 #D955A8
square
#D9C855 #55D986 #5566D9 #D955A8
split-complementary
#D9C855 #55A8D9 #8655D9
monochromatic
#938421 #C5B12C #D9C855 #E4D887 #EFE8B9

Accessibility & contrast

On white

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

On black

12.34
#D9C855 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9C855
12.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9C855#FFFFFF#000000##000000
##D9C8551.001.7012.3412.34
#FFFFFF1.701.0021.0021.00
#00000012.3421.001.001.00
##00000012.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C348
Deuteranopia (green-blind)
#DEC95B
Tritanopia (blue-blind)
#E8BBAF
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #d9c855;
/* rgb */ color: rgb(217, 200, 85);
/* oklch */ color: oklch(82.5% 0.136 100.9);
Tailwind
colors: {
  custom: {
    50: '#e8d889',
    500: '#d9c855',
    950: '#000000',
  },
}
SCSS
$custom: #d9c855;
$custom-light: #e8d889;
$custom-dark: #000000;
JSON
{
  "hex": "#d9c855",
  "rgb": {
    "r": 217,
    "g": 200,
    "b": 85
  },
  "hsl": {
    "h": 52.273,
    "s": 63.462,
    "l": 59.216
  },
  "oklch": {
    "l": 0.82509,
    "c": 0.13584,
    "h": 100.9
  },
  "luminance": 0.56716
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D9C855

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

Preview Lab → · Contrast checker → · Palette generator →

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