#D9CD8A#D9CD8A

#D9CD8A is a very light, moderate yellow. Relative luminance 0.602; OKLCH L 84.3% C 0.087 H 99.3°. Best body text is #000000 at 13.05:1 contrast (WCAG AA passes).

Color values

HEX#D9CD8A
RGBrgb(217, 205, 138)
HSLhsl(51, 51%, 70%)
HSVhsv(51, 36%, 85%)
CMYKcmyk(0%, 5.5%, 36.4%, 14.9%)
CIE-LABlab(81.97, -5.56, 34.89)
CIE-LCHlch(81.97, 35.33, 99.05°)
OKLaboklab(84.27% -0.0141 0.0861)
OKLCHoklch(84.27% 0.087 99.3)
XYZxyz(55.0349, 60.2508, 32.7703)
Luminance0.6025 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9CD8A #8A96D9
analogous
#D9A68A #D9CD8A #BED98A
triadic
#D9CD8A #8AD9CD #CD8AD9
tetradic
#D9CD8A #8AD9A6 #8A96D9 #D98ABE
square
#D9CD8A #8AD9A6 #8A96D9 #D98ABE
split-complementary
#D9CD8A #8ABED9 #A68AD9
monochromatic
#B09E39 #CAB95C #D9CD8A #E8E1B8 #F7F4E6

Accessibility & contrast

On white

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

On black

13.05
#D9CD8A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9CD8A
13.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9CD8A#FFFFFF#000000##000000
##D9CD8A1.001.6113.0513.05
#FFFFFF1.611.0021.0021.00
#00000013.0521.001.001.00
##00000013.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C985
Deuteranopia (green-blind)
#DDCE8C
Tritanopia (blue-blind)
#E4C4BC
Achromatopsia (no color)
#CCCCCC

Design tokens & code

CSS
--color: #d9cd8a;
/* rgb */ color: rgb(217, 205, 138);
/* oklch */ color: oklch(84.3% 0.087 99.3);
Tailwind
colors: {
  custom: {
    50: '#e6dcad',
    500: '#d9cd8a',
    950: '#000000',
  },
}
SCSS
$custom: #d9cd8a;
$custom-light: #e6dcad;
$custom-dark: #000000;
JSON
{
  "hex": "#d9cd8a",
  "rgb": {
    "r": 217,
    "g": 205,
    "b": 138
  },
  "hsl": {
    "h": 50.886,
    "s": 50.968,
    "l": 69.608
  },
  "oklch": {
    "l": 0.84268,
    "c": 0.08727,
    "h": 99.3
  },
  "luminance": 0.60249
}

Semantic roles & 50–950 ramp

primary
#D9CD8A
secondary
#5865B0
accent
#3EBE27
background
#FEFEFD
surface
#FCFBF7
border
#D5D4D0
text
#161510
muted
#848481

Preview Lab

Preview with #D9CD8A

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

Preview Lab → · Contrast checker → · Palette generator →

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