#D4E871#D4E871

#D4E871 is a very light, vivid yellow-green. Relative luminance 0.729; OKLCH L 89.2% C 0.146 H 117.4°. Best body text is #000000 at 15.58:1 contrast (WCAG AA passes).

Color values

HEX#D4E871
RGBrgb(212, 232, 113)
HSLhsl(70, 72%, 68%)
HSVhsv(70, 51%, 91%)
CMYKcmyk(8.6%, 0%, 51.3%, 9%)
CIE-LABlab(88.40, -23.51, 55.00)
CIE-LCHlch(88.40, 59.82, 113.14°)
OKLaboklab(89.19% -0.0672 0.1297)
OKLCHoklch(89.19% 0.146 117.4)
XYZxyz(58.9894, 72.9031, 26.5837)
Luminance0.7290 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4E871 #8571E8
analogous
#E8C071 #D4E871 #98E871
triadic
#D4E871 #71D4E8 #E871D4
tetradic
#D4E871 #71E8C0 #8571E8 #E87198
square
#D4E871 #71E8C0 #8571E8 #E87198
split-complementary
#D4E871 #7198E8 #C071E8
monochromatic
#A5C01F #C4DF3C #D4E871 #E4F1A6 #F4F9DA

Accessibility & contrast

On white

1.35
#D4E871 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.58
#D4E871 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4E871
15.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4E871#FFFFFF#000000##000000
##D4E8711.001.3515.5815.58
#FFFFFF1.351.0021.0021.00
#00000015.5821.001.001.00
##00000015.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#F5DD66
Deuteranopia (green-blind)
#F3DF78
Tritanopia (blue-blind)
#DFDDCD
Achromatopsia (no color)
#DEDEDE

Design tokens & code

CSS
--color: #d4e871;
/* rgb */ color: rgb(212, 232, 113);
/* oklch */ color: oklch(89.2% 0.146 117.4);
Tailwind
colors: {
  custom: {
    50: '#e3ef9d',
    500: '#d4e871',
    950: '#000000',
  },
}
SCSS
$custom: #d4e871;
$custom-light: #e3ef9d;
$custom-dark: #000000;
JSON
{
  "hex": "#d4e871",
  "rgb": {
    "r": 212,
    "g": 232,
    "b": 113
  },
  "hsl": {
    "h": 70.084,
    "s": 72.121,
    "l": 67.647
  },
  "oklch": {
    "l": 0.89186,
    "c": 0.14609,
    "h": 117.4
  },
  "luminance": 0.72903
}

Semantic roles & 50–950 ramp

primary
#D4E871
secondary
#543FBF
accent
#11D432
background
#FEFFFC
surface
#FCFEF5
border
#D5D6CF
text
#16160E
muted
#84857F

Preview Lab

Preview with #D4E871

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

Preview Lab → · Contrast checker → · Palette generator →

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