#D8CB59#D8CB59

#D8CB59 is a very light, vivid yellow. Relative luminance 0.580; OKLCH L 83.1% C 0.135 H 102.8°. Best body text is #000000 at 12.61:1 contrast (WCAG AA passes).

Color values

HEX#D8CB59
RGBrgb(216, 203, 89)
HSLhsl(54, 62%, 60%)
HSVhsv(54, 59%, 85%)
CMYKcmyk(0%, 6%, 58.8%, 15.3%)
CIE-LABlab(80.76, -9.49, 57.18)
CIE-LCHlch(80.76, 57.96, 99.42°)
OKLaboklab(83.09% -0.03 0.1318)
OKLCHoklch(83.09% 0.135 102.8)
XYZxyz(51.4798, 58.0340, 17.9392)
Luminance0.5803 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8CB59 #5966D8
analogous
#D88B59 #D8CB59 #A6D859
triadic
#D8CB59 #59D8CB #CB59D8
tetradic
#D8CB59 #59D88B #5966D8 #D859A6
square
#D8CB59 #59D88B #5966D8 #D859A6
split-complementary
#D8CB59 #59A6D8 #8B59D8
monochromatic
#948823 #C5B62E #D8CB59 #E4DB8B #EFEABC

Accessibility & contrast

On white

1.67
#D8CB59 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.61
#D8CB59 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8CB59
12.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8CB59#FFFFFF#000000##000000
##D8CB591.001.6712.6112.61
#FFFFFF1.671.0021.0021.00
#00000012.6121.001.001.00
##00000012.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC54D
Deuteranopia (green-blind)
#E0CB5F
Tritanopia (blue-blind)
#E7BEB2
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #d8cb59;
/* rgb */ color: rgb(216, 203, 89);
/* oklch */ color: oklch(83.1% 0.135 102.8);
Tailwind
colors: {
  custom: {
    50: '#e7da8c',
    500: '#d8cb59',
    950: '#000000',
  },
}
SCSS
$custom: #d8cb59;
$custom-light: #e7da8c;
$custom-dark: #000000;
JSON
{
  "hex": "#d8cb59",
  "rgb": {
    "r": 216,
    "g": 203,
    "b": 89
  },
  "hsl": {
    "h": 53.858,
    "s": 61.951,
    "l": 59.804
  },
  "oklch": {
    "l": 0.83085,
    "c": 0.13521,
    "h": 102.8
  },
  "luminance": 0.58032
}

Semantic roles & 50–950 ramp

primary
#D8CB59
secondary
#3C4699
accent
#53E543
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16140C
muted
#85837F

Preview Lab

Preview with #D8CB59

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

Preview Lab → · Contrast checker → · Palette generator →

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