#D2F972#D2F972

#D2F972 is a very light, vivid yellow-green. Relative luminance 0.827; OKLCH L 92.7% C 0.167 H 123.1°. Best body text is #000000 at 17.53:1 contrast (WCAG AA passes).

Color values

HEX#D2F972
RGBrgb(210, 249, 114)
HSLhsl(77, 92%, 71%)
HSVhsv(77, 54%, 98%)
CMYKcmyk(15.7%, 0%, 54.2%, 2.4%)
CIE-LABlab(92.87, -32.18, 59.73)
CIE-LCHlch(92.87, 67.84, 118.32°)
OKLaboklab(92.74% -0.0913 0.1401)
OKLCHoklch(92.74% 0.167 123.1)
XYZxyz(63.4916, 82.6677, 28.5279)
Luminance0.8267 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2F972 #9972F9
analogous
#F9DC72 #D2F972 #8EF972
triadic
#D2F972 #72D2F9 #F972D2
tetradic
#D2F972 #72F9DC #9972F9 #F9728E
square
#D2F972 #72F9DC #9972F9 #F9728E
split-complementary
#D2F972 #728EF9 #DC72F9
monochromatic
#A7E70A #BFF737 #D2F972 #E5FBAD #F6FEE2

Accessibility & contrast

On white

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

On black

17.53
#D2F972 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2F972
17.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2F972#FFFFFF#000000##000000
##D2F9721.001.2017.5317.53
#FFFFFF1.201.0021.0021.00
#00000017.5321.001.001.00
##00000017.5321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d2f972;
/* rgb */ color: rgb(210, 249, 114);
/* oklch */ color: oklch(92.7% 0.167 123.1);
Tailwind
colors: {
  custom: {
    50: '#e2fb9e',
    500: '#d2f972',
    950: '#000000',
  },
}
SCSS
$custom: #d2f972;
$custom-light: #e2fb9e;
$custom-dark: #000000;
JSON
{
  "hex": "#d2f972",
  "rgb": {
    "r": 210,
    "g": 249,
    "b": 114
  },
  "hsl": {
    "h": 77.333,
    "s": 91.837,
    "l": 71.176
  },
  "oklch": {
    "l": 0.92742,
    "c": 0.16723,
    "h": 123.1
  },
  "luminance": 0.82668
}

Semantic roles & 50–950 ramp

primary
#D2F972
secondary
#673BD4
accent
#00E642
background
#FEFFFC
surface
#FCFFF5
border
#D5D7CF
text
#16170F
muted
#848580

Preview Lab

Preview with #D2F972

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

Preview Lab → · Contrast checker → · Palette generator →

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