#D8CA8A#D8CA8A

#D8CA8A is a very light, moderate yellow. Relative luminance 0.587; OKLCH L 83.6% C 0.084 H 97.3°. Best body text is #000000 at 12.74:1 contrast (WCAG AA passes).

Color values

HEX#D8CA8A
RGBrgb(216, 202, 138)
HSLhsl(49, 50%, 69%)
HSVhsv(49, 36%, 85%)
CMYKcmyk(0%, 6.5%, 36.1%, 15.3%)
CIE-LABlab(81.11, -4.41, 33.75)
CIE-LCHlch(81.11, 34.04, 97.44°)
OKLaboklab(83.57% -0.0107 0.0835)
OKLCHoklch(83.57% 0.084 97.3)
XYZxyz(54.0278, 58.6765, 32.5195)
Luminance0.5867 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8CA8A #8A98D8
analogous
#D8A38A #D8CA8A #BFD88A
triadic
#D8CA8A #8AD8CA #CA8AD8
tetradic
#D8CA8A #8AD8A3 #8A98D8 #D88ABF
square
#D8CA8A #8AD8A3 #8A98D8 #D88ABF
split-complementary
#D8CA8A #8ABFD8 #A38AD8
monochromatic
#AE993A #C9B55C #D8CA8A #E7DFB8 #F7F4E6

Accessibility & contrast

On white

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

On black

12.74
#D8CA8A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8CA8A
12.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8CA8A#FFFFFF#000000##000000
##D8CA8A1.001.6512.7412.74
#FFFFFF1.651.0021.0021.00
#00000012.7421.001.001.00
##00000012.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6C785
Deuteranopia (green-blind)
#DACC8C
Tritanopia (blue-blind)
#E3C1BA
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #d8ca8a;
/* rgb */ color: rgb(216, 202, 138);
/* oklch */ color: oklch(83.6% 0.084 97.3);
Tailwind
colors: {
  custom: {
    50: '#e5daad',
    500: '#d8ca8a',
    950: '#000000',
  },
}
SCSS
$custom: #d8ca8a;
$custom-light: #e5daad;
$custom-dark: #000000;
JSON
{
  "hex": "#d8ca8a",
  "rgb": {
    "r": 216,
    "g": 202,
    "b": 138
  },
  "hsl": {
    "h": 49.231,
    "s": 50,
    "l": 69.412
  },
  "oklch": {
    "l": 0.83567,
    "c": 0.08417,
    "h": 97.3
  },
  "luminance": 0.58675
}

Semantic roles & 50–950 ramp

primary
#D8CA8A
secondary
#5867AE
accent
#43BD28
background
#FEFEFD
surface
#FCFBF7
border
#D5D4D0
text
#161410
muted
#848381

Preview Lab

Preview with #D8CA8A

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

Preview Lab → · Contrast checker → · Palette generator →

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