#D2F173#D2F173

#D2F173 is a very light, vivid yellow-green. Relative luminance 0.778; OKLCH L 91.0% C 0.156 H 121.1°. Best body text is #000000 at 16.57:1 contrast (WCAG AA passes).

Color values

HEX#D2F173
RGBrgb(210, 241, 115)
HSLhsl(75, 82%, 70%)
HSVhsv(75, 52%, 95%)
CMYKcmyk(12.9%, 0%, 52.3%, 5.5%)
CIE-LABlab(90.71, -28.37, 56.77)
CIE-LCHlch(90.71, 63.46, 116.56°)
OKLaboklab(91.01% -0.0806 0.1338)
OKLCHoklch(91.01% 0.156 121.1)
XYZxyz(61.1286, 77.8501, 28.0225)
Luminance0.7785 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2F173 #9273F1
analogous
#F1D173 #D2F173 #93F173
triadic
#D2F173 #73D2F1 #F173D2
tetradic
#D2F173 #73F1D1 #9273F1 #F17393
square
#D2F173 #73F1D1 #9273F1 #F17393
split-complementary
#D2F173 #7393F1 #D173F1
monochromatic
#A5D415 #C0EB3B #D2F173 #E4F7AB #F6FCE2

Accessibility & contrast

On white

1.27
#D2F173 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.57
#D2F173 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2F173
16.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2F173#FFFFFF#000000##000000
##D2F1731.001.2716.5716.57
#FFFFFF1.271.0021.0021.00
#00000016.5721.001.001.00
##00000016.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FEE567
Deuteranopia (green-blind)
#FAE57A
Tritanopia (blue-blind)
#DBE6D5
Achromatopsia (no color)
#E4E4E4

Design tokens & code

CSS
--color: #d2f173;
/* rgb */ color: rgb(210, 241, 115);
/* oklch */ color: oklch(91.0% 0.156 121.1);
Tailwind
colors: {
  custom: {
    50: '#e2f59e',
    500: '#d2f173',
    950: '#000000',
  },
}
SCSS
$custom: #d2f173;
$custom-light: #e2f59e;
$custom-dark: #000000;
JSON
{
  "hex": "#d2f173",
  "rgb": {
    "r": 210,
    "g": 241,
    "b": 115
  },
  "hsl": {
    "h": 74.762,
    "s": 81.818,
    "l": 69.804
  },
  "oklch": {
    "l": 0.91011,
    "c": 0.15616,
    "h": 121.1
  },
  "luminance": 0.7785
}

Semantic roles & 50–950 ramp

primary
#D2F173
secondary
#603ECA
accent
#07DE3C
background
#FEFFFC
surface
#FCFEF5
border
#D5D6CF
text
#16170F
muted
#848580

Preview Lab

Preview with #D2F173

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

Preview Lab → · Contrast checker → · Palette generator →

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