#D8D96E#D8D96E

#D8D96E is a very light, vivid yellow. Relative luminance 0.653; OKLCH L 86.3% C 0.130 H 109.3°. Best body text is #000000 at 14.07:1 contrast (WCAG AA passes).

Color values

HEX#D8D96E
RGBrgb(216, 217, 110)
HSLhsl(61, 58%, 64%)
HSVhsv(61, 49%, 85%)
CMYKcmyk(0.5%, 0%, 49.3%, 14.9%)
CIE-LABlab(84.66, -14.86, 52.05)
CIE-LCHlch(84.66, 54.13, 105.94°)
OKLaboklab(86.26% -0.0431 0.123)
OKLCHoklch(86.26% 0.13 109.3)
XYZxyz(55.9475, 65.3517, 24.4158)
Luminance0.6535 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8D96E #6F6ED9
analogous
#D9A56E #D8D96E #A3D96E
triadic
#D8D96E #6ED8D9 #D96ED8
tetradic
#D8D96E #6ED9A5 #6F6ED9 #D96EA3
square
#D8D96E #6ED9A5 #6F6ED9 #D96EA3
split-complementary
#D8D96E #6EA3D9 #A56ED9
monochromatic
#A1A22A #CBCC3E #D8D96E #E5E69E #F2F2CF

Accessibility & contrast

On white

1.49
#D8D96E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.07
#D8D96E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8D96E
14.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8D96E#FFFFFF#000000##000000
##D8D96E1.001.4914.0714.07
#FFFFFF1.491.0021.0021.00
#00000014.0721.001.001.00
##00000014.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E7D164
Deuteranopia (green-blind)
#E9D573
Tritanopia (blue-blind)
#E5CEC1
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #d8d96e;
/* rgb */ color: rgb(216, 217, 110);
/* oklch */ color: oklch(86.3% 0.130 109.3);
Tailwind
colors: {
  custom: {
    50: '#e6e49a',
    500: '#d8d96e',
    950: '#000000',
  },
}
SCSS
$custom: #d8d96e;
$custom-light: #e6e49a;
$custom-dark: #000000;
JSON
{
  "hex": "#d8d96e",
  "rgb": {
    "r": 216,
    "g": 217,
    "b": 110
  },
  "hsl": {
    "h": 60.561,
    "s": 58.47,
    "l": 64.118
  },
  "oklch": {
    "l": 0.86263,
    "c": 0.13036,
    "h": 109.3
  },
  "luminance": 0.6535
}

Semantic roles & 50–950 ramp

primary
#D8D96E
secondary
#4645A6
accent
#1FC621
background
#FEFEFC
surface
#FDFCF5
border
#D5D5CF
text
#16150E
muted
#84847F

Preview Lab

Preview with #D8D96E

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

Preview Lab → · Contrast checker → · Palette generator →

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