#D4F258#D4F258

#D4F258 is a very light, vivid yellow-green. Relative luminance 0.782; OKLCH L 91.1% C 0.179 H 119.5°. Best body text is #000000 at 16.64:1 contrast (WCAG AA passes).

Color values

HEX#D4F258
RGBrgb(212, 242, 88)
HSLhsl(72, 86%, 65%)
HSVhsv(72, 64%, 95%)
CMYKcmyk(12.4%, 0%, 63.6%, 5.1%)
CIE-LABlab(90.87, -30.16, 68.47)
CIE-LCHlch(90.87, 74.82, 113.77°)
OKLaboklab(91.1% -0.0882 0.1557)
OKLCHoklch(91.1% 0.179 119.5)
XYZxyz(60.6659, 78.2062, 21.1300)
Luminance0.7821 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4F258 #7658F2
analogous
#F2C358 #D4F258 #87F258
triadic
#D4F258 #58D4F2 #F258D4
tetradic
#D4F258 #58F2C3 #7658F2 #F25887
square
#D4F258 #58F2C3 #7658F2 #F25887
split-complementary
#D4F258 #5887F2 #C358F2
monochromatic
#9EC10F #C5EE1F #D4F258 #E3F691 #F1FBCA

Accessibility & contrast

On white

1.26
#D4F258 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.64
#D4F258 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4F258
16.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4F258#FFFFFF#000000##000000
##D4F2581.001.2616.6416.64
#FFFFFF1.261.0021.0021.00
#00000016.6421.001.001.00
##00000016.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE544
Deuteranopia (green-blind)
#FDE563
Tritanopia (blue-blind)
#DFE6D2
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #d4f258;
/* rgb */ color: rgb(212, 242, 88);
/* oklch */ color: oklch(91.1% 0.179 119.5);
Tailwind
colors: {
  custom: {
    50: '#e4f68e',
    500: '#d4f258',
    950: '#000000',
  },
}
SCSS
$custom: #d4f258;
$custom-light: #e4f68e;
$custom-dark: #000000;
JSON
{
  "hex": "#d4f258",
  "rgb": {
    "r": 212,
    "g": 242,
    "b": 88
  },
  "hsl": {
    "h": 71.688,
    "s": 85.556,
    "l": 64.706
  },
  "oklch": {
    "l": 0.91097,
    "c": 0.17895,
    "h": 119.5
  },
  "luminance": 0.78206
}

Semantic roles & 50–950 ramp

primary
#D4F258
secondary
#4C30BE
accent
#03E22F
background
#FEFFFC
surface
#FDFEF4
border
#D5D6CE
text
#16170D
muted
#84857F

Preview Lab

Preview with #D4F258

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

Preview Lab → · Contrast checker → · Palette generator →

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