#D9CD95#D9CD95

#D9CD95 is a very light, moderate yellow. Relative luminance 0.606; OKLCH L 84.5% C 0.074 H 97.5°. Best body text is #000000 at 13.12:1 contrast (WCAG AA passes).

Color values

HEX#D9CD95
RGBrgb(217, 205, 149)
HSLhsl(49, 47%, 72%)
HSVhsv(49, 31%, 85%)
CMYKcmyk(0%, 5.5%, 31.3%, 14.9%)
CIE-LABlab(82.16, -4.24, 29.44)
CIE-LCHlch(82.16, 29.75, 98.19°)
OKLaboklab(84.47% -0.0097 0.0737)
OKLCHoklch(84.47% 0.074 97.5)
XYZxyz(55.8720, 60.5857, 37.1789)
Luminance0.6058 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9CD95 #95A1D9
analogous
#D9AB95 #D9CD95 #C3D995
triadic
#D9CD95 #95D9CD #CD95D9
tetradic
#D9CD95 #95D9AB #95A1D9 #D995C3
square
#D9CD95 #95D9AB #95A1D9 #D995C3
split-complementary
#D9CD95 #95C3D9 #AB95D9
monochromatic
#B39F40 #C9B868 #D9CD95 #E9E2C2 #F7F4E8

Accessibility & contrast

On white

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

On black

13.12
#D9CD95 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9CD95
13.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9CD95#FFFFFF#000000##000000
##D9CD951.001.6013.1213.12
#FFFFFF1.601.0021.0021.00
#00000013.1221.001.001.00
##00000013.1221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d9cd95;
/* rgb */ color: rgb(217, 205, 149);
/* oklch */ color: oklch(84.5% 0.074 97.5);
Tailwind
colors: {
  custom: {
    50: '#e5dcb4',
    500: '#d9cd95',
    950: '#000000',
  },
}
SCSS
$custom: #d9cd95;
$custom-light: #e5dcb4;
$custom-dark: #000000;
JSON
{
  "hex": "#d9cd95",
  "rgb": {
    "r": 217,
    "g": 205,
    "b": 149
  },
  "hsl": {
    "h": 49.412,
    "s": 47.222,
    "l": 71.765
  },
  "oklch": {
    "l": 0.84471,
    "c": 0.0743,
    "h": 97.5
  },
  "luminance": 0.60584
}

Semantic roles & 50–950 ramp

primary
#D9CD95
secondary
#6270B0
accent
#44BA2B
background
#FEFEFD
surface
#FCFBF8
border
#D5D4D1
text
#161511
muted
#848481

Preview Lab

Preview with #D9CD95

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

Preview Lab → · Contrast checker → · Palette generator →

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