#D8CD98#D8CD98

#D8CD98 is a very light, moderate yellow. Relative luminance 0.605; OKLCH L 84.4% C 0.071 H 97.8°. Best body text is #000000 at 13.11:1 contrast (WCAG AA passes).

Color values

HEX#D8CD98
RGBrgb(216, 205, 152)
HSLhsl(50, 45%, 72%)
HSVhsv(50, 30%, 85%)
CMYKcmyk(0%, 5.1%, 29.6%, 15.3%)
CIE-LABlab(82.13, -4.24, 27.83)
CIE-LCHlch(82.13, 28.15, 98.67°)
OKLaboklab(84.44% -0.0095 0.0699)
OKLCHoklch(84.44% 0.071 97.8)
XYZxyz(55.8182, 60.5299, 38.4427)
Luminance0.6053 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8CD98 #98A3D8
analogous
#D8AD98 #D8CD98 #C3D898
triadic
#D8CD98 #98D8CD #CD98D8
tetradic
#D8CD98 #98D8AD #98A3D8 #D898C3
square
#D8CD98 #98D8AD #98A3D8 #D898C3
split-complementary
#D8CD98 #98C3D8 #AD98D8
monochromatic
#B29F43 #C7B76C #D8CD98 #E9E3C4 #F7F4E9

Accessibility & contrast

On white

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

On black

13.11
#D8CD98 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8CD98
13.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8CD98#FFFFFF#000000##000000
##D8CD981.001.6013.1113.11
#FFFFFF1.601.0021.0021.00
#00000013.1121.001.001.00
##00000013.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7CA94
Deuteranopia (green-blind)
#DBCE9A
Tritanopia (blue-blind)
#E2C5BF
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #d8cd98;
/* rgb */ color: rgb(216, 205, 152);
/* oklch */ color: oklch(84.4% 0.071 97.8);
Tailwind
colors: {
  custom: {
    50: '#e4dcb6',
    500: '#d8cd98',
    950: '#000000',
  },
}
SCSS
$custom: #d8cd98;
$custom-light: #e4dcb6;
$custom-dark: #000000;
JSON
{
  "hex": "#d8cd98",
  "rgb": {
    "r": 216,
    "g": 205,
    "b": 152
  },
  "hsl": {
    "h": 49.688,
    "s": 45.07,
    "l": 72.157
  },
  "oklch": {
    "l": 0.84444,
    "c": 0.07054,
    "h": 97.8
  },
  "luminance": 0.60529
}

Semantic roles & 50–950 ramp

primary
#D8CD98
secondary
#6572AF
accent
#45B82D
background
#FEFEFD
surface
#FCFBF8
border
#D5D4D1
text
#161511
muted
#848481

Preview Lab

Preview with #D8CD98

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

Preview Lab → · Contrast checker → · Palette generator →

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