#D4E998#D4E998

#D4E998 is a very light, moderate yellow-green. Relative luminance 0.745; OKLCH L 90.0% C 0.106 H 120.4°. Best body text is #000000 at 15.91:1 contrast (WCAG AA passes).

Color values

HEX#D4E998
RGBrgb(212, 233, 152)
HSLhsl(76, 65%, 75%)
HSVhsv(76, 35%, 91%)
CMYKcmyk(9%, 0%, 34.8%, 8.6%)
CIE-LABlab(89.18, -19.82, 37.13)
CIE-LCHlch(89.18, 42.08, 118.10°)
OKLaboklab(89.97% -0.0539 0.0918)
OKLCHoklch(89.97% 0.106 120.4)
XYZxyz(61.9576, 74.5420, 40.8237)
Luminance0.7454 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4E998 #AD98E9
analogous
#E9D698 #D4E998 #ABE998
triadic
#D4E998 #98D4E9 #E998D4
tetradic
#D4E998 #98E9D6 #AD98E9 #E998AB
square
#D4E998 #98E9D6 #AD98E9 #E998AB
split-complementary
#D4E998 #98ABE9 #D698E9
monochromatic
#AAD333 #BFDE66 #D4E998 #E9F4CA #F4FAE6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D4E998#FFFFFF#000000##000000
##D4E9981.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)
#F3E092
Deuteranopia (green-blind)
#F0E09C
Tritanopia (blue-blind)
#DBE1D5
Achromatopsia (no color)
#E0E0E0

Design tokens & code

CSS
--color: #d4e998;
/* rgb */ color: rgb(212, 233, 152);
/* oklch */ color: oklch(90.0% 0.106 120.4);
Tailwind
colors: {
  custom: {
    50: '#e2f0b7',
    500: '#d4e998',
    950: '#000000',
  },
}
SCSS
$custom: #d4e998;
$custom-light: #e2f0b7;
$custom-dark: #000000;
JSON
{
  "hex": "#d4e998",
  "rgb": {
    "r": 212,
    "g": 233,
    "b": 152
  },
  "hsl": {
    "h": 75.556,
    "s": 64.8,
    "l": 75.49
  },
  "oklch": {
    "l": 0.89972,
    "c": 0.10647,
    "h": 120.4
  },
  "luminance": 0.74542
}

Semantic roles & 50–950 ramp

primary
#D4E998
secondary
#7B61C4
accent
#19CD47
background
#FEFFFD
surface
#FCFEF8
border
#D5D6D1
text
#151611
muted
#848581

Preview Lab

Preview with #D4E998

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

Preview Lab → · Contrast checker → · Palette generator →

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