#D4E870#D4E870

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

Color values

HEX#D4E870
RGBrgb(212, 232, 112)
HSLhsl(70, 72%, 67%)
HSVhsv(70, 52%, 91%)
CMYKcmyk(8.6%, 0%, 51.7%, 9%)
CIE-LABlab(88.39, -23.60, 55.45)
CIE-LCHlch(88.39, 60.26, 113.06°)
OKLaboklab(89.17% -0.0675 0.1306)
OKLCHoklch(89.17% 0.147 117.3)
XYZxyz(58.9334, 72.8807, 26.2888)
Luminance0.7288 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4E870 #8470E8
analogous
#E8C070 #D4E870 #98E870
triadic
#D4E870 #70D4E8 #E870D4
tetradic
#D4E870 #70E8C0 #8470E8 #E87098
square
#D4E870 #70E8C0 #8470E8 #E87098
split-complementary
#D4E870 #7098E8 #C070E8
monochromatic
#A4BF1F #C4E03B #D4E870 #E4F0A5 #F4F9D9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D4E870#FFFFFF#000000##000000
##D4E8701.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)
#F5DD65
Deuteranopia (green-blind)
#F3DF77
Tritanopia (blue-blind)
#DFDDCD
Achromatopsia (no color)
#DEDEDE

Design tokens & code

CSS
--color: #d4e870;
/* rgb */ color: rgb(212, 232, 112);
/* oklch */ color: oklch(89.2% 0.147 117.3);
Tailwind
colors: {
  custom: {
    50: '#e3ef9c',
    500: '#d4e870',
    950: '#000000',
  },
}
SCSS
$custom: #d4e870;
$custom-light: #e3ef9c;
$custom-dark: #000000;
JSON
{
  "hex": "#d4e870",
  "rgb": {
    "r": 212,
    "g": 232,
    "b": 112
  },
  "hsl": {
    "h": 70,
    "s": 72.289,
    "l": 67.451
  },
  "oklch": {
    "l": 0.89173,
    "c": 0.14703,
    "h": 117.3
  },
  "luminance": 0.7288
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D4E870

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

Preview Lab → · Contrast checker → · Palette generator →

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