#D8CA5B#D8CA5B

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

Color values

HEX#D8CA5B
RGBrgb(216, 202, 91)
HSLhsl(53, 62%, 60%)
HSVhsv(53, 58%, 85%)
CMYKcmyk(0%, 6.5%, 57.9%, 15.3%)
CIE-LABlab(80.51, -8.84, 56.01)
CIE-LCHlch(80.51, 56.71, 98.96°)
OKLaboklab(82.9% -0.0279 0.1296)
OKLCHoklch(82.9% 0.133 102.2)
XYZxyz(51.3296, 57.5972, 18.3091)
Luminance0.5759 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8CA5B #5B69D8
analogous
#D88B5B #D8CA5B #A7D85B
triadic
#D8CA5B #5BD8CA #CA5BD8
tetradic
#D8CA5B #5BD88B #5B69D8 #D85BA7
square
#D8CA5B #5BD88B #5B69D8 #D85BA7
split-complementary
#D8CA5B #5BA7D8 #8B5BD8
monochromatic
#958823 #C7B62F #D8CA5B #E4DA8C #F0EABE

Accessibility & contrast

On white

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

On black

12.52
#D8CA5B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8CA5B
12.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8CA5B#FFFFFF#000000##000000
##D8CA5B1.001.6812.5212.52
#FFFFFF1.681.0021.0021.00
#00000012.5221.001.001.00
##00000012.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC44F
Deuteranopia (green-blind)
#DFCB61
Tritanopia (blue-blind)
#E7BDB2
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #d8ca5b;
/* rgb */ color: rgb(216, 202, 91);
/* oklch */ color: oklch(82.9% 0.133 102.2);
Tailwind
colors: {
  custom: {
    50: '#e7d98d',
    500: '#d8ca5b',
    950: '#000000',
  },
}
SCSS
$custom: #d8ca5b;
$custom-light: #e7d98d;
$custom-dark: #000000;
JSON
{
  "hex": "#d8ca5b",
  "rgb": {
    "r": 216,
    "g": 202,
    "b": 91
  },
  "hsl": {
    "h": 53.28,
    "s": 61.576,
    "l": 60.196
  },
  "oklch": {
    "l": 0.82898,
    "c": 0.13256,
    "h": 102.2
  },
  "luminance": 0.57595
}

Semantic roles & 50–950 ramp

primary
#D8CA5B
secondary
#3D489A
accent
#30C91C
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16140C
muted
#85837F

Preview Lab

Preview with #D8CA5B

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

Preview Lab → · Contrast checker → · Palette generator →

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