#D1F158#D1F158

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

Color values

HEX#D1F158
RGBrgb(209, 241, 88)
HSLhsl(73, 85%, 65%)
HSVhsv(73, 63%, 95%)
CMYKcmyk(13.3%, 0%, 63.5%, 5.5%)
CIE-LABlab(90.40, -30.87, 67.91)
CIE-LCHlch(90.40, 74.60, 114.44°)
OKLaboklab(90.67% -0.09 0.1546)
OKLCHoklch(90.67% 0.179 120.2)
XYZxyz(59.5121, 77.1707, 20.9909)
Luminance0.7717 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1F158 #7858F1
analogous
#F1C558 #D1F158 #85F158
triadic
#D1F158 #58D1F1 #F158D1
tetradic
#D1F158 #58F1C5 #7858F1 #F15885
square
#D1F158 #58F1C5 #7858F1 #F15885
split-complementary
#D1F158 #5885F1 #C558F1
monochromatic
#9ABF10 #C1EC20 #D1F158 #E1F690 #F0FAC9

Accessibility & contrast

On white

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

On black

16.43
#D1F158 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1F158
16.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1F158#FFFFFF#000000##000000
##D1F1581.001.2816.4316.43
#FFFFFF1.281.0021.0021.00
#00000016.4321.001.001.00
##00000016.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE444
Deuteranopia (green-blind)
#FBE463
Tritanopia (blue-blind)
#DCE5D1
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #d1f158;
/* rgb */ color: rgb(209, 241, 88);
/* oklch */ color: oklch(90.7% 0.179 120.2);
Tailwind
colors: {
  custom: {
    50: '#e2f58e',
    500: '#d1f158',
    950: '#000000',
  },
}
SCSS
$custom: #d1f158;
$custom-light: #e2f58e;
$custom-dark: #000000;
JSON
{
  "hex": "#d1f158",
  "rgb": {
    "r": 209,
    "g": 241,
    "b": 88
  },
  "hsl": {
    "h": 72.549,
    "s": 84.53,
    "l": 64.51
  },
  "oklch": {
    "l": 0.90665,
    "c": 0.17887,
    "h": 120.2
  },
  "luminance": 0.7717
}

Semantic roles & 50–950 ramp

primary
#D1F158
secondary
#4E30BD
accent
#05E133
background
#FEFFFC
surface
#FCFEF4
border
#D5D6CE
text
#16170D
muted
#84857F

Preview Lab

Preview with #D1F158

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

Preview Lab → · Contrast checker → · Palette generator →

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