#D8CA5E#D8CA5E

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

Color values

HEX#D8CA5E
RGBrgb(216, 202, 94)
HSLhsl(53, 61%, 61%)
HSVhsv(53, 56%, 85%)
CMYKcmyk(0%, 6.5%, 56.5%, 15.3%)
CIE-LABlab(80.54, -8.61, 54.68)
CIE-LCHlch(80.54, 55.36, 98.95°)
OKLaboklab(82.93% -0.027 0.1271)
OKLCHoklch(82.93% 0.13 102)
XYZxyz(51.4616, 57.6500, 19.0043)
Luminance0.5765 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8CA5E #5E6CD8
analogous
#D88D5E #D8CA5E #A9D85E
triadic
#D8CA5E #5ED8CA #CA5ED8
tetradic
#D8CA5E #5ED88D #5E6CD8 #D85EA9
square
#D8CA5E #5ED88D #5E6CD8 #D85EA9
split-complementary
#D8CA5E #5EA9D8 #8D5ED8
monochromatic
#978A25 #C8B731 #D8CA5E #E4DA8F #F0EAC1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D8CA5E#FFFFFF#000000##000000
##D8CA5E1.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)
#DAC453
Deuteranopia (green-blind)
#DFCB63
Tritanopia (blue-blind)
#E7BEB2
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #d8ca5e;
/* rgb */ color: rgb(216, 202, 94);
/* oklch */ color: oklch(82.9% 0.130 102.0);
Tailwind
colors: {
  custom: {
    50: '#e7d98f',
    500: '#d8ca5e',
    950: '#000000',
  },
}
SCSS
$custom: #d8ca5e;
$custom-light: #e7d98f;
$custom-dark: #000000;
JSON
{
  "hex": "#d8ca5e",
  "rgb": {
    "r": 216,
    "g": 202,
    "b": 94
  },
  "hsl": {
    "h": 53.115,
    "s": 61,
    "l": 60.784
  },
  "oklch": {
    "l": 0.82931,
    "c": 0.12991,
    "h": 102
  },
  "luminance": 0.57648
}

Semantic roles & 50–950 ramp

primary
#D8CA5E
secondary
#3F499C
accent
#31C91D
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16140D
muted
#85837F

Preview Lab

Preview with #D8CA5E

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

Preview Lab → · Contrast checker → · Palette generator →

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