#D2F671#D2F671

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

Color values

HEX#D2F671
RGBrgb(210, 246, 113)
HSLhsl(76, 88%, 70%)
HSVhsv(76, 54%, 96%)
CMYKcmyk(14.6%, 0%, 54.1%, 3.5%)
CIE-LABlab(92.05, -30.88, 59.22)
CIE-LCHlch(92.05, 66.79, 117.54°)
OKLaboklab(92.08% -0.0878 0.1389)
OKLCHoklch(92.08% 0.164 122.3)
XYZxyz(62.5151, 80.8053, 27.9231)
Luminance0.8081 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2F671 #9571F6
analogous
#F6D871 #D2F671 #8FF671
triadic
#D2F671 #71D2F6 #F671D2
tetradic
#D2F671 #71F6D8 #9571F6 #F6718F
square
#D2F671 #71F6D8 #9571F6 #F6718F
split-complementary
#D2F671 #718FF6 #D871F6
monochromatic
#A6DE0E #C0F237 #D2F671 #E4FAAB #F6FDE2

Accessibility & contrast

On white

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

On black

17.16
#D2F671 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2F671
17.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2F671#FFFFFF#000000##000000
##D2F6711.001.2217.1617.16
#FFFFFF1.221.0021.0021.00
#00000017.1621.001.001.00
##00000017.1621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d2f671;
/* rgb */ color: rgb(210, 246, 113);
/* oklch */ color: oklch(92.1% 0.164 122.3);
Tailwind
colors: {
  custom: {
    50: '#e2f99d',
    500: '#d2f671',
    950: '#000000',
  },
}
SCSS
$custom: #d2f671;
$custom-light: #e2f99d;
$custom-dark: #000000;
JSON
{
  "hex": "#d2f671",
  "rgb": {
    "r": 210,
    "g": 246,
    "b": 113
  },
  "hsl": {
    "h": 76.241,
    "s": 88.079,
    "l": 70.392
  },
  "oklch": {
    "l": 0.92076,
    "c": 0.16431,
    "h": 122.3
  },
  "luminance": 0.80805
}

Semantic roles & 50–950 ramp

primary
#D2F671
secondary
#633BD0
accent
#01E53F
background
#FEFFFC
surface
#FCFFF5
border
#D5D7CF
text
#16170F
muted
#848580

Preview Lab

Preview with #D2F671

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

Preview Lab → · Contrast checker → · Palette generator →

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