#D8CA5C#D8CA5C

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

Color values

HEX#D8CA5C
RGBrgb(216, 202, 92)
HSLhsl(53, 61%, 60%)
HSVhsv(53, 57%, 85%)
CMYKcmyk(0%, 6.5%, 57.4%, 15.3%)
CIE-LABlab(80.52, -8.76, 55.57)
CIE-LCHlch(80.52, 56.26, 98.96°)
OKLaboklab(82.91% -0.0276 0.1288)
OKLCHoklch(82.91% 0.132 102.1)
XYZxyz(51.3730, 57.6146, 18.5378)
Luminance0.5761 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8CA5C #5C6AD8
analogous
#D88C5C #D8CA5C #A8D85C
triadic
#D8CA5C #5CD8CA #CA5CD8
tetradic
#D8CA5C #5CD88C #5C6AD8 #D85CA8
square
#D8CA5C #5CD88C #5C6AD8 #D85CA8
split-complementary
#D8CA5C #5CA8D8 #8C5CD8
monochromatic
#968924 #C7B630 #D8CA5C #E4DA8D #F0EABF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D8CA5C#FFFFFF#000000##000000
##D8CA5C1.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)
#DAC451
Deuteranopia (green-blind)
#DFCB62
Tritanopia (blue-blind)
#E7BDB2
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #d8ca5c;
/* rgb */ color: rgb(216, 202, 92);
/* oklch */ color: oklch(82.9% 0.132 102.1);
Tailwind
colors: {
  custom: {
    50: '#e7d98e',
    500: '#d8ca5c',
    950: '#000000',
  },
}
SCSS
$custom: #d8ca5c;
$custom-light: #e7d98e;
$custom-dark: #000000;
JSON
{
  "hex": "#d8ca5c",
  "rgb": {
    "r": 216,
    "g": 202,
    "b": 92
  },
  "hsl": {
    "h": 53.226,
    "s": 61.386,
    "l": 60.392
  },
  "oklch": {
    "l": 0.82909,
    "c": 0.13169,
    "h": 102.1
  },
  "luminance": 0.57613
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D8CA5C

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

Preview Lab → · Contrast checker → · Palette generator →

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