#D8CA6C#D8CA6C

#D8CA6C is a very light, moderate yellow. Relative luminance 0.579; OKLCH L 83.1% C 0.117 H 101.0°. Best body text is #000000 at 12.58:1 contrast (WCAG AA passes).

Color values

HEX#D8CA6C
RGBrgb(216, 202, 108)
HSLhsl(52, 58%, 64%)
HSVhsv(52, 50%, 85%)
CMYKcmyk(0%, 6.5%, 50%, 15.3%)
CIE-LABlab(80.70, -7.47, 48.27)
CIE-LCHlch(80.70, 48.85, 98.80°)
OKLaboklab(83.1% -0.0222 0.1146)
OKLCHoklch(83.1% 0.117 101)
XYZxyz(52.1477, 57.9245, 22.6181)
Luminance0.5792 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8CA6C #6C7AD8
analogous
#D8946C #D8CA6C #B0D86C
triadic
#D8CA6C #6CD8CA #CA6CD8
tetradic
#D8CA6C #6CD894 #6C7AD8 #D86CB0
square
#D8CA6C #6CD894 #6C7AD8 #D86CB0
split-complementary
#D8CA6C #6CB0D8 #946CD8
monochromatic
#9F902A #CBB93C #D8CA6C #E5DB9C #F2EDCD

Accessibility & contrast

On white

1.67
#D8CA6C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.58
#D8CA6C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8CA6C
12.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8CA6C#FFFFFF#000000##000000
##D8CA6C1.001.6712.5812.58
#FFFFFF1.671.0021.0021.00
#00000012.5821.001.001.00
##00000012.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C564
Deuteranopia (green-blind)
#DDCB70
Tritanopia (blue-blind)
#E6BFB4
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #d8ca6c;
/* rgb */ color: rgb(216, 202, 108);
/* oklch */ color: oklch(83.1% 0.117 101.0);
Tailwind
colors: {
  custom: {
    50: '#e6d998',
    500: '#d8ca6c',
    950: '#000000',
  },
}
SCSS
$custom: #d8ca6c;
$custom-light: #e6d998;
$custom-dark: #000000;
JSON
{
  "hex": "#d8ca6c",
  "rgb": {
    "r": 216,
    "g": 202,
    "b": 108
  },
  "hsl": {
    "h": 52.222,
    "s": 58.065,
    "l": 63.529
  },
  "oklch": {
    "l": 0.83102,
    "c": 0.11669,
    "h": 101
  },
  "luminance": 0.57923
}

Semantic roles & 50–950 ramp

primary
#D8CA6C
secondary
#4551A3
accent
#35C620
background
#FEFEFC
surface
#FDFBF5
border
#D5D4CF
text
#16140E
muted
#84837F

Preview Lab

Preview with #D8CA6C

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

Preview Lab → · Contrast checker → · Palette generator →

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