#D8CA5D#D8CA5D

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

Color values

HEX#D8CA5D
RGBrgb(216, 202, 93)
HSLhsl(53, 61%, 61%)
HSVhsv(53, 57%, 85%)
CMYKcmyk(0%, 6.5%, 56.9%, 15.3%)
CIE-LABlab(80.53, -8.69, 55.13)
CIE-LCHlch(80.53, 55.81, 98.96°)
OKLaboklab(82.92% -0.0273 0.1279)
OKLCHoklch(82.92% 0.131 102)
XYZxyz(51.4170, 57.6322, 18.7695)
Luminance0.5763 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8CA5D #5D6BD8
analogous
#D88C5D #D8CA5D #A8D85D
triadic
#D8CA5D #5DD8CA #CA5DD8
tetradic
#D8CA5D #5DD88C #5D6BD8 #D85DA8
square
#D8CA5D #5DD88C #5D6BD8 #D85DA8
split-complementary
#D8CA5D #5DA8D8 #8C5DD8
monochromatic
#968924 #C8B630 #D8CA5D #E4DA8E #F0EAC0

Accessibility & contrast

On white

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

On black

12.53
#D8CA5D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8CA5D
12.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8CA5D#FFFFFF#000000##000000
##D8CA5D1.001.6812.5312.53
#FFFFFF1.681.0021.0021.00
#00000012.5321.001.001.00
##00000012.5321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d8ca5d;
/* rgb */ color: rgb(216, 202, 93);
/* oklch */ color: oklch(82.9% 0.131 102.0);
Tailwind
colors: {
  custom: {
    50: '#e7d98e',
    500: '#d8ca5d',
    950: '#000000',
  },
}
SCSS
$custom: #d8ca5d;
$custom-light: #e7d98e;
$custom-dark: #000000;
JSON
{
  "hex": "#d8ca5d",
  "rgb": {
    "r": 216,
    "g": 202,
    "b": 93
  },
  "hsl": {
    "h": 53.171,
    "s": 61.194,
    "l": 60.588
  },
  "oklch": {
    "l": 0.8292,
    "c": 0.1308,
    "h": 102
  },
  "luminance": 0.5763
}

Semantic roles & 50–950 ramp

primary
#D8CA5D
secondary
#3E499B
accent
#30C91D
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16140D
muted
#85837F

Preview Lab

Preview with #D8CA5D

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

Preview Lab → · Contrast checker → · Palette generator →

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