#D8E161#D8E161

#D8E161 is a very light, vivid yellow. Relative luminance 0.693; OKLCH L 87.8% C 0.151 H 112.8°. Best body text is #000000 at 14.86:1 contrast (WCAG AA passes).

Color values

HEX#D8E161
RGBrgb(216, 225, 97)
HSLhsl(64, 68%, 63%)
HSVhsv(64, 57%, 88%)
CMYKcmyk(4%, 0%, 56.9%, 11.8%)
CIE-LABlab(86.66, -19.86, 60.24)
CIE-LCHlch(86.66, 63.43, 108.24°)
OKLaboklab(87.81% -0.0586 0.1393)
OKLCHoklch(87.81% 0.151 112.8)
XYZxyz(57.4031, 69.3135, 21.6619)
Luminance0.6931 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8E161 #6A61E1
analogous
#E1AA61 #D8E161 #98E161
triadic
#D8E161 #61D8E1 #E161D8
tetradic
#D8E161 #61E1AA #6A61E1 #E16198
square
#D8E161 #61E1AA #6A61E1 #E16198
split-complementary
#D8E161 #6198E1 #AA61E1
monochromatic
#9EA820 #CBD72E #D8E161 #E5EB94 #F1F5C8

Accessibility & contrast

On white

1.41
#D8E161 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

14.86
#D8E161 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8E161
14.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8E161#FFFFFF#000000##000000
##D8E1611.001.4114.8614.86
#FFFFFF1.411.0021.0021.00
#00000014.8621.001.001.00
##00000014.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#F0D753
Deuteranopia (green-blind)
#F0DA69
Tritanopia (blue-blind)
#E5D5C5
Achromatopsia (no color)
#D9D9D9

Design tokens & code

CSS
--color: #d8e161;
/* rgb */ color: rgb(216, 225, 97);
/* oklch */ color: oklch(87.8% 0.151 112.8);
Tailwind
colors: {
  custom: {
    50: '#e7ea92',
    500: '#d8e161',
    950: '#000000',
  },
}
SCSS
$custom: #d8e161;
$custom-light: #e7ea92;
$custom-dark: #000000;
JSON
{
  "hex": "#d8e161",
  "rgb": {
    "r": 216,
    "g": 225,
    "b": 97
  },
  "hsl": {
    "h": 64.219,
    "s": 68.085,
    "l": 63.137
  },
  "oklch": {
    "l": 0.87812,
    "c": 0.15116,
    "h": 112.8
  },
  "luminance": 0.69312
}

Semantic roles & 50–950 ramp

primary
#D8E161
secondary
#443CAA
accent
#15D023
background
#FEFEFC
surface
#FDFDF4
border
#D5D5CE
text
#16160D
muted
#84847F

Preview Lab

Preview with #D8E161

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

Preview Lab → · Contrast checker → · Palette generator →

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