#D4E97A#D4E97A

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

Color values

HEX#D4E97A
RGBrgb(212, 233, 122)
HSLhsl(71, 72%, 70%)
HSVhsv(71, 48%, 91%)
CMYKcmyk(9%, 0%, 47.6%, 8.6%)
CIE-LABlab(88.77, -23.15, 51.25)
CIE-LCHlch(88.77, 56.24, 114.31°)
OKLaboklab(89.51% -0.0653 0.1223)
OKLCHoklch(89.51% 0.139 118.1)
XYZxyz(59.8037, 73.6804, 29.4798)
Luminance0.7368 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4E97A #8F7AE9
analogous
#E9C67A #D4E97A #9DE97A
triadic
#D4E97A #7AD4E9 #E97AD4
tetradic
#D4E97A #7AE9C6 #8F7AE9 #E97A9D
square
#D4E97A #7AE9C6 #8F7AE9 #E97A9D
split-complementary
#D4E97A #7A9DE9 #C67AE9
monochromatic
#A8C821 #C3E045 #D4E97A #E5F2AF #F6FAE3

Accessibility & contrast

On white

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

On black

15.74
#D4E97A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4E97A
15.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4E97A#FFFFFF#000000##000000
##D4E97A1.001.3315.7415.74
#FFFFFF1.331.0021.0021.00
#00000015.7421.001.001.00
##00000015.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#F6DF70
Deuteranopia (green-blind)
#F3DF80
Tritanopia (blue-blind)
#DEDFCF
Achromatopsia (no color)
#DFDFDF

Design tokens & code

CSS
--color: #d4e97a;
/* rgb */ color: rgb(212, 233, 122);
/* oklch */ color: oklch(89.5% 0.139 118.1);
Tailwind
colors: {
  custom: {
    50: '#e3f0a3',
    500: '#d4e97a',
    950: '#000000',
  },
}
SCSS
$custom: #d4e97a;
$custom-light: #e3f0a3;
$custom-dark: #000000;
JSON
{
  "hex": "#d4e97a",
  "rgb": {
    "r": 212,
    "g": 233,
    "b": 122
  },
  "hsl": {
    "h": 71.351,
    "s": 71.613,
    "l": 69.608
  },
  "oklch": {
    "l": 0.89514,
    "c": 0.13864,
    "h": 118.1
  },
  "luminance": 0.7368
}

Semantic roles & 50–950 ramp

primary
#D4E97A
secondary
#5D46C1
accent
#12D437
background
#FEFFFC
surface
#FCFEF6
border
#D5D6D0
text
#16160F
muted
#848580

Preview Lab

Preview with #D4E97A

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

Preview Lab → · Contrast checker → · Palette generator →

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