#D8EC5E#D8EC5E

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

Color values

HEX#D8EC5E
RGBrgb(216, 236, 94)
HSLhsl(68, 79%, 65%)
HSVhsv(68, 60%, 93%)
CMYKcmyk(8.5%, 0%, 60.2%, 7.5%)
CIE-LABlab(89.58, -25.37, 64.74)
CIE-LCHlch(89.58, 69.53, 111.40°)
OKLaboklab(90.14% -0.0744 0.1485)
OKLCHoklch(90.14% 0.166 116.6)
XYZxyz(60.3359, 75.3987, 21.9624)
Luminance0.7540 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8EC5E #725EEC
analogous
#ECB95E #D8EC5E #91EC5E
triadic
#D8EC5E #5ED8EC #EC5ED8
tetradic
#D8EC5E #5EECB9 #725EEC #EC5E91
square
#D8EC5E #5EECB9 #725EEC #EC5E91
split-complementary
#D8EC5E #5E91EC #B95EEC
monochromatic
#A3BA16 #CBE627 #D8EC5E #E5F295 #F3F9CB

Accessibility & contrast

On white

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

On black

16.08
#D8EC5E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8EC5E
16.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8EC5E#FFFFFF#000000##000000
##D8EC5E1.001.3116.0816.08
#FFFFFF1.311.0021.0021.00
#00000016.0821.001.001.00
##00000016.0821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d8ec5e;
/* rgb */ color: rgb(216, 236, 94);
/* oklch */ color: oklch(90.1% 0.166 116.6);
Tailwind
colors: {
  custom: {
    50: '#e7f291',
    500: '#d8ec5e',
    950: '#000000',
  },
}
SCSS
$custom: #d8ec5e;
$custom-light: #e7f291;
$custom-dark: #000000;
JSON
{
  "hex": "#d8ec5e",
  "rgb": {
    "r": 216,
    "g": 236,
    "b": 94
  },
  "hsl": {
    "h": 68.451,
    "s": 78.889,
    "l": 64.706
  },
  "oklch": {
    "l": 0.90142,
    "c": 0.16614,
    "h": 116.6
  },
  "luminance": 0.75398
}

Semantic roles & 50–950 ramp

primary
#D8EC5E
secondary
#4835B9
accent
#0ADB28
background
#FFFFFC
surface
#FEFEF4
border
#D6D6CE
text
#16160D
muted
#85857F

Preview Lab

Preview with #D8EC5E

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

Preview Lab → · Contrast checker → · Palette generator →

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