#D5CC97#D5CC97

#D5CC97 is a very light, moderate yellow. Relative luminance 0.596; OKLCH L 84.0% C 0.070 H 99.6°. Best body text is #000000 at 12.91:1 contrast (WCAG AA passes).

Color values

HEX#D5CC97
RGBrgb(213, 204, 151)
HSLhsl(51, 42%, 71%)
HSVhsv(51, 29%, 84%)
CMYKcmyk(0%, 4.2%, 29.1%, 16.5%)
CIE-LABlab(81.60, -5.01, 27.60)
CIE-LCHlch(81.60, 28.05, 100.28°)
OKLaboklab(83.97% -0.0117 0.0693)
OKLCHoklch(83.97% 0.07 99.6)
XYZxyz(54.6197, 59.5674, 37.8926)
Luminance0.5957 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5CC97 #97A0D5
analogous
#D5AD97 #D5CC97 #BFD597
triadic
#D5CC97 #97D5CC #CC97D5
tetradic
#D5CC97 #97D5AD #97A0D5 #D597BF
square
#D5CC97 #97D5AD #97A0D5 #D597BF
split-complementary
#D5CC97 #97BFD5 #AD97D5
monochromatic
#AC9D46 #C3B76B #D5CC97 #E7E1C3 #F6F4E9

Accessibility & contrast

On white

1.63
#D5CC97 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.91
#D5CC97 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5CC97
12.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5CC97#FFFFFF#000000##000000
##D5CC971.001.6312.9112.91
#FFFFFF1.631.0021.0021.00
#00000012.9121.001.001.00
##00000012.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6C993
Deuteranopia (green-blind)
#D9CC99
Tritanopia (blue-blind)
#DEC5BE
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #d5cc97;
/* rgb */ color: rgb(213, 204, 151);
/* oklch */ color: oklch(84.0% 0.070 99.6);
Tailwind
colors: {
  custom: {
    50: '#e2dbb6',
    500: '#d5cc97',
    950: '#000000',
  },
}
SCSS
$custom: #d5cc97;
$custom-light: #e2dbb6;
$custom-dark: #000000;
JSON
{
  "hex": "#d5cc97",
  "rgb": {
    "r": 213,
    "g": 204,
    "b": 151
  },
  "hsl": {
    "h": 51.29,
    "s": 42.466,
    "l": 71.373
  },
  "oklch": {
    "l": 0.83966,
    "c": 0.07033,
    "h": 99.6
  },
  "luminance": 0.59566
}

Semantic roles & 50–950 ramp

primary
#D5CC97
secondary
#656FAB
accent
#43B630
background
#FEFEFD
surface
#FCFBF8
border
#D5D4D1
text
#151511
muted
#848481

Preview Lab

Preview with #D5CC97

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

Preview Lab → · Contrast checker → · Palette generator →

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