#D8EA6B#D8EA6B

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

Color values

HEX#D8EA6B
RGBrgb(216, 234, 107)
HSLhsl(69, 75%, 67%)
HSVhsv(69, 54%, 92%)
CMYKcmyk(7.7%, 0%, 54.3%, 8.2%)
CIE-LABlab(89.16, -23.42, 58.67)
CIE-LCHlch(89.16, 63.17, 111.76°)
OKLaboklab(89.85% -0.0677 0.1371)
OKLCHoklch(89.85% 0.153 116.3)
XYZxyz(60.3966, 74.5068, 25.1066)
Luminance0.7451 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8EA6B #7D6BEA
analogous
#EABD6B #D8EA6B #99EA6B
triadic
#D8EA6B #6BD8EA #EA6BD8
tetradic
#D8EA6B #6BEABD #7D6BEA #EA6B99
square
#D8EA6B #6BEABD #7D6BEA #EA6B99
split-complementary
#D8EA6B #6B99EA #BD6BEA
monochromatic
#A8BF1B #CAE235 #D8EA6B #E6F2A1 #F4F9D6

Accessibility & contrast

On white

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

On black

15.90
#D8EA6B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8EA6B
15.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8EA6B#FFFFFF#000000##000000
##D8EA6B1.001.3215.9015.90
#FFFFFF1.321.0021.0021.00
#00000015.9021.001.001.00
##00000015.9021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d8ea6b;
/* rgb */ color: rgb(216, 234, 107);
/* oklch */ color: oklch(89.8% 0.153 116.3);
Tailwind
colors: {
  custom: {
    50: '#e6f099',
    500: '#d8ea6b',
    950: '#000000',
  },
}
SCSS
$custom: #d8ea6b;
$custom-light: #e6f099;
$custom-dark: #000000;
JSON
{
  "hex": "#d8ea6b",
  "rgb": {
    "r": 216,
    "g": 234,
    "b": 107
  },
  "hsl": {
    "h": 68.504,
    "s": 75.148,
    "l": 66.863
  },
  "oklch": {
    "l": 0.89845,
    "c": 0.15286,
    "h": 116.3
  },
  "luminance": 0.74506
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D8EA6B

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

Preview Lab → · Contrast checker → · Palette generator →

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