#D5CD97#D5CD97

#D5CD97 is a very light, moderate yellow. Relative luminance 0.600; OKLCH L 84.2% C 0.071 H 100.7°. Best body text is #000000 at 13.01:1 contrast (WCAG AA passes).

Color values

HEX#D5CD97
RGBrgb(213, 205, 151)
HSLhsl(52, 42%, 71%)
HSVhsv(52, 29%, 84%)
CMYKcmyk(0%, 3.8%, 29.1%, 16.5%)
CIE-LABlab(81.86, -5.52, 27.95)
CIE-LCHlch(81.86, 28.49, 101.18°)
OKLaboklab(84.17% -0.0132 0.0702)
OKLCHoklch(84.17% 0.071 100.7)
XYZxyz(54.8582, 60.0443, 37.9720)
Luminance0.6004 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5CD97 #979FD5
analogous
#D5AE97 #D5CD97 #BED597
triadic
#D5CD97 #97D5CD #CD97D5
tetradic
#D5CD97 #97D5AE #979FD5 #D597BE
square
#D5CD97 #97D5AE #979FD5 #D597BE
split-complementary
#D5CD97 #97BED5 #AE97D5
monochromatic
#AC9F46 #C3B86B #D5CD97 #E7E2C3 #F6F5E9

Accessibility & contrast

On white

1.61
#D5CD97 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

13.01
#D5CD97 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5CD97
13.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5CD97#FFFFFF#000000##000000
##D5CD971.001.6113.0113.01
#FFFFFF1.611.0021.0021.00
#00000013.0121.001.001.00
##00000013.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7C993
Deuteranopia (green-blind)
#DACD99
Tritanopia (blue-blind)
#DEC6BF
Achromatopsia (no color)
#CBCBCB

Design tokens & code

CSS
--color: #d5cd97;
/* rgb */ color: rgb(213, 205, 151);
/* oklch */ color: oklch(84.2% 0.071 100.7);
Tailwind
colors: {
  custom: {
    50: '#e2dcb6',
    500: '#d5cd97',
    950: '#000000',
  },
}
SCSS
$custom: #d5cd97;
$custom-light: #e2dcb6;
$custom-dark: #000000;
JSON
{
  "hex": "#d5cd97",
  "rgb": {
    "r": 213,
    "g": 205,
    "b": 151
  },
  "hsl": {
    "h": 52.258,
    "s": 42.466,
    "l": 71.373
  },
  "oklch": {
    "l": 0.84171,
    "c": 0.07141,
    "h": 100.7
  },
  "luminance": 0.60043
}

Semantic roles & 50–950 ramp

primary
#D5CD97
secondary
#656EAB
accent
#41B630
background
#FEFEFD
surface
#FCFBF8
border
#D5D4D1
text
#151511
muted
#848481

Preview Lab

Preview with #D5CD97

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

Preview Lab → · Contrast checker → · Palette generator →

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