#D8EF5B#D8EF5B

#D8EF5B is a very light, vivid yellow. Relative luminance 0.771; OKLCH L 90.8% C 0.172 H 117.5°. Best body text is #000000 at 16.42:1 contrast (WCAG AA passes).

Color values

HEX#D8EF5B
RGBrgb(216, 239, 91)
HSLhsl(69, 82%, 65%)
HSVhsv(69, 62%, 94%)
CMYKcmyk(9.6%, 0%, 61.9%, 6.3%)
CIE-LABlab(90.36, -26.99, 66.82)
CIE-LCHlch(90.36, 72.06, 112.00°)
OKLaboklab(90.76% -0.0793 0.1525)
OKLCHoklch(90.76% 0.172 117.5)
XYZxyz(61.0749, 77.0879, 21.5575)
Luminance0.7709 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8EF5B #725BEF
analogous
#EFBC5B #D8EF5B #8EEF5B
triadic
#D8EF5B #5BD8EF #EF5BD8
tetradic
#D8EF5B #5BEFBC #725BEF #EF5B8E
square
#D8EF5B #5BEFBC #725BEF #EF5B8E
split-complementary
#D8EF5B #5B8EEF #BC5BEF
monochromatic
#A3BD12 #CBEA23 #D8EF5B #E5F493 #F3FACB

Accessibility & contrast

On white

1.28
#D8EF5B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.42
#D8EF5B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8EF5B
16.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8EF5B#FFFFFF#000000##000000
##D8EF5B1.001.2816.4216.42
#FFFFFF1.281.0021.0021.00
#00000016.4221.001.001.00
##00000016.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FEE349
Deuteranopia (green-blind)
#FCE465
Tritanopia (blue-blind)
#E4E3D0
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #d8ef5b;
/* rgb */ color: rgb(216, 239, 91);
/* oklch */ color: oklch(90.8% 0.172 117.5);
Tailwind
colors: {
  custom: {
    50: '#e7f490',
    500: '#d8ef5b',
    950: '#000000',
  },
}
SCSS
$custom: #d8ef5b;
$custom-light: #e7f490;
$custom-dark: #000000;
JSON
{
  "hex": "#d8ef5b",
  "rgb": {
    "r": 216,
    "g": 239,
    "b": 91
  },
  "hsl": {
    "h": 69.324,
    "s": 82.222,
    "l": 64.706
  },
  "oklch": {
    "l": 0.90762,
    "c": 0.17191,
    "h": 117.5
  },
  "luminance": 0.77087
}

Semantic roles & 50–950 ramp

primary
#D8EF5B
secondary
#4833BC
accent
#07DF28
background
#FFFFFC
surface
#FEFEF4
border
#D6D6CE
text
#16170D
muted
#85857F

Preview Lab

Preview with #D8EF5B

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

Preview Lab → · Contrast checker → · Palette generator →

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