#D2F970#D2F970

#D2F970 is a very light, vivid yellow-green. Relative luminance 0.826; OKLCH L 92.7% C 0.169 H 123.0°. Best body text is #000000 at 17.52:1 contrast (WCAG AA passes).

Color values

HEX#D2F970
RGBrgb(210, 249, 112)
HSLhsl(77, 92%, 71%)
HSVhsv(77, 55%, 98%)
CMYKcmyk(15.7%, 0%, 55%, 2.4%)
CIE-LABlab(92.85, -32.35, 60.59)
CIE-LCHlch(92.85, 68.68, 118.10°)
OKLaboklab(92.72% -0.092 0.1417)
OKLCHoklch(92.72% 0.169 123)
XYZxyz(63.3790, 82.6226, 27.9349)
Luminance0.8262 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2F970 #9770F9
analogous
#F9DB70 #D2F970 #8DF970
triadic
#D2F970 #70D2F9 #F970D2
tetradic
#D2F970 #70F9DB #9770F9 #F9708D
square
#D2F970 #70F9DB #9770F9 #F9708D
split-complementary
#D2F970 #708DF9 #DB70F9
monochromatic
#A7E50A #C0F735 #D2F970 #E4FBAB #F6FEE2

Accessibility & contrast

On white

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

On black

17.52
#D2F970 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2F970
17.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2F970#FFFFFF#000000##000000
##D2F9701.001.2017.5217.52
#FFFFFF1.201.0021.0021.00
#00000017.5221.001.001.00
##00000017.5221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d2f970;
/* rgb */ color: rgb(210, 249, 112);
/* oklch */ color: oklch(92.7% 0.169 123.0);
Tailwind
colors: {
  custom: {
    50: '#e2fb9d',
    500: '#d2f970',
    950: '#000000',
  },
}
SCSS
$custom: #d2f970;
$custom-light: #e2fb9d;
$custom-dark: #000000;
JSON
{
  "hex": "#d2f970",
  "rgb": {
    "r": 210,
    "g": 249,
    "b": 112
  },
  "hsl": {
    "h": 77.08,
    "s": 91.946,
    "l": 70.784
  },
  "oklch": {
    "l": 0.9272,
    "c": 0.16898,
    "h": 123
  },
  "luminance": 0.82623
}

Semantic roles & 50–950 ramp

primary
#D2F970
secondary
#6539D4
accent
#00E641
background
#FEFFFC
surface
#FCFFF5
border
#D5D7CF
text
#16170F
muted
#848580

Preview Lab

Preview with #D2F970

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

Preview Lab → · Contrast checker → · Palette generator →

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