#D2F158#D2F158

#D2F158 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#D2F158
RGBrgb(210, 241, 88)
HSLhsl(72, 85%, 65%)
HSVhsv(72, 63%, 95%)
CMYKcmyk(12.9%, 0%, 63.5%, 5.5%)
CIE-LABlab(90.47, -30.48, 68.00)
CIE-LCHlch(90.47, 74.52, 114.14°)
OKLaboklab(90.74% -0.0889 0.1548)
OKLCHoklch(90.74% 0.179 119.9)
XYZxyz(59.7960, 77.3171, 21.0042)
Luminance0.7732 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2F158 #7758F1
analogous
#F1C458 #D2F158 #86F158
triadic
#D2F158 #58D2F1 #F158D2
tetradic
#D2F158 #58F1C4 #7758F1 #F15886
square
#D2F158 #58F1C4 #7758F1 #F15886
split-complementary
#D2F158 #5886F1 #C458F1
monochromatic
#9BBF10 #C3EC20 #D2F158 #E1F690 #F0FAC9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D2F158#FFFFFF#000000##000000
##D2F1581.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)
#FFE444
Deuteranopia (green-blind)
#FCE463
Tritanopia (blue-blind)
#DDE5D1
Achromatopsia (no color)
#E4E4E4

Design tokens & code

CSS
--color: #d2f158;
/* rgb */ color: rgb(210, 241, 88);
/* oklch */ color: oklch(90.7% 0.179 119.9);
Tailwind
colors: {
  custom: {
    50: '#e3f58e',
    500: '#d2f158',
    950: '#000000',
  },
}
SCSS
$custom: #d2f158;
$custom-light: #e3f58e;
$custom-dark: #000000;
JSON
{
  "hex": "#d2f158",
  "rgb": {
    "r": 210,
    "g": 241,
    "b": 88
  },
  "hsl": {
    "h": 72.157,
    "s": 84.53,
    "l": 64.51
  },
  "oklch": {
    "l": 0.90736,
    "c": 0.17851,
    "h": 119.9
  },
  "luminance": 0.77317
}

Semantic roles & 50–950 ramp

primary
#D2F158
secondary
#4D30BD
accent
#05E131
background
#FEFFFC
surface
#FDFEF4
border
#D5D6CE
text
#16170D
muted
#84857F

Preview Lab

Preview with #D2F158

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

Preview Lab → · Contrast checker → · Palette generator →

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