#D8DA97#D8DA97

#D8DA97 is a very light, moderate yellow. Relative luminance 0.670; OKLCH L 87.1% C 0.087 H 109.5°. Best body text is #000000 at 14.40:1 contrast (WCAG AA passes).

Color values

HEX#D8DA97
RGBrgb(216, 218, 151)
HSLhsl(62, 48%, 72%)
HSVhsv(62, 31%, 85%)
CMYKcmyk(0.9%, 0%, 30.7%, 14.5%)
CIE-LABlab(85.49, -11.00, 32.84)
CIE-LCHlch(85.49, 34.63, 108.52°)
OKLaboklab(87.11% -0.029 0.0818)
OKLCHoklch(87.11% 0.087 109.5)
XYZxyz(58.9765, 66.9770, 39.0932)
Luminance0.6698 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8DA97 #9997DA
analogous
#DABB97 #D8DA97 #B7DA97
triadic
#D8DA97 #97D8DA #DA97D8
tetradic
#D8DA97 #97DABB #9997DA #DA97B7
square
#D8DA97 #97DABB #9997DA #DA97B7
split-complementary
#D8DA97 #97B7DA #BB97DA
monochromatic
#B2B641 #C7CA6A #D8DA97 #E9EAC4 #F7F7E8

Accessibility & contrast

On white

1.46
#D8DA97 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.40
#D8DA97 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8DA97
14.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8DA97#FFFFFF#000000##000000
##D8DA971.001.4614.4014.40
#FFFFFF1.461.0021.0021.00
#00000014.4021.001.001.00
##00000014.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#E4D492
Deuteranopia (green-blind)
#E5D79A
Tritanopia (blue-blind)
#E1D2C9
Achromatopsia (no color)
#D6D6D6

Design tokens & code

CSS
--color: #d8da97;
/* rgb */ color: rgb(216, 218, 151);
/* oklch */ color: oklch(87.1% 0.087 109.5);
Tailwind
colors: {
  custom: {
    50: '#e5e5b6',
    500: '#d8da97',
    950: '#000000',
  },
}
SCSS
$custom: #d8da97;
$custom-light: #e5e5b6;
$custom-dark: #000000;
JSON
{
  "hex": "#d8da97",
  "rgb": {
    "r": 216,
    "g": 218,
    "b": 151
  },
  "hsl": {
    "h": 61.791,
    "s": 47.518,
    "l": 72.353
  },
  "oklch": {
    "l": 0.87105,
    "c": 0.08673,
    "h": 109.5
  },
  "luminance": 0.66976
}

Semantic roles & 50–950 ramp

primary
#D8DA97
secondary
#6664B1
accent
#2BBB2F
background
#FEFEFD
surface
#FCFCF8
border
#D5D5D1
text
#161511
muted
#848481

Preview Lab

Preview with #D8DA97

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

Preview Lab → · Contrast checker → · Palette generator →

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