#D9CA8A#D9CA8A

#D9CA8A is a very light, moderate yellow. Relative luminance 0.588; OKLCH L 83.7% C 0.084 H 96.6°. Best body text is #000000 at 12.77:1 contrast (WCAG AA passes).

Color values

HEX#D9CA8A
RGBrgb(217, 202, 138)
HSLhsl(49, 51%, 70%)
HSVhsv(49, 36%, 85%)
CMYKcmyk(0%, 6.9%, 36.4%, 14.9%)
CIE-LABlab(81.20, -4.01, 33.88)
CIE-LCHlch(81.20, 34.11, 96.76°)
OKLaboklab(83.65% -0.0096 0.0838)
OKLCHoklch(83.65% 0.084 96.6)
XYZxyz(54.3242, 58.8294, 32.5334)
Luminance0.5883 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9CA8A #8A99D9
analogous
#D9A38A #D9CA8A #C0D98A
triadic
#D9CA8A #8AD9CA #CA8AD9
tetradic
#D9CA8A #8AD9A3 #8A99D9 #D98AC0
square
#D9CA8A #8AD9A3 #8A99D9 #D98AC0
split-complementary
#D9CA8A #8AC0D9 #A38AD9
monochromatic
#B09939 #CAB55C #D9CA8A #E8DFB8 #F7F4E6

Accessibility & contrast

On white

1.65
#D9CA8A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.77
#D9CA8A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9CA8A
12.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9CA8A#FFFFFF#000000##000000
##D9CA8A1.001.6512.7712.77
#FFFFFF1.651.0021.0021.00
#00000012.7721.001.001.00
##00000012.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6C785
Deuteranopia (green-blind)
#DBCC8C
Tritanopia (blue-blind)
#E5C1BA
Achromatopsia (no color)
#CACACA

Design tokens & code

CSS
--color: #d9ca8a;
/* rgb */ color: rgb(217, 202, 138);
/* oklch */ color: oklch(83.7% 0.084 96.6);
Tailwind
colors: {
  custom: {
    50: '#e6daad',
    500: '#d9ca8a',
    950: '#000000',
  },
}
SCSS
$custom: #d9ca8a;
$custom-light: #e6daad;
$custom-dark: #000000;
JSON
{
  "hex": "#d9ca8a",
  "rgb": {
    "r": 217,
    "g": 202,
    "b": 138
  },
  "hsl": {
    "h": 48.608,
    "s": 50.968,
    "l": 69.608
  },
  "oklch": {
    "l": 0.83654,
    "c": 0.08432,
    "h": 96.6
  },
  "luminance": 0.58828
}

Semantic roles & 50–950 ramp

primary
#D9CA8A
secondary
#5868B0
accent
#44BE27
background
#FEFEFD
surface
#FCFBF7
border
#D5D4D0
text
#161410
muted
#848381

Preview Lab

Preview with #D9CA8A

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

Preview Lab → · Contrast checker → · Palette generator →

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