#D8EA6C#D8EA6C

#D8EA6C is a very light, vivid yellow. Relative luminance 0.745; OKLCH L 89.9% C 0.152 H 116.3°. Best body text is #000000 at 15.91:1 contrast (WCAG AA passes).

Color values

HEX#D8EA6C
RGBrgb(216, 234, 108)
HSLhsl(69, 75%, 67%)
HSVhsv(69, 54%, 92%)
CMYKcmyk(7.7%, 0%, 53.8%, 8.2%)
CIE-LABlab(89.17, -23.34, 58.24)
CIE-LCHlch(89.17, 62.74, 111.84°)
OKLaboklab(89.86% -0.0674 0.1362)
OKLCHoklch(89.86% 0.152 116.3)
XYZxyz(60.4495, 74.5280, 25.3853)
Luminance0.7453 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8EA6C #7E6CEA
analogous
#EABD6C #D8EA6C #99EA6C
triadic
#D8EA6C #6CD8EA #EA6CD8
tetradic
#D8EA6C #6CEABD #7E6CEA #EA6C99
square
#D8EA6C #6CEABD #7E6CEA #EA6C99
split-complementary
#D8EA6C #6C99EA #BD6CEA
monochromatic
#A9C01B #CAE236 #D8EA6C #E6F2A2 #F4F9D7

Accessibility & contrast

On white

1.32
#D8EA6C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.91
#D8EA6C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8EA6C
15.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8EA6C#FFFFFF#000000##000000
##D8EA6C1.001.3215.9115.91
#FFFFFF1.321.0021.0021.00
#00000015.9121.001.001.00
##00000015.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#F8DF5F
Deuteranopia (green-blind)
#F7E173
Tritanopia (blue-blind)
#E4DECE
Achromatopsia (no color)
#E0E0E0

Design tokens & code

CSS
--color: #d8ea6c;
/* rgb */ color: rgb(216, 234, 108);
/* oklch */ color: oklch(89.9% 0.152 116.3);
Tailwind
colors: {
  custom: {
    50: '#e6f09a',
    500: '#d8ea6c',
    950: '#000000',
  },
}
SCSS
$custom: #d8ea6c;
$custom-light: #e6f09a;
$custom-dark: #000000;
JSON
{
  "hex": "#d8ea6c",
  "rgb": {
    "r": 216,
    "g": 234,
    "b": 108
  },
  "hsl": {
    "h": 68.571,
    "s": 75,
    "l": 67.059
  },
  "oklch": {
    "l": 0.89857,
    "c": 0.15197,
    "h": 116.3
  },
  "luminance": 0.74527
}

Semantic roles & 50–950 ramp

primary
#D8EA6C
secondary
#4E3BBF
accent
#0ED72B
background
#FEFFFC
surface
#FDFEF5
border
#D5D6CF
text
#16160E
muted
#84857F

Preview Lab

Preview with #D8EA6C

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

Preview Lab → · Contrast checker → · Palette generator →

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