#D8CA85#D8CA85

#D8CA85 is a very light, moderate yellow. Relative luminance 0.585; OKLCH L 83.5% C 0.090 H 98.1°. Best body text is #000000 at 12.71:1 contrast (WCAG AA passes).

Color values

HEX#D8CA85
RGBrgb(216, 202, 133)
HSLhsl(50, 52%, 68%)
HSVhsv(50, 38%, 85%)
CMYKcmyk(0%, 6.5%, 38.4%, 15.3%)
CIE-LABlab(81.04, -4.97, 36.22)
CIE-LCHlch(81.04, 36.56, 97.82°)
OKLaboklab(83.48% -0.0127 0.089)
OKLCHoklch(83.48% 0.09 98.1)
XYZxyz(53.6741, 58.5350, 30.6568)
Luminance0.5853 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8CA85 #8593D8
analogous
#D8A085 #D8CA85 #BCD885
triadic
#D8CA85 #85D8CA #CA85D8
tetradic
#D8CA85 #85D8A0 #8593D8 #D885BC
square
#D8CA85 #85D8A0 #8593D8 #D885BC
split-complementary
#D8CA85 #85BCD8 #A085D8
monochromatic
#AC9837 #C9B657 #D8CA85 #E7DEB3 #F6F2E2

Accessibility & contrast

On white

1.65
#D8CA85 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.71
#D8CA85 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8CA85
12.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8CA85#FFFFFF#000000##000000
##D8CA851.001.6512.7112.71
#FFFFFF1.651.0021.0021.00
#00000012.7121.001.001.00
##00000012.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C680
Deuteranopia (green-blind)
#DBCC88
Tritanopia (blue-blind)
#E4C1B9
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #d8ca85;
/* rgb */ color: rgb(216, 202, 133);
/* oklch */ color: oklch(83.5% 0.090 98.1);
Tailwind
colors: {
  custom: {
    50: '#e5daa9',
    500: '#d8ca85',
    950: '#000000',
  },
}
SCSS
$custom: #d8ca85;
$custom-light: #e5daa9;
$custom-dark: #000000;
JSON
{
  "hex": "#d8ca85",
  "rgb": {
    "r": 216,
    "g": 202,
    "b": 133
  },
  "hsl": {
    "h": 49.88,
    "s": 51.553,
    "l": 68.431
  },
  "oklch": {
    "l": 0.8348,
    "c": 0.08991,
    "h": 98.1
  },
  "luminance": 0.58533
}

Semantic roles & 50–950 ramp

primary
#D8CA85
secondary
#5362AE
accent
#40BF27
background
#FEFEFC
surface
#FCFBF6
border
#D5D4D0
text
#161410
muted
#848380

Preview Lab

Preview with #D8CA85

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

Preview Lab → · Contrast checker → · Palette generator →

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