#D2F157#D2F157

#D2F157 is a very light, vivid yellow-green. Relative luminance 0.773; OKLCH L 90.7% C 0.179 H 119.9°. Best body text is #000000 at 16.46:1 contrast (WCAG AA passes).

Color values

HEX#D2F157
RGBrgb(210, 241, 87)
HSLhsl(72, 85%, 64%)
HSVhsv(72, 64%, 95%)
CMYKcmyk(12.9%, 0%, 63.9%, 5.5%)
CIE-LABlab(90.46, -30.55, 68.39)
CIE-LCHlch(90.46, 74.90, 114.07°)
OKLaboklab(90.73% -0.0892 0.1555)
OKLCHoklch(90.73% 0.179 119.9)
XYZxyz(59.7549, 77.3006, 20.7875)
Luminance0.7730 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2F157 #7657F1
analogous
#F1C357 #D2F157 #85F157
triadic
#D2F157 #57D2F1 #F157D2
tetradic
#D2F157 #57F1C3 #7657F1 #F15785
square
#D2F157 #57F1C3 #7657F1 #F15785
split-complementary
#D2F157 #5785F1 #C357F1
monochromatic
#9BBE10 #C3EC1F #D2F157 #E1F68F #F0FAC8

Accessibility & contrast

On white

1.28
#D2F157 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.46
#D2F157 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2F157
16.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2F157#FFFFFF#000000##000000
##D2F1571.001.2816.4616.46
#FFFFFF1.281.0021.0021.00
#00000016.4621.001.001.00
##00000016.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE443
Deuteranopia (green-blind)
#FCE462
Tritanopia (blue-blind)
#DDE5D1
Achromatopsia (no color)
#E4E4E4

Design tokens & code

CSS
--color: #d2f157;
/* rgb */ color: rgb(210, 241, 87);
/* oklch */ color: oklch(90.7% 0.179 119.9);
Tailwind
colors: {
  custom: {
    50: '#e3f58d',
    500: '#d2f157',
    950: '#000000',
  },
}
SCSS
$custom: #d2f157;
$custom-light: #e3f58d;
$custom-dark: #000000;
JSON
{
  "hex": "#d2f157",
  "rgb": {
    "r": 210,
    "g": 241,
    "b": 87
  },
  "hsl": {
    "h": 72.078,
    "s": 84.615,
    "l": 64.314
  },
  "oklch": {
    "l": 0.90727,
    "c": 0.17923,
    "h": 119.9
  },
  "luminance": 0.773
}

Semantic roles & 50–950 ramp

primary
#D2F157
secondary
#4C30BC
accent
#04E131
background
#FEFFFC
surface
#FDFEF4
border
#D5D6CE
text
#16170D
muted
#84857F

Preview Lab

Preview with #D2F157

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

Preview Lab → · Contrast checker → · Palette generator →

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