#D2F371#D2F371

#D2F371 is a very light, vivid yellow-green. Relative luminance 0.790; OKLCH L 91.4% C 0.161 H 121.5°. Best body text is #000000 at 16.80:1 contrast (WCAG AA passes).

Color values

HEX#D2F371
RGBrgb(210, 243, 113)
HSLhsl(75, 84%, 70%)
HSVhsv(75, 53%, 95%)
CMYKcmyk(13.6%, 0%, 53.5%, 4.7%)
CIE-LABlab(91.23, -29.49, 58.28)
CIE-LCHlch(91.23, 65.31, 116.84°)
OKLaboklab(91.42% -0.0839 0.1369)
OKLCHoklch(91.42% 0.161 121.5)
XYZxyz(61.6100, 78.9951, 27.6214)
Luminance0.7900 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2F371 #9271F3
analogous
#F3D371 #D2F371 #91F371
triadic
#D2F371 #71D2F3 #F371D2
tetradic
#D2F371 #71F3D3 #9271F3 #F37191
square
#D2F371 #71F3D3 #9271F3 #F37191
split-complementary
#D2F371 #7191F3 #D371F3
monochromatic
#A5D712 #C0EE39 #D2F371 #E4F8A9 #F6FDE2

Accessibility & contrast

On white

1.25
#D2F371 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.80
#D2F371 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2F371
16.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2F371#FFFFFF#000000##000000
##D2F3711.001.2516.8016.80
#FFFFFF1.251.0021.0021.00
#00000016.8021.001.001.00
##00000016.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE664
Deuteranopia (green-blind)
#FCE679
Tritanopia (blue-blind)
#DBE8D6
Achromatopsia (no color)
#E6E6E6

Design tokens & code

CSS
--color: #d2f371;
/* rgb */ color: rgb(210, 243, 113);
/* oklch */ color: oklch(91.4% 0.161 121.5);
Tailwind
colors: {
  custom: {
    50: '#e2f79d',
    500: '#d2f371',
    950: '#000000',
  },
}
SCSS
$custom: #d2f371;
$custom-light: #e2f79d;
$custom-dark: #000000;
JSON
{
  "hex": "#d2f371",
  "rgb": {
    "r": 210,
    "g": 243,
    "b": 113
  },
  "hsl": {
    "h": 75.231,
    "s": 84.416,
    "l": 69.804
  },
  "oklch": {
    "l": 0.91422,
    "c": 0.16052,
    "h": 121.5
  },
  "luminance": 0.78995
}

Semantic roles & 50–950 ramp

primary
#D2F371
secondary
#603BCD
accent
#05E13D
background
#FEFFFC
surface
#FCFEF5
border
#D5D6CF
text
#16170F
muted
#848580

Preview Lab

Preview with #D2F371

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

Preview Lab → · Contrast checker → · Palette generator →

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