#D5CD98#D5CD98

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

Color values

HEX#D5CD98
RGBrgb(213, 205, 152)
HSLhsl(52, 42%, 72%)
HSVhsv(52, 29%, 84%)
CMYKcmyk(0%, 3.8%, 28.6%, 16.5%)
CIE-LABlab(81.88, -5.39, 27.45)
CIE-LCHlch(81.88, 27.98, 101.11°)
OKLaboklab(84.19% -0.0128 0.069)
OKLCHoklch(84.19% 0.07 100.5)
XYZxyz(54.9397, 60.0769, 38.4015)
Luminance0.6008 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5CD98 #98A0D5
analogous
#D5AF98 #D5CD98 #BFD598
triadic
#D5CD98 #98D5CD #CD98D5
tetradic
#D5CD98 #98D5AF #98A0D5 #D598BF
square
#D5CD98 #98D5AF #98A0D5 #D598BF
split-complementary
#D5CD98 #98BFD5 #AF98D5
monochromatic
#AC9F46 #C3B86D #D5CD98 #E7E2C3 #F6F4E9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D5CD98#FFFFFF#000000##000000
##D5CD981.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)
#D7CA95
Deuteranopia (green-blind)
#DACD9A
Tritanopia (blue-blind)
#DEC6BF
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #d5cd98;
/* rgb */ color: rgb(213, 205, 152);
/* oklch */ color: oklch(84.2% 0.070 100.5);
Tailwind
colors: {
  custom: {
    50: '#e2dcb6',
    500: '#d5cd98',
    950: '#000000',
  },
}
SCSS
$custom: #d5cd98;
$custom-light: #e2dcb6;
$custom-dark: #000000;
JSON
{
  "hex": "#d5cd98",
  "rgb": {
    "r": 213,
    "g": 205,
    "b": 152
  },
  "hsl": {
    "h": 52.131,
    "s": 42.069,
    "l": 71.569
  },
  "oklch": {
    "l": 0.84191,
    "c": 0.07019,
    "h": 100.5
  },
  "luminance": 0.60076
}

Semantic roles & 50–950 ramp

primary
#D5CD98
secondary
#666FAB
accent
#42B530
background
#FEFEFD
surface
#FCFBF8
border
#D5D4D1
text
#151511
muted
#848481

Preview Lab

Preview with #D5CD98

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

Preview Lab → · Contrast checker → · Palette generator →

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