#D4E398#D4E398

#D4E398 is a very light, moderate yellow-green. Relative luminance 0.712; OKLCH L 88.7% C 0.098 H 117.7°. Best body text is #000000 at 15.24:1 contrast (WCAG AA passes).

Color values

HEX#D4E398
RGBrgb(212, 227, 152)
HSLhsl(72, 57%, 74%)
HSVhsv(72, 33%, 89%)
CMYKcmyk(6.6%, 0%, 33%, 11%)
CIE-LABlab(87.58, -16.88, 35.03)
CIE-LCHlch(87.58, 38.89, 115.72°)
OKLaboklab(88.7% -0.0456 0.0869)
OKLCHoklch(88.7% 0.098 117.7)
XYZxyz(60.2879, 71.2026, 40.2671)
Luminance0.7120 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4E398 #A798E3
analogous
#E3CD98 #D4E398 #AFE398
triadic
#D4E398 #98D4E3 #E398D4
tetradic
#D4E398 #98E3CD #A798E3 #E398AF
square
#D4E398 #98E3CD #A798E3 #E398AF
split-complementary
#D4E398 #98AFE3 #CD98E3
monochromatic
#ACC938 #C0D668 #D4E398 #E8F0C8 #F5F8E7

Accessibility & contrast

On white

1.38
#D4E398 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.24
#D4E398 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4E398
15.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4E398#FFFFFF#000000##000000
##D4E3981.001.3815.2415.24
#FFFFFF1.381.0021.0021.00
#00000015.2421.001.001.00
##00000015.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#EDDB93
Deuteranopia (green-blind)
#EBDC9B
Tritanopia (blue-blind)
#DBDBD0
Achromatopsia (no color)
#DBDBDB

Design tokens & code

CSS
--color: #d4e398;
/* rgb */ color: rgb(212, 227, 152);
/* oklch */ color: oklch(88.7% 0.098 117.7);
Tailwind
colors: {
  custom: {
    50: '#e2ebb7',
    500: '#d4e398',
    950: '#000000',
  },
}
SCSS
$custom: #d4e398;
$custom-light: #e2ebb7;
$custom-dark: #000000;
JSON
{
  "hex": "#d4e398",
  "rgb": {
    "r": 212,
    "g": 227,
    "b": 152
  },
  "hsl": {
    "h": 72,
    "s": 57.252,
    "l": 74.314
  },
  "oklch": {
    "l": 0.887,
    "c": 0.09815,
    "h": 117.7
  },
  "luminance": 0.71202
}

Semantic roles & 50–950 ramp

primary
#D4E398
secondary
#7563BC
accent
#21C542
background
#FEFEFD
surface
#FCFDF8
border
#D5D5D1
text
#151611
muted
#848481

Preview Lab

Preview with #D4E398

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

Preview Lab → · Contrast checker → · Palette generator →

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