#D5CD99#D5CD99

#D5CD99 is a very light, moderate yellow. Relative luminance 0.601; OKLCH L 84.2% C 0.069 H 100.4°. Best body text is #000000 at 13.02:1 contrast (WCAG AA passes).

Color values

HEX#D5CD99
RGBrgb(213, 205, 153)
HSLhsl(52, 42%, 72%)
HSVhsv(52, 28%, 84%)
CMYKcmyk(0%, 3.8%, 28.2%, 16.5%)
CIE-LABlab(81.90, -5.26, 26.95)
CIE-LCHlch(81.90, 27.46, 101.05°)
OKLaboklab(84.21% -0.0124 0.0678)
OKLCHoklch(84.21% 0.069 100.4)
XYZxyz(55.0220, 60.1098, 38.8347)
Luminance0.6011 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5CD99 #99A1D5
analogous
#D5AF99 #D5CD99 #BFD599
triadic
#D5CD99 #99D5CD #CD99D5
tetradic
#D5CD99 #99D5AF #99A1D5 #D599BF
square
#D5CD99 #99D5AF #99A1D5 #D599BF
split-complementary
#D5CD99 #99BFD5 #AF99D5
monochromatic
#AD9F47 #C3B86E #D5CD99 #E7E2C4 #F6F4E9

Accessibility & contrast

On white

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

On black

13.02
#D5CD99 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5CD99
13.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5CD99#FFFFFF#000000##000000
##D5CD991.001.6113.0213.02
#FFFFFF1.611.0021.0021.00
#00000013.0221.001.001.00
##00000013.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7CA96
Deuteranopia (green-blind)
#D9CD9B
Tritanopia (blue-blind)
#DEC6BF
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #d5cd99;
/* rgb */ color: rgb(213, 205, 153);
/* oklch */ color: oklch(84.2% 0.069 100.4);
Tailwind
colors: {
  custom: {
    50: '#e2dcb7',
    500: '#d5cd99',
    950: '#000000',
  },
}
SCSS
$custom: #d5cd99;
$custom-light: #e2dcb7;
$custom-dark: #000000;
JSON
{
  "hex": "#d5cd99",
  "rgb": {
    "r": 213,
    "g": 205,
    "b": 153
  },
  "hsl": {
    "h": 52,
    "s": 41.667,
    "l": 71.765
  },
  "oklch": {
    "l": 0.84211,
    "c": 0.06895,
    "h": 100.4
  },
  "luminance": 0.60109
}

Semantic roles & 50–950 ramp

primary
#D5CD99
secondary
#6770AB
accent
#42B531
background
#FEFEFD
surface
#FCFBF8
border
#D5D4D1
text
#151511
muted
#848481

Preview Lab

Preview with #D5CD99

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

Preview Lab → · Contrast checker → · Palette generator →

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