#D2F870#D2F870

#D2F870 is a very light, vivid yellow-green. Relative luminance 0.820; OKLCH L 92.5% C 0.168 H 122.7°. Best body text is #000000 at 17.40:1 contrast (WCAG AA passes).

Color values

HEX#D2F870
RGBrgb(210, 248, 112)
HSLhsl(77, 91%, 71%)
HSVhsv(77, 55%, 97%)
CMYKcmyk(15.3%, 0%, 54.8%, 2.7%)
CIE-LABlab(92.58, -31.89, 60.27)
CIE-LCHlch(92.58, 68.19, 117.88°)
OKLaboklab(92.5% -0.0907 0.1411)
OKLCHoklch(92.5% 0.168 122.7)
XYZxyz(63.0708, 82.0061, 27.8321)
Luminance0.8201 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2F870 #9670F8
analogous
#F8DA70 #D2F870 #8EF870
triadic
#D2F870 #70D2F8 #F870D2
tetradic
#D2F870 #70F8DA #9670F8 #F8708E
square
#D2F870 #70F8DA #9670F8 #F8708E
split-complementary
#D2F870 #708EF8 #DA70F8
monochromatic
#A6E30B #C0F536 #D2F870 #E4FBAA #F6FEE2

Accessibility & contrast

On white

1.21
#D2F870 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.40
#D2F870 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2F870
17.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2F870#FFFFFF#000000##000000
##D2F8701.001.2117.4017.40
#FFFFFF1.211.0021.0021.00
#00000017.4021.001.001.00
##00000017.4021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d2f870;
/* rgb */ color: rgb(210, 248, 112);
/* oklch */ color: oklch(92.5% 0.168 122.7);
Tailwind
colors: {
  custom: {
    50: '#e2fa9d',
    500: '#d2f870',
    950: '#000000',
  },
}
SCSS
$custom: #d2f870;
$custom-light: #e2fa9d;
$custom-dark: #000000;
JSON
{
  "hex": "#d2f870",
  "rgb": {
    "r": 210,
    "g": 248,
    "b": 112
  },
  "hsl": {
    "h": 76.765,
    "s": 90.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.92501,
    "c": 0.16771,
    "h": 122.7
  },
  "luminance": 0.82006
}

Semantic roles & 50–950 ramp

primary
#D2F870
secondary
#6439D3
accent
#00E640
background
#FEFFFC
surface
#FCFFF5
border
#D5D7CF
text
#16170F
muted
#848580

Preview Lab

Preview with #D2F870

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

Preview Lab → · Contrast checker → · Palette generator →

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