#D4E97B#D4E97B

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

Color values

HEX#D4E97B
RGBrgb(212, 233, 123)
HSLhsl(71, 71%, 70%)
HSVhsv(71, 47%, 91%)
CMYKcmyk(9%, 0%, 47.2%, 8.6%)
CIE-LABlab(88.78, -23.05, 50.80)
CIE-LCHlch(88.78, 55.78, 114.41°)
OKLaboklab(89.53% -0.065 0.1213)
OKLCHoklch(89.53% 0.138 118.2)
XYZxyz(59.8660, 73.7053, 29.8078)
Luminance0.7370 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4E97B #907BE9
analogous
#E9C77B #D4E97B #9DE97B
triadic
#D4E97B #7BD4E9 #E97BD4
tetradic
#D4E97B #7BE9C7 #907BE9 #E97B9D
square
#D4E97B #7BE9C7 #907BE9 #E97B9D
split-complementary
#D4E97B #7B9DE9 #C77BE9
monochromatic
#A8C821 #C3E047 #D4E97B #E5F2AF #F6FAE4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D4E97B#FFFFFF#000000##000000
##D4E97B1.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)
#F6DF71
Deuteranopia (green-blind)
#F3E081
Tritanopia (blue-blind)
#DEDFCF
Achromatopsia (no color)
#DFDFDF

Design tokens & code

CSS
--color: #d4e97b;
/* rgb */ color: rgb(212, 233, 123);
/* oklch */ color: oklch(89.5% 0.138 118.2);
Tailwind
colors: {
  custom: {
    50: '#e3f0a3',
    500: '#d4e97b',
    950: '#000000',
  },
}
SCSS
$custom: #d4e97b;
$custom-light: #e3f0a3;
$custom-dark: #000000;
JSON
{
  "hex": "#d4e97b",
  "rgb": {
    "r": 212,
    "g": 233,
    "b": 123
  },
  "hsl": {
    "h": 71.455,
    "s": 71.429,
    "l": 69.804
  },
  "oklch": {
    "l": 0.89528,
    "c": 0.13765,
    "h": 118.2
  },
  "luminance": 0.73705
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D4E97B

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

Preview Lab → · Contrast checker → · Palette generator →

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