#D8EA98#D8EA98

#D8EA98 is a very light, moderate yellow-green. Relative luminance 0.757; OKLCH L 90.5% C 0.107 H 118.7°. Best body text is #000000 at 16.14:1 contrast (WCAG AA passes).

Color values

HEX#D8EA98
RGBrgb(216, 234, 152)
HSLhsl(73, 66%, 76%)
HSVhsv(73, 35%, 92%)
CMYKcmyk(7.7%, 0%, 35%, 8.2%)
CIE-LABlab(89.73, -18.82, 37.89)
CIE-LCHlch(89.73, 42.31, 116.41°)
OKLaboklab(90.48% -0.0512 0.0936)
OKLCHoklch(90.48% 0.107 118.7)
XYZxyz(63.4092, 75.7119, 40.9731)
Luminance0.7571 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D8EA98 #AA98EA
analogous
#EAD398 #D8EA98 #AFEA98
triadic
#D8EA98 #98D8EA #EA98D8
tetradic
#D8EA98 #98EAD3 #AA98EA #EA98AF
square
#D8EA98 #98EAD3 #AA98EA #EA98AF
split-complementary
#D8EA98 #98AFEA #D398EA
monochromatic
#B2D532 #C5E065 #D8EA98 #EBF4CB #F5FAE6

Accessibility & contrast

On white

1.30
#D8EA98 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.14
#D8EA98 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D8EA98
16.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D8EA98#FFFFFF#000000##000000
##D8EA981.001.3016.1416.14
#FFFFFF1.301.0021.0021.00
#00000016.1421.001.001.00
##00000016.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#F4E192
Deuteranopia (green-blind)
#F2E29C
Tritanopia (blue-blind)
#E0E2D5
Achromatopsia (no color)
#E2E2E2

Design tokens & code

CSS
--color: #d8ea98;
/* rgb */ color: rgb(216, 234, 152);
/* oklch */ color: oklch(90.5% 0.107 118.7);
Tailwind
colors: {
  custom: {
    50: '#e5f0b7',
    500: '#d8ea98',
    950: '#000000',
  },
}
SCSS
$custom: #d8ea98;
$custom-light: #e5f0b7;
$custom-dark: #000000;
JSON
{
  "hex": "#d8ea98",
  "rgb": {
    "r": 216,
    "g": 234,
    "b": 152
  },
  "hsl": {
    "h": 73.171,
    "s": 66.129,
    "l": 75.686
  },
  "oklch": {
    "l": 0.90479,
    "c": 0.10667,
    "h": 118.7
  },
  "luminance": 0.75712
}

Semantic roles & 50–950 ramp

primary
#D8EA98
secondary
#7761C5
accent
#18CE40
background
#FEFFFD
surface
#FCFEF8
border
#D5D6D1
text
#161611
muted
#848581

Preview Lab

Preview with #D8EA98

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

Preview Lab → · Contrast checker → · Palette generator →

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