#D8CA59#D8CA59

#D8CA59 is a very light, vivid yellow. Relative luminance 0.576; OKLCH L 82.9% C 0.134 H 102.3°. Best body text is #000000 at 12.51:1 contrast (WCAG AA passes).

Color values

HEX#D8CA59
RGBrgb(216, 202, 89)
HSLhsl(53, 62%, 60%)
HSVhsv(53, 59%, 85%)
CMYKcmyk(0%, 6.5%, 58.8%, 15.3%)
CIE-LABlab(80.50, -8.98, 56.89)
CIE-LCHlch(80.50, 57.59, 98.97°)
OKLaboklab(82.88% -0.0286 0.1312)
OKLCHoklch(82.88% 0.134 102.3)
XYZxyz(51.2444, 57.5632, 17.8608)
Luminance0.5756 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8CA59 #5967D8
analogous
#D88B59 #D8CA59 #A6D859
triadic
#D8CA59 #59D8CA #CA59D8
tetradic
#D8CA59 #59D88B #5967D8 #D859A6
square
#D8CA59 #59D88B #5967D8 #D859A6
split-complementary
#D8CA59 #59A6D8 #8B59D8
monochromatic
#948723 #C5B52E #D8CA59 #E4DA8B #EFEABC

Accessibility & contrast

On white

1.68
#D8CA59 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.51
#D8CA59 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8CA59
12.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8CA59#FFFFFF#000000##000000
##D8CA591.001.6812.5112.51
#FFFFFF1.681.0021.0021.00
#00000012.5121.001.001.00
##00000012.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC44D
Deuteranopia (green-blind)
#DFCB5F
Tritanopia (blue-blind)
#E7BDB1
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #d8ca59;
/* rgb */ color: rgb(216, 202, 89);
/* oklch */ color: oklch(82.9% 0.134 102.3);
Tailwind
colors: {
  custom: {
    50: '#e7d98c',
    500: '#d8ca59',
    950: '#000000',
  },
}
SCSS
$custom: #d8ca59;
$custom-light: #e7d98c;
$custom-dark: #000000;
JSON
{
  "hex": "#d8ca59",
  "rgb": {
    "r": 216,
    "g": 202,
    "b": 89
  },
  "hsl": {
    "h": 53.386,
    "s": 61.951,
    "l": 59.804
  },
  "oklch": {
    "l": 0.82877,
    "c": 0.13428,
    "h": 102.3
  },
  "luminance": 0.57561
}

Semantic roles & 50–950 ramp

primary
#D8CA59
secondary
#3C4799
accent
#55E543
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16140C
muted
#85837F

Preview Lab

Preview with #D8CA59

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

Preview Lab → · Contrast checker → · Palette generator →

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