#D8CD95#D8CD95

#D8CD95 is a very light, moderate yellow. Relative luminance 0.604; OKLCH L 84.4% C 0.074 H 98.3°. Best body text is #000000 at 13.09:1 contrast (WCAG AA passes).

Color values

HEX#D8CD95
RGBrgb(216, 205, 149)
HSLhsl(50, 46%, 72%)
HSVhsv(50, 31%, 85%)
CMYKcmyk(0%, 5.1%, 31%, 15.3%)
CIE-LABlab(82.07, -4.62, 29.32)
CIE-LCHlch(82.07, 29.68, 98.96°)
OKLaboklab(84.39% -0.0108 0.0734)
OKLCHoklch(84.39% 0.074 98.3)
XYZxyz(55.5756, 60.4328, 37.1650)
Luminance0.6043 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8CD95 #95A0D8
analogous
#D8AC95 #D8CD95 #C2D895
triadic
#D8CD95 #95D8CD #CD95D8
tetradic
#D8CD95 #95D8AC #95A0D8 #D895C2
square
#D8CD95 #95D8AC #95A0D8 #D895C2
split-complementary
#D8CD95 #95C2D8 #AC95D8
monochromatic
#B19F41 #C8B868 #D8CD95 #E8E2C2 #F7F4E9

Accessibility & contrast

On white

1.60
#D8CD95 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.09
#D8CD95 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8CD95
13.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8CD95#FFFFFF#000000##000000
##D8CD951.001.6013.0913.09
#FFFFFF1.601.0021.0021.00
#00000013.0921.001.001.00
##00000013.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8CA91
Deuteranopia (green-blind)
#DBCE97
Tritanopia (blue-blind)
#E2C5BE
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #d8cd95;
/* rgb */ color: rgb(216, 205, 149);
/* oklch */ color: oklch(84.4% 0.074 98.3);
Tailwind
colors: {
  custom: {
    50: '#e5dcb4',
    500: '#d8cd95',
    950: '#000000',
  },
}
SCSS
$custom: #d8cd95;
$custom-light: #e5dcb4;
$custom-dark: #000000;
JSON
{
  "hex": "#d8cd95",
  "rgb": {
    "r": 216,
    "g": 205,
    "b": 149
  },
  "hsl": {
    "h": 50.149,
    "s": 46.207,
    "l": 71.569
  },
  "oklch": {
    "l": 0.84386,
    "c": 0.07417,
    "h": 98.3
  },
  "luminance": 0.60431
}

Semantic roles & 50–950 ramp

primary
#D8CD95
secondary
#626FAF
accent
#43B92C
background
#FEFEFD
surface
#FCFBF8
border
#D5D4D1
text
#161511
muted
#848481

Preview Lab

Preview with #D8CD95

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

Preview Lab → · Contrast checker → · Palette generator →

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