#D4E97F#D4E97F

#D4E97F is a very light, vivid yellow-green. Relative luminance 0.738; OKLCH L 89.6% C 0.134 H 118.4°. Best body text is #000000 at 15.76:1 contrast (WCAG AA passes).

Color values

HEX#D4E97F
RGBrgb(212, 233, 127)
HSLhsl(72, 71%, 71%)
HSVhsv(72, 45%, 91%)
CMYKcmyk(9%, 0%, 45.5%, 8.6%)
CIE-LABlab(88.83, -22.65, 48.95)
CIE-LCHlch(88.83, 53.94, 114.83°)
OKLaboklab(89.58% -0.0635 0.1175)
OKLCHoklch(89.58% 0.134 118.4)
XYZxyz(60.1215, 73.8076, 31.1536)
Luminance0.7381 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4E97F #947FE9
analogous
#E9C97F #D4E97F #9FE97F
triadic
#D4E97F #7FD4E9 #E97FD4
tetradic
#D4E97F #7FE9C9 #947FE9 #E97F9F
square
#D4E97F #7FE9C9 #947FE9 #E97F9F
split-complementary
#D4E97F #7F9FE9 #C97FE9
monochromatic
#A9CB23 #C2E04B #D4E97F #E6F2B3 #F6FBE5

Accessibility & contrast

On white

1.33
#D4E97F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.76
#D4E97F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4E97F
15.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4E97F#FFFFFF#000000##000000
##D4E97F1.001.3315.7615.76
#FFFFFF1.331.0021.0021.00
#00000015.7621.001.001.00
##00000015.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#F5DF76
Deuteranopia (green-blind)
#F3E085
Tritanopia (blue-blind)
#DDDFD0
Achromatopsia (no color)
#DFDFDF

Design tokens & code

CSS
--color: #d4e97f;
/* rgb */ color: rgb(212, 233, 127);
/* oklch */ color: oklch(89.6% 0.134 118.4);
Tailwind
colors: {
  custom: {
    50: '#e3f0a6',
    500: '#d4e97f',
    950: '#000000',
  },
}
SCSS
$custom: #d4e97f;
$custom-light: #e3f0a6;
$custom-dark: #000000;
JSON
{
  "hex": "#d4e97f",
  "rgb": {
    "r": 212,
    "g": 233,
    "b": 127
  },
  "hsl": {
    "h": 71.887,
    "s": 70.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.89582,
    "c": 0.1336,
    "h": 118.4
  },
  "luminance": 0.73807
}

Semantic roles & 50–950 ramp

primary
#D4E97F
secondary
#624AC2
accent
#13D339
background
#FEFFFC
surface
#FCFEF6
border
#D5D6D0
text
#16160F
muted
#848580

Preview Lab

Preview with #D4E97F

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

Preview Lab → · Contrast checker → · Palette generator →

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