#D5CC98#D5CC98

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

Color values

HEX#D5CC98
RGBrgb(213, 204, 152)
HSLhsl(51, 42%, 72%)
HSVhsv(51, 29%, 84%)
CMYKcmyk(0%, 4.2%, 28.6%, 16.5%)
CIE-LABlab(81.62, -4.88, 27.10)
CIE-LCHlch(81.62, 27.54, 100.20°)
OKLaboklab(83.99% -0.0113 0.0682)
OKLCHoklch(83.99% 0.069 99.4)
XYZxyz(54.7013, 59.6000, 38.3221)
Luminance0.5960 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5CC98 #98A1D5
analogous
#D5AE98 #D5CC98 #C0D598
triadic
#D5CC98 #98D5CC #CC98D5
tetradic
#D5CC98 #98D5AE #98A1D5 #D598C0
square
#D5CC98 #98D5AE #98A1D5 #D598C0
split-complementary
#D5CC98 #98C0D5 #AE98D5
monochromatic
#AC9D46 #C3B66D #D5CC98 #E7E2C3 #F6F4E9

Accessibility & contrast

On white

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

On black

12.92
#D5CC98 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5CC98
12.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5CC98#FFFFFF#000000##000000
##D5CC981.001.6312.9212.92
#FFFFFF1.631.0021.0021.00
#00000012.9221.001.001.00
##00000012.9221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d5cc98;
/* rgb */ color: rgb(213, 204, 152);
/* oklch */ color: oklch(84.0% 0.069 99.4);
Tailwind
colors: {
  custom: {
    50: '#e2dbb6',
    500: '#d5cc98',
    950: '#000000',
  },
}
SCSS
$custom: #d5cc98;
$custom-light: #e2dbb6;
$custom-dark: #000000;
JSON
{
  "hex": "#d5cc98",
  "rgb": {
    "r": 213,
    "g": 204,
    "b": 152
  },
  "hsl": {
    "h": 51.148,
    "s": 42.069,
    "l": 71.569
  },
  "oklch": {
    "l": 0.83986,
    "c": 0.06911,
    "h": 99.4
  },
  "luminance": 0.59599
}

Semantic roles & 50–950 ramp

primary
#D5CC98
secondary
#6670AB
accent
#44B530
background
#FEFEFD
surface
#FCFBF8
border
#D5D4D1
text
#151511
muted
#848481

Preview Lab

Preview with #D5CC98

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

Preview Lab → · Contrast checker → · Palette generator →

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