#D4E97C#D4E97C

#D4E97C is a very light, vivid yellow-green. Relative luminance 0.737; OKLCH L 89.5% C 0.137 H 118.2°. Best body text is #000000 at 15.75:1 contrast (WCAG AA passes).

Color values

HEX#D4E97C
RGBrgb(212, 233, 124)
HSLhsl(72, 71%, 70%)
HSVhsv(72, 47%, 91%)
CMYKcmyk(9%, 0%, 46.8%, 8.6%)
CIE-LABlab(88.80, -22.95, 50.34)
CIE-LCHlch(88.80, 55.32, 114.51°)
OKLaboklab(89.54% -0.0646 0.1204)
OKLCHoklch(89.54% 0.137 118.2)
XYZxyz(59.9289, 73.7305, 30.1392)
Luminance0.7373 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4E97C #917CE9
analogous
#E9C87C #D4E97C #9DE97C
triadic
#D4E97C #7CD4E9 #E97CD4
tetradic
#D4E97C #7CE9C8 #917CE9 #E97C9D
square
#D4E97C #7CE9C8 #917CE9 #E97C9D
split-complementary
#D4E97C #7C9DE9 #C87CE9
monochromatic
#A9C922 #C3E048 #D4E97C #E5F2B0 #F6FBE5

Accessibility & contrast

On white

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

On black

15.75
#D4E97C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4E97C
15.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4E97C#FFFFFF#000000##000000
##D4E97C1.001.3315.7515.75
#FFFFFF1.331.0021.0021.00
#00000015.7521.001.001.00
##00000015.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#F5DF73
Deuteranopia (green-blind)
#F3E082
Tritanopia (blue-blind)
#DEDFD0
Achromatopsia (no color)
#DFDFDF

Design tokens & code

CSS
--color: #d4e97c;
/* rgb */ color: rgb(212, 233, 124);
/* oklch */ color: oklch(89.5% 0.137 118.2);
Tailwind
colors: {
  custom: {
    50: '#e3f0a4',
    500: '#d4e97c',
    950: '#000000',
  },
}
SCSS
$custom: #d4e97c;
$custom-light: #e3f0a4;
$custom-dark: #000000;
JSON
{
  "hex": "#d4e97c",
  "rgb": {
    "r": 212,
    "g": 233,
    "b": 124
  },
  "hsl": {
    "h": 71.56,
    "s": 71.242,
    "l": 70
  },
  "oklch": {
    "l": 0.89541,
    "c": 0.13664,
    "h": 118.2
  },
  "luminance": 0.7373
}

Semantic roles & 50–950 ramp

primary
#D4E97C
secondary
#5F48C2
accent
#12D337
background
#FEFFFC
surface
#FCFEF6
border
#D5D6D0
text
#16160F
muted
#848580

Preview Lab

Preview with #D4E97C

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

Preview Lab → · Contrast checker → · Palette generator →

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