#D8EC5B#D8EC5B

#D8EC5B is a very light, vivid yellow. Relative luminance 0.753; OKLCH L 90.1% C 0.168 H 116.6°. Best body text is #000000 at 16.07:1 contrast (WCAG AA passes).

Color values

HEX#D8EC5B
RGBrgb(216, 236, 91)
HSLhsl(68, 79%, 64%)
HSVhsv(68, 61%, 93%)
CMYKcmyk(8.5%, 0%, 61.4%, 7.5%)
CIE-LABlab(89.55, -25.57, 65.95)
CIE-LCHlch(89.55, 70.73, 111.20°)
OKLaboklab(90.12% -0.0753 0.1507)
OKLCHoklch(90.12% 0.168 116.6)
XYZxyz(60.2039, 75.3459, 21.2672)
Luminance0.7534 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8EC5B #6F5BEC
analogous
#ECB85B #D8EC5B #90EC5B
triadic
#D8EC5B #5BD8EC #EC5BD8
tetradic
#D8EC5B #5BECB8 #6F5BEC #EC5B90
square
#D8EC5B #5BECB8 #6F5BEC #EC5B90
split-complementary
#D8EC5B #5B90EC #B85BEC
monochromatic
#A1B715 #CBE624 #D8EC5B #E5F292 #F2F9C9

Accessibility & contrast

On white

1.31
#D8EC5B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.07
#D8EC5B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8EC5B
16.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8EC5B#FFFFFF#000000##000000
##D8EC5B1.001.3116.0716.07
#FFFFFF1.311.0021.0021.00
#00000016.0721.001.001.00
##00000016.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FBE049
Deuteranopia (green-blind)
#F9E265
Tritanopia (blue-blind)
#E4E0CE
Achromatopsia (no color)
#E1E1E1

Design tokens & code

CSS
--color: #d8ec5b;
/* rgb */ color: rgb(216, 236, 91);
/* oklch */ color: oklch(90.1% 0.168 116.6);
Tailwind
colors: {
  custom: {
    50: '#e7f28f',
    500: '#d8ec5b',
    950: '#000000',
  },
}
SCSS
$custom: #d8ec5b;
$custom-light: #e7f28f;
$custom-dark: #000000;
JSON
{
  "hex": "#d8ec5b",
  "rgb": {
    "r": 216,
    "g": 236,
    "b": 91
  },
  "hsl": {
    "h": 68.276,
    "s": 79.235,
    "l": 64.118
  },
  "oklch": {
    "l": 0.90115,
    "c": 0.16848,
    "h": 116.6
  },
  "luminance": 0.75345
}

Semantic roles & 50–950 ramp

primary
#D8EC5B
secondary
#4634B7
accent
#0ADC27
background
#FFFFFC
surface
#FEFEF4
border
#D6D6CE
text
#16160D
muted
#85857F

Preview Lab

Preview with #D8EC5B

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

Preview Lab → · Contrast checker → · Palette generator →

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