#D8EA7B#D8EA7B

#D8EA7B is a very light, vivid yellow. Relative luminance 0.749; OKLCH L 90.0% C 0.138 H 116.8°. Best body text is #000000 at 15.98:1 contrast (WCAG AA passes).

Color values

HEX#D8EA7B
RGBrgb(216, 234, 123)
HSLhsl(70, 73%, 70%)
HSVhsv(70, 47%, 92%)
CMYKcmyk(7.7%, 0%, 47.4%, 8.2%)
CIE-LABlab(89.33, -21.99, 51.53)
CIE-LCHlch(89.33, 56.03, 113.11°)
OKLaboklab(90.04% -0.0622 0.1229)
OKLCHoklch(90.04% 0.138 116.8)
XYZxyz(61.3175, 74.8752, 29.9572)
Luminance0.7488 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8EA7B #8D7BEA
analogous
#EAC57B #D8EA7B #A0EA7B
triadic
#D8EA7B #7BD8EA #EA7BD8
tetradic
#D8EA7B #7BEAC5 #8D7BEA #EA7BA0
square
#D8EA7B #7BEAC5 #8D7BEA #EA7BA0
split-complementary
#D8EA7B #7BA0EA #C57BEA
monochromatic
#AFCA20 #C8E246 #D8EA7B #E8F2B0 #F7FBE5

Accessibility & contrast

On white

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

On black

15.98
#D8EA7B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8EA7B
15.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8EA7B#FFFFFF#000000##000000
##D8EA7B1.001.3115.9815.98
#FFFFFF1.311.0021.0021.00
#00000015.9821.001.001.00
##00000015.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#F7E071
Deuteranopia (green-blind)
#F5E181
Tritanopia (blue-blind)
#E2DFD0
Achromatopsia (no color)
#E0E0E0

Design tokens & code

CSS
--color: #d8ea7b;
/* rgb */ color: rgb(216, 234, 123);
/* oklch */ color: oklch(90.0% 0.138 116.8);
Tailwind
colors: {
  custom: {
    50: '#e6f0a3',
    500: '#d8ea7b',
    950: '#000000',
  },
}
SCSS
$custom: #d8ea7b;
$custom-light: #e6f0a3;
$custom-dark: #000000;
JSON
{
  "hex": "#d8ea7b",
  "rgb": {
    "r": 216,
    "g": 234,
    "b": 123
  },
  "hsl": {
    "h": 69.73,
    "s": 72.549,
    "l": 70
  },
  "oklch": {
    "l": 0.9004,
    "c": 0.13775,
    "h": 116.8
  },
  "luminance": 0.74875
}

Semantic roles & 50–950 ramp

primary
#D8EA7B
secondary
#5B46C3
accent
#11D531
background
#FEFFFC
surface
#FDFEF6
border
#D5D6D0
text
#16160F
muted
#848580

Preview Lab

Preview with #D8EA7B

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

Preview Lab → · Contrast checker → · Palette generator →

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