#D5CA8A#D5CA8A

#D5CA8A is a very light, moderate yellow. Relative luminance 0.582; OKLCH L 83.3% C 0.084 H 99.6°. Best body text is #000000 at 12.64:1 contrast (WCAG AA passes).

Color values

HEX#D5CA8A
RGBrgb(213, 202, 138)
HSLhsl(51, 47%, 69%)
HSVhsv(51, 35%, 84%)
CMYKcmyk(0%, 5.2%, 35.2%, 16.5%)
CIE-LABlab(80.86, -5.58, 33.37)
CIE-LCHlch(80.86, 33.84, 99.50°)
OKLaboklab(83.31% -0.014 0.0826)
OKLCHoklch(83.31% 0.084 99.6)
XYZxyz(53.1493, 58.2236, 32.4783)
Luminance0.5822 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5CA8A #8A95D5
analogous
#D5A58A #D5CA8A #BBD58A
triadic
#D5CA8A #8AD5CA #CA8AD5
tetradic
#D5CA8A #8AD5A5 #8A95D5 #D58ABB
square
#D5CA8A #8AD5A5 #8A95D5 #D58ABB
split-complementary
#D5CA8A #8ABBD5 #A58AD5
monochromatic
#A8983C #C5B65D #D5CA8A #E5DEB7 #F5F3E4

Accessibility & contrast

On white

1.66
#D5CA8A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.64
#D5CA8A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5CA8A
12.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5CA8A#FFFFFF#000000##000000
##D5CA8A1.001.6612.6412.64
#FFFFFF1.661.0021.0021.00
#00000012.6421.001.001.00
##00000012.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6C685
Deuteranopia (green-blind)
#D9CB8C
Tritanopia (blue-blind)
#E0C1BA
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #d5ca8a;
/* rgb */ color: rgb(213, 202, 138);
/* oklch */ color: oklch(83.3% 0.084 99.6);
Tailwind
colors: {
  custom: {
    50: '#e3daad',
    500: '#d5ca8a',
    950: '#000000',
  },
}
SCSS
$custom: #d5ca8a;
$custom-light: #e3daad;
$custom-dark: #000000;
JSON
{
  "hex": "#d5ca8a",
  "rgb": {
    "r": 213,
    "g": 202,
    "b": 138
  },
  "hsl": {
    "h": 51.2,
    "s": 47.17,
    "l": 68.824
  },
  "oklch": {
    "l": 0.83309,
    "c": 0.0838,
    "h": 99.6
  },
  "luminance": 0.58222
}

Semantic roles & 50–950 ramp

primary
#D5CA8A
secondary
#5864AB
accent
#40BA2B
background
#FEFEFD
surface
#FCFBF7
border
#D5D4D0
text
#151410
muted
#848381

Preview Lab

Preview with #D5CA8A

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

Preview Lab → · Contrast checker → · Palette generator →

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