#D2F174#D2F174

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

Color values

HEX#D2F174
RGBrgb(210, 241, 116)
HSLhsl(75, 82%, 70%)
HSVhsv(75, 52%, 95%)
CMYKcmyk(12.9%, 0%, 51.9%, 5.5%)
CIE-LABlab(90.72, -28.28, 56.33)
CIE-LCHlch(90.72, 63.03, 116.66°)
OKLaboklab(91.02% -0.0802 0.1329)
OKLCHoklch(91.02% 0.155 121.1)
XYZxyz(61.1865, 77.8732, 28.3272)
Luminance0.7787 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2F174 #9374F1
analogous
#F1D174 #D2F174 #94F174
triadic
#D2F174 #74D2F1 #F174D2
tetradic
#D2F174 #74F1D1 #9374F1 #F17494
square
#D2F174 #74F1D1 #9374F1 #F17494
split-complementary
#D2F174 #7494F1 #D174F1
monochromatic
#A6D515 #C0EB3C #D2F174 #E4F7AC #F6FCE3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D2F174#FFFFFF#000000##000000
##D2F1741.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)
#FEE568
Deuteranopia (green-blind)
#FAE57B
Tritanopia (blue-blind)
#DBE6D5
Achromatopsia (no color)
#E4E4E4

Design tokens & code

CSS
--color: #d2f174;
/* rgb */ color: rgb(210, 241, 116);
/* oklch */ color: oklch(91.0% 0.155 121.1);
Tailwind
colors: {
  custom: {
    50: '#e2f59f',
    500: '#d2f174',
    950: '#000000',
  },
}
SCSS
$custom: #d2f174;
$custom-light: #e2f59f;
$custom-dark: #000000;
JSON
{
  "hex": "#d2f174",
  "rgb": {
    "r": 210,
    "g": 241,
    "b": 116
  },
  "hsl": {
    "h": 74.88,
    "s": 81.699,
    "l": 70
  },
  "oklch": {
    "l": 0.91022,
    "c": 0.15524,
    "h": 121.1
  },
  "luminance": 0.77873
}

Semantic roles & 50–950 ramp

primary
#D2F174
secondary
#613FCB
accent
#07DE3D
background
#FEFFFC
surface
#FCFEF5
border
#D5D6CF
text
#16170F
muted
#848580

Preview Lab

Preview with #D2F174

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

Preview Lab → · Contrast checker → · Palette generator →

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