#D4E971#D4E971

#D4E971 is a very light, vivid yellow-green. Relative luminance 0.735; OKLCH L 89.4% C 0.147 H 117.7°. Best body text is #000000 at 15.69:1 contrast (WCAG AA passes).

Color values

HEX#D4E971
RGBrgb(212, 233, 113)
HSLhsl(71, 73%, 68%)
HSVhsv(71, 52%, 91%)
CMYKcmyk(9%, 0%, 51.5%, 8.6%)
CIE-LABlab(88.67, -23.99, 55.32)
CIE-LCHlch(88.67, 60.30, 113.44°)
OKLaboklab(89.4% -0.0685 0.1304)
OKLCHoklch(89.4% 0.147 117.7)
XYZxyz(59.2717, 73.4676, 26.6778)
Luminance0.7347 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4E971 #8671E9
analogous
#E9C271 #D4E971 #98E971
triadic
#D4E971 #71D4E9 #E971D4
tetradic
#D4E971 #71E9C2 #8671E9 #E97198
square
#D4E971 #71E9C2 #8671E9 #E97198
split-complementary
#D4E971 #7198E9 #C271E9
monochromatic
#A5C21E #C4E13C #D4E971 #E4F1A6 #F4F9DB

Accessibility & contrast

On white

1.34
#D4E971 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.69
#D4E971 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4E971
15.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4E971#FFFFFF#000000##000000
##D4E9711.001.3415.6915.69
#FFFFFF1.341.0021.0021.00
#00000015.6921.001.001.00
##00000015.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#F6DE66
Deuteranopia (green-blind)
#F4DF78
Tritanopia (blue-blind)
#DFDECE
Achromatopsia (no color)
#DFDFDF

Design tokens & code

CSS
--color: #d4e971;
/* rgb */ color: rgb(212, 233, 113);
/* oklch */ color: oklch(89.4% 0.147 117.7);
Tailwind
colors: {
  custom: {
    50: '#e3f09d',
    500: '#d4e971',
    950: '#000000',
  },
}
SCSS
$custom: #d4e971;
$custom-light: #e3f09d;
$custom-dark: #000000;
JSON
{
  "hex": "#d4e971",
  "rgb": {
    "r": 212,
    "g": 233,
    "b": 113
  },
  "hsl": {
    "h": 70.5,
    "s": 73.171,
    "l": 67.843
  },
  "oklch": {
    "l": 0.89401,
    "c": 0.14733,
    "h": 117.7
  },
  "luminance": 0.73467
}

Semantic roles & 50–950 ramp

primary
#D4E971
secondary
#553EC0
accent
#10D533
background
#FEFFFC
surface
#FCFEF5
border
#D5D6CF
text
#16160E
muted
#84857F

Preview Lab

Preview with #D4E971

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

Preview Lab → · Contrast checker → · Palette generator →

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