#D4F870#D4F870

#D4F870 is a very light, vivid yellow-green. Relative luminance 0.823; OKLCH L 92.6% C 0.167 H 122.1°. Best body text is #000000 at 17.46:1 contrast (WCAG AA passes).

Color values

HEX#D4F870
RGBrgb(212, 248, 112)
HSLhsl(76, 91%, 71%)
HSVhsv(76, 55%, 97%)
CMYKcmyk(14.5%, 0%, 54.8%, 2.7%)
CIE-LABlab(92.71, -31.14, 60.46)
CIE-LCHlch(92.71, 68.01, 117.25°)
OKLaboklab(92.64% -0.0887 0.1415)
OKLCHoklch(92.64% 0.167 122.1)
XYZxyz(63.6439, 82.3016, 27.8590)
Luminance0.8230 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4F870 #9470F8
analogous
#F8D870 #D4F870 #90F870
triadic
#D4F870 #70D4F8 #F870D4
tetradic
#D4F870 #70F8D8 #9470F8 #F87090
square
#D4F870 #70F8D8 #9470F8 #F87090
split-complementary
#D4F870 #7090F8 #D870F8
monochromatic
#A9E30B #C2F536 #D4F870 #E6FBAA #F6FEE2

Accessibility & contrast

On white

1.20
#D4F870 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.46
#D4F870 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4F870
17.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4F870#FFFFFF#000000##000000
##D4F8701.001.2017.4617.46
#FFFFFF1.201.0021.0021.00
#00000017.4621.001.001.00
##00000017.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB62
Deuteranopia (green-blind)
#FFEA79
Tritanopia (blue-blind)
#DDEDDA
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #d4f870;
/* rgb */ color: rgb(212, 248, 112);
/* oklch */ color: oklch(92.6% 0.167 122.1);
Tailwind
colors: {
  custom: {
    50: '#e4fa9d',
    500: '#d4f870',
    950: '#000000',
  },
}
SCSS
$custom: #d4f870;
$custom-light: #e4fa9d;
$custom-dark: #000000;
JSON
{
  "hex": "#d4f870",
  "rgb": {
    "r": 212,
    "g": 248,
    "b": 112
  },
  "hsl": {
    "h": 75.882,
    "s": 90.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.92639,
    "c": 0.16696,
    "h": 122.1
  },
  "luminance": 0.82302
}

Semantic roles & 50–950 ramp

primary
#D4F870
secondary
#6239D3
accent
#00E63D
background
#FEFFFC
surface
#FCFFF5
border
#D5D7CF
text
#16170F
muted
#848580

Preview Lab

Preview with #D4F870

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

Preview Lab → · Contrast checker → · Palette generator →

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