#D9E158#D9E158

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

Color values

HEX#D9E158
RGBrgb(217, 225, 88)
HSLhsl(64, 70%, 61%)
HSVhsv(64, 61%, 88%)
CMYKcmyk(3.6%, 0%, 60.9%, 11.8%)
CIE-LABlab(86.66, -20.09, 64.09)
CIE-LCHlch(86.66, 67.16, 107.41°)
OKLaboklab(87.8% -0.0603 0.1464)
OKLCHoklch(87.8% 0.158 112.4)
XYZxyz(57.3034, 69.3079, 19.5898)
Luminance0.6931 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9E158 #6058E1
analogous
#E1A558 #D9E158 #95E158
triadic
#D9E158 #58D9E1 #E158D9
tetradic
#D9E158 #58E1A5 #6058E1 #E15895
square
#D9E158 #58E1A5 #6058E1 #E15895
split-complementary
#D9E158 #5895E1 #A558E1
monochromatic
#9AA21D #CBD526 #D9E158 #E5EA8C #F1F4C0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D9E158#FFFFFF#000000##000000
##D9E1581.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)
#F1D747
Deuteranopia (green-blind)
#F1DB61
Tritanopia (blue-blind)
#E7D4C4
Achromatopsia (no color)
#D9D9D9

Design tokens & code

CSS
--color: #d9e158;
/* rgb */ color: rgb(217, 225, 88);
/* oklch */ color: oklch(87.8% 0.158 112.4);
Tailwind
colors: {
  custom: {
    50: '#e8ea8d',
    500: '#d9e158',
    950: '#000000',
  },
}
SCSS
$custom: #d9e158;
$custom-light: #e8ea8d;
$custom-dark: #000000;
JSON
{
  "hex": "#d9e158",
  "rgb": {
    "r": 217,
    "g": 225,
    "b": 88
  },
  "hsl": {
    "h": 63.504,
    "s": 69.543,
    "l": 61.373
  },
  "oklch": {
    "l": 0.87804,
    "c": 0.15827,
    "h": 112.4
  },
  "luminance": 0.69307
}

Semantic roles & 50–950 ramp

primary
#D9E158
secondary
#3F39A4
accent
#14D21F
background
#FFFEFC
surface
#FEFDF4
border
#D6D5CE
text
#16160D
muted
#85847F

Preview Lab

Preview with #D9E158

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

Preview Lab → · Contrast checker → · Palette generator →

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