#D8CC59#D8CC59

#D8CC59 is a very light, vivid yellow. Relative luminance 0.585; OKLCH L 83.3% C 0.136 H 103.4°. Best body text is #000000 at 12.70:1 contrast (WCAG AA passes).

Color values

HEX#D8CC59
RGBrgb(216, 204, 89)
HSLhsl(54, 62%, 60%)
HSVhsv(54, 59%, 85%)
CMYKcmyk(0%, 5.6%, 58.8%, 15.3%)
CIE-LABlab(81.02, -10.00, 57.47)
CIE-LCHlch(81.02, 58.34, 99.87°)
OKLaboklab(83.29% -0.0315 0.1325)
OKLCHoklch(83.29% 0.136 103.4)
XYZxyz(51.7167, 58.5078, 18.0182)
Luminance0.5851 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8CC59 #5965D8
analogous
#D88D59 #D8CC59 #A4D859
triadic
#D8CC59 #59D8CC #CC59D8
tetradic
#D8CC59 #59D88D #5965D8 #D859A4
square
#D8CC59 #59D88D #5965D8 #D859A4
split-complementary
#D8CC59 #59A4D8 #8D59D8
monochromatic
#948923 #C5B72E #D8CC59 #E4DB8B #EFEABC

Accessibility & contrast

On white

1.65
#D8CC59 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.70
#D8CC59 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8CC59
12.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8CC59#FFFFFF#000000##000000
##D8CC591.001.6512.7012.70
#FFFFFF1.651.0021.0021.00
#00000012.7021.001.001.00
##00000012.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC64D
Deuteranopia (green-blind)
#E0CC5F
Tritanopia (blue-blind)
#E7BFB3
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #d8cc59;
/* rgb */ color: rgb(216, 204, 89);
/* oklch */ color: oklch(83.3% 0.136 103.4);
Tailwind
colors: {
  custom: {
    50: '#e7db8c',
    500: '#d8cc59',
    950: '#000000',
  },
}
SCSS
$custom: #d8cc59;
$custom-light: #e7db8c;
$custom-dark: #000000;
JSON
{
  "hex": "#d8cc59",
  "rgb": {
    "r": 216,
    "g": 204,
    "b": 89
  },
  "hsl": {
    "h": 54.331,
    "s": 61.951,
    "l": 59.804
  },
  "oklch": {
    "l": 0.83294,
    "c": 0.13614,
    "h": 103.4
  },
  "luminance": 0.58506
}

Semantic roles & 50–950 ramp

primary
#D8CC59
secondary
#3C4599
accent
#52E543
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16140C
muted
#85837F

Preview Lab

Preview with #D8CC59

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

Preview Lab → · Contrast checker → · Palette generator →

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