#D2F178#D2F178

#D2F178 is a very light, vivid yellow-green. Relative luminance 0.780; OKLCH L 91.1% C 0.151 H 121.4°. Best body text is #000000 at 16.59:1 contrast (WCAG AA passes).

Color values

HEX#D2F178
RGBrgb(210, 241, 120)
HSLhsl(75, 81%, 71%)
HSVhsv(75, 50%, 95%)
CMYKcmyk(12.9%, 0%, 50.2%, 5.5%)
CIE-LABlab(90.77, -27.91, 54.55)
CIE-LCHlch(90.77, 61.27, 117.10°)
OKLaboklab(91.07% -0.0788 0.1294)
OKLCHoklch(91.07% 0.152 121.4)
XYZxyz(61.4242, 77.9683, 29.5791)
Luminance0.7797 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2F178 #9778F1
analogous
#F1D378 #D2F178 #95F178
triadic
#D2F178 #78D2F1 #F178D2
tetradic
#D2F178 #78F1D3 #9778F1 #F17895
square
#D2F178 #78F1D3 #9778F1 #F17895
split-complementary
#D2F178 #7895F1 #D378F1
monochromatic
#A7D816 #C0EB41 #D2F178 #E4F7AF #F6FCE3

Accessibility & contrast

On white

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

On black

16.59
#D2F178 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2F178
16.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2F178#FFFFFF#000000##000000
##D2F1781.001.2716.5916.59
#FFFFFF1.271.0021.0021.00
#00000016.5921.001.001.00
##00000016.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#FDE56D
Deuteranopia (green-blind)
#F9E57F
Tritanopia (blue-blind)
#DBE7D5
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #d2f178;
/* rgb */ color: rgb(210, 241, 120);
/* oklch */ color: oklch(91.1% 0.151 121.4);
Tailwind
colors: {
  custom: {
    50: '#e2f5a2',
    500: '#d2f178',
    950: '#000000',
  },
}
SCSS
$custom: #d2f178;
$custom-light: #e2f5a2;
$custom-dark: #000000;
JSON
{
  "hex": "#d2f178",
  "rgb": {
    "r": 210,
    "g": 241,
    "b": 120
  },
  "hsl": {
    "h": 75.372,
    "s": 81.208,
    "l": 70.784
  },
  "oklch": {
    "l": 0.91071,
    "c": 0.1515,
    "h": 121.4
  },
  "luminance": 0.77968
}

Semantic roles & 50–950 ramp

primary
#D2F178
secondary
#6542CB
accent
#08DE3F
background
#FEFFFC
surface
#FCFEF5
border
#D5D6CF
text
#16170F
muted
#848580

Preview Lab

Preview with #D2F178

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

Preview Lab → · Contrast checker → · Palette generator →

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