#D8D96D#D8D96D

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

Color values

HEX#D8D96D
RGBrgb(216, 217, 109)
HSLhsl(61, 59%, 64%)
HSVhsv(61, 50%, 85%)
CMYKcmyk(0.5%, 0%, 49.8%, 14.9%)
CIE-LABlab(84.65, -14.95, 52.51)
CIE-LCHlch(84.65, 54.60, 105.89°)
OKLaboklab(86.25% -0.0435 0.1239)
OKLCHoklch(86.25% 0.131 109.3)
XYZxyz(55.8933, 65.3301, 24.1307)
Luminance0.6533 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8D96D #6E6DD9
analogous
#D9A46D #D8D96D #A2D96D
triadic
#D8D96D #6DD8D9 #D96DD8
tetradic
#D8D96D #6DD9A4 #6E6DD9 #D96DA2
square
#D8D96D #6DD9A4 #6E6DD9 #D96DA2
split-complementary
#D8D96D #6DA2D9 #A46DD9
monochromatic
#A0A22A #CBCC3C #D8D96D #E5E69E #F2F2CE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D8D96D#FFFFFF#000000##000000
##D8D96D1.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)
#E8D163
Deuteranopia (green-blind)
#E9D572
Tritanopia (blue-blind)
#E5CEC0
Achromatopsia (no color)
#D3D3D3

Design tokens & code

CSS
--color: #d8d96d;
/* rgb */ color: rgb(216, 217, 109);
/* oklch */ color: oklch(86.3% 0.131 109.3);
Tailwind
colors: {
  custom: {
    50: '#e6e499',
    500: '#d8d96d',
    950: '#000000',
  },
}
SCSS
$custom: #d8d96d;
$custom-light: #e6e499;
$custom-dark: #000000;
JSON
{
  "hex": "#d8d96d",
  "rgb": {
    "r": 216,
    "g": 217,
    "b": 109
  },
  "hsl": {
    "h": 60.556,
    "s": 58.696,
    "l": 63.922
  },
  "oklch": {
    "l": 0.86251,
    "c": 0.13132,
    "h": 109.3
  },
  "luminance": 0.65329
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D8D96D

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

Preview Lab → · Contrast checker → · Palette generator →

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