#D8CD59#D8CD59

#D8CD59 is a very light, vivid yellow. Relative luminance 0.590; OKLCH L 83.5% C 0.137 H 103.9°. Best body text is #000000 at 12.80:1 contrast (WCAG AA passes).

Color values

HEX#D8CD59
RGBrgb(216, 205, 89)
HSLhsl(55, 62%, 60%)
HSVhsv(55, 59%, 85%)
CMYKcmyk(0%, 5.1%, 58.8%, 15.3%)
CIE-LABlab(81.28, -10.50, 57.77)
CIE-LCHlch(81.28, 58.71, 100.30°)
OKLaboklab(83.5% -0.0329 0.1331)
OKLCHoklch(83.5% 0.137 103.9)
XYZxyz(51.9552, 58.9847, 18.0977)
Luminance0.5898 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8CD59 #5964D8
analogous
#D88D59 #D8CD59 #A4D859
triadic
#D8CD59 #59D8CD #CD59D8
tetradic
#D8CD59 #59D88D #5964D8 #D859A4
square
#D8CD59 #59D88D #5964D8 #D859A4
split-complementary
#D8CD59 #59A4D8 #8D59D8
monochromatic
#948A23 #C5B82E #D8CD59 #E4DC8B #EFEBBC

Accessibility & contrast

On white

1.64
#D8CD59 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.80
#D8CD59 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8CD59
12.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8CD59#FFFFFF#000000##000000
##D8CD591.001.6412.8012.80
#FFFFFF1.641.0021.0021.00
#00000012.8021.001.001.00
##00000012.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#DDC74C
Deuteranopia (green-blind)
#E1CD5F
Tritanopia (blue-blind)
#E7C0B4
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #d8cd59;
/* rgb */ color: rgb(216, 205, 89);
/* oklch */ color: oklch(83.5% 0.137 103.9);
Tailwind
colors: {
  custom: {
    50: '#e7dc8c',
    500: '#d8cd59',
    950: '#000000',
  },
}
SCSS
$custom: #d8cd59;
$custom-light: #e7dc8c;
$custom-dark: #000000;
JSON
{
  "hex": "#d8cd59",
  "rgb": {
    "r": 216,
    "g": 205,
    "b": 89
  },
  "hsl": {
    "h": 54.803,
    "s": 61.951,
    "l": 59.804
  },
  "oklch": {
    "l": 0.83503,
    "c": 0.13708,
    "h": 103.9
  },
  "luminance": 0.58983
}

Semantic roles & 50–950 ramp

primary
#D8CD59
secondary
#3C4499
accent
#51E543
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16150C
muted
#85847F

Preview Lab

Preview with #D8CD59

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

Preview Lab → · Contrast checker → · Palette generator →

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