#D4F158#D4F158

#D4F158 is a very light, vivid yellow-green. Relative luminance 0.776; OKLCH L 90.9% C 0.178 H 119.3°. Best body text is #000000 at 16.52:1 contrast (WCAG AA passes).

Color values

HEX#D4F158
RGBrgb(212, 241, 88)
HSLhsl(71, 85%, 65%)
HSVhsv(71, 63%, 95%)
CMYKcmyk(12%, 0%, 63.5%, 5.5%)
CIE-LABlab(90.60, -29.70, 68.19)
CIE-LCHlch(90.60, 74.37, 113.54°)
OKLaboklab(90.88% -0.0869 0.1551)
OKLCHoklch(90.88% 0.178 119.3)
XYZxyz(60.3691, 77.6126, 21.0311)
Luminance0.7761 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4F158 #7558F1
analogous
#F1C258 #D4F158 #87F158
triadic
#D4F158 #58D4F1 #F158D4
tetradic
#D4F158 #58F1C2 #7558F1 #F15887
square
#D4F158 #58F1C2 #7558F1 #F15887
split-complementary
#D4F158 #5887F1 #C258F1
monochromatic
#9EBF10 #C5EC20 #D4F158 #E3F690 #F1FAC9

Accessibility & contrast

On white

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

On black

16.52
#D4F158 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4F158
16.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4F158#FFFFFF#000000##000000
##D4F1581.001.2716.5216.52
#FFFFFF1.271.0021.0021.00
#00000016.5221.001.001.00
##00000016.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE444
Deuteranopia (green-blind)
#FCE563
Tritanopia (blue-blind)
#DFE5D1
Achromatopsia (no color)
#E4E4E4

Design tokens & code

CSS
--color: #d4f158;
/* rgb */ color: rgb(212, 241, 88);
/* oklch */ color: oklch(90.9% 0.178 119.3);
Tailwind
colors: {
  custom: {
    50: '#e4f58e',
    500: '#d4f158',
    950: '#000000',
  },
}
SCSS
$custom: #d4f158;
$custom-light: #e4f58e;
$custom-dark: #000000;
JSON
{
  "hex": "#d4f158",
  "rgb": {
    "r": 212,
    "g": 241,
    "b": 88
  },
  "hsl": {
    "h": 71.373,
    "s": 84.53,
    "l": 64.51
  },
  "oklch": {
    "l": 0.90879,
    "c": 0.1778,
    "h": 119.3
  },
  "luminance": 0.77612
}

Semantic roles & 50–950 ramp

primary
#D4F158
secondary
#4B30BD
accent
#05E12E
background
#FEFFFC
surface
#FDFEF4
border
#D5D6CE
text
#16170D
muted
#84857F

Preview Lab

Preview with #D4F158

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

Preview Lab → · Contrast checker → · Palette generator →

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