#D8DCA2#D8DCA2

#D8DCA2 is a very light, moderate yellow. Relative luminance 0.684; OKLCH L 87.7% C 0.076 H 111.2°. Best body text is #000000 at 14.68:1 contrast (WCAG AA passes).

Color values

HEX#D8DCA2
RGBrgb(216, 220, 162)
HSLhsl(64, 45%, 75%)
HSVhsv(64, 26%, 86%)
CMYKcmyk(1.8%, 0%, 26.4%, 13.7%)
CIE-LABlab(86.20, -10.58, 28.13)
CIE-LCHlch(86.20, 30.06, 110.62°)
OKLaboklab(87.73% -0.0274 0.0708)
OKLCHoklch(87.73% 0.076 111.2)
XYZxyz(60.4336, 68.3946, 44.1933)
Luminance0.6839 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8DCA2 #A6A2DC
analogous
#DCC3A2 #D8DCA2 #BBDCA2
triadic
#D8DCA2 #A2D8DC #DCA2D8
tetradic
#D8DCA2 #A2DCC3 #A6A2DC #DCA2BB
square
#D8DCA2 #A2DCC3 #A6A2DC #DCA2BB
split-complementary
#D8DCA2 #A2BBDC #C3A2DC
monochromatic
#B3BB49 #C5CB76 #D8DCA2 #EBEDCE #F6F7E9

Accessibility & contrast

On white

1.43
#D8DCA2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.68
#D8DCA2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8DCA2
14.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8DCA2#FFFFFF#000000##000000
##D8DCA21.001.4314.6814.68
#FFFFFF1.431.0021.0021.00
#00000014.6821.001.001.00
##00000014.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#E5D79E
Deuteranopia (green-blind)
#E5D9A4
Tritanopia (blue-blind)
#E0D5CD
Achromatopsia (no color)
#D8D8D8

Design tokens & code

CSS
--color: #d8dca2;
/* rgb */ color: rgb(216, 220, 162);
/* oklch */ color: oklch(87.7% 0.076 111.2);
Tailwind
colors: {
  custom: {
    50: '#e4e6be',
    500: '#d8dca2',
    950: '#000000',
  },
}
SCSS
$custom: #d8dca2;
$custom-light: #e4e6be;
$custom-dark: #000000;
JSON
{
  "hex": "#d8dca2",
  "rgb": {
    "r": 216,
    "g": 220,
    "b": 162
  },
  "hsl": {
    "h": 64.138,
    "s": 45.313,
    "l": 74.902
  },
  "oklch": {
    "l": 0.87731,
    "c": 0.07593,
    "h": 111.2
  },
  "luminance": 0.68394
}

Semantic roles & 50–950 ramp

primary
#D8DCA2
secondary
#736EB4
accent
#2DB837
background
#FEFEFD
surface
#FCFCF8
border
#D5D5D1
text
#151612
muted
#848482

Preview Lab

Preview with #D8DCA2

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

Preview Lab → · Contrast checker → · Palette generator →

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