#D4E997#D4E997

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

Color values

HEX#D4E997
RGBrgb(212, 233, 151)
HSLhsl(75, 65%, 75%)
HSVhsv(75, 35%, 91%)
CMYKcmyk(9%, 0%, 35.2%, 8.6%)
CIE-LABlab(89.16, -19.95, 37.61)
CIE-LCHlch(89.16, 42.57, 117.94°)
OKLaboklab(89.96% -0.0543 0.0929)
OKLCHoklch(89.96% 0.108 120.3)
XYZxyz(61.8760, 74.5094, 40.3942)
Luminance0.7451 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4E997 #AC97E9
analogous
#E9D597 #D4E997 #ABE997
triadic
#D4E997 #97D4E9 #E997D4
tetradic
#D4E997 #97E9D5 #AC97E9 #E997AB
square
#D4E997 #97E9D5 #AC97E9 #E997AB
split-complementary
#D4E997 #97ABE9 #D597E9
monochromatic
#AAD432 #BFDE64 #D4E997 #E9F4CA #F5FAE6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D4E997#FFFFFF#000000##000000
##D4E9971.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)
#F3E091
Deuteranopia (green-blind)
#F0E09B
Tritanopia (blue-blind)
#DBE1D4
Achromatopsia (no color)
#E0E0E0

Design tokens & code

CSS
--color: #d4e997;
/* rgb */ color: rgb(212, 233, 151);
/* oklch */ color: oklch(90.0% 0.108 120.3);
Tailwind
colors: {
  custom: {
    50: '#e2f0b6',
    500: '#d4e997',
    950: '#000000',
  },
}
SCSS
$custom: #d4e997;
$custom-light: #e2f0b6;
$custom-dark: #000000;
JSON
{
  "hex": "#d4e997",
  "rgb": {
    "r": 212,
    "g": 233,
    "b": 151
  },
  "hsl": {
    "h": 75.366,
    "s": 65.079,
    "l": 75.294
  },
  "oklch": {
    "l": 0.89955,
    "c": 0.10761,
    "h": 120.3
  },
  "luminance": 0.74509
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D4E997

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

Preview Lab → · Contrast checker → · Palette generator →

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