#D2F672#D2F672

#D2F672 is a very light, vivid yellow-green. Relative luminance 0.808; OKLCH L 92.1% C 0.163 H 122.3°. Best body text is #000000 at 17.17:1 contrast (WCAG AA passes).

Color values

HEX#D2F672
RGBrgb(210, 246, 114)
HSLhsl(76, 88%, 71%)
HSVhsv(76, 54%, 96%)
CMYKcmyk(14.6%, 0%, 53.7%, 3.5%)
CIE-LABlab(92.06, -30.79, 58.78)
CIE-LCHlch(92.06, 66.36, 117.65°)
OKLaboklab(92.09% -0.0874 0.1381)
OKLCHoklch(92.09% 0.163 122.3)
XYZxyz(62.5718, 80.8279, 28.2213)
Luminance0.8083 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2F672 #9672F6
analogous
#F6D872 #D2F672 #90F672
triadic
#D2F672 #72D2F6 #F672D2
tetradic
#D2F672 #72F6D8 #9672F6 #F67290
square
#D2F672 #72F6D8 #9672F6 #F67290
split-complementary
#D2F672 #7290F6 #D872F6
monochromatic
#A6DF0E #C0F238 #D2F672 #E4FAAC #F6FDE2

Accessibility & contrast

On white

1.22
#D2F672 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.17
#D2F672 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2F672
17.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2F672#FFFFFF#000000##000000
##D2F6721.001.2217.1717.17
#FFFFFF1.221.0021.0021.00
#00000017.1721.001.001.00
##00000017.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE965
Deuteranopia (green-blind)
#FEE87A
Tritanopia (blue-blind)
#DBEBD9
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #d2f672;
/* rgb */ color: rgb(210, 246, 114);
/* oklch */ color: oklch(92.1% 0.163 122.3);
Tailwind
colors: {
  custom: {
    50: '#e2f99e',
    500: '#d2f672',
    950: '#000000',
  },
}
SCSS
$custom: #d2f672;
$custom-light: #e2f99e;
$custom-dark: #000000;
JSON
{
  "hex": "#d2f672",
  "rgb": {
    "r": 210,
    "g": 246,
    "b": 114
  },
  "hsl": {
    "h": 76.364,
    "s": 88,
    "l": 70.588
  },
  "oklch": {
    "l": 0.92087,
    "c": 0.16342,
    "h": 122.3
  },
  "luminance": 0.80828
}

Semantic roles & 50–950 ramp

primary
#D2F672
secondary
#643CD1
accent
#01E53F
background
#FEFFFC
surface
#FCFFF5
border
#D5D7CF
text
#16170F
muted
#848580

Preview Lab

Preview with #D2F672

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

Preview Lab → · Contrast checker → · Palette generator →

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