#D8EC5A#D8EC5A

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

Color values

HEX#D8EC5A
RGBrgb(216, 236, 90)
HSLhsl(68, 79%, 64%)
HSVhsv(68, 62%, 93%)
CMYKcmyk(8.5%, 0%, 61.9%, 7.5%)
CIE-LABlab(89.55, -25.64, 66.35)
CIE-LCHlch(89.55, 71.13, 111.13°)
OKLaboklab(90.11% -0.0756 0.1514)
OKLCHoklch(90.11% 0.169 116.5)
XYZxyz(60.1610, 75.3288, 21.0415)
Luminance0.7533 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8EC5A #6E5AEC
analogous
#ECB75A #D8EC5A #8FEC5A
triadic
#D8EC5A #5AD8EC #EC5AD8
tetradic
#D8EC5A #5AECB7 #6E5AEC #EC5A8F
square
#D8EC5A #5AECB7 #6E5AEC #EC5A8F
split-complementary
#D8EC5A #5A8FEC #B75AEC
monochromatic
#A0B715 #CBE623 #D8EC5A #E5F291 #F2F9C8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D8EC5A#FFFFFF#000000##000000
##D8EC5A1.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)
#FBE048
Deuteranopia (green-blind)
#F9E264
Tritanopia (blue-blind)
#E4E0CE
Achromatopsia (no color)
#E1E1E1

Design tokens & code

CSS
--color: #d8ec5a;
/* rgb */ color: rgb(216, 236, 90);
/* oklch */ color: oklch(90.1% 0.169 116.5);
Tailwind
colors: {
  custom: {
    50: '#e7f28f',
    500: '#d8ec5a',
    950: '#000000',
  },
}
SCSS
$custom: #d8ec5a;
$custom-light: #e7f28f;
$custom-dark: #000000;
JSON
{
  "hex": "#d8ec5a",
  "rgb": {
    "r": 216,
    "g": 236,
    "b": 90
  },
  "hsl": {
    "h": 68.219,
    "s": 79.348,
    "l": 63.922
  },
  "oklch": {
    "l": 0.90106,
    "c": 0.16924,
    "h": 116.5
  },
  "luminance": 0.75328
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D8EC5A

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

Preview Lab → · Contrast checker → · Palette generator →

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