#D4F581#D4F581

#D4F581 is a very light, vivid yellow-green. Relative luminance 0.809; OKLCH L 92.2% C 0.147 H 122.4°. Best body text is #000000 at 17.18:1 contrast (WCAG AA passes).

Color values

HEX#D4F581
RGBrgb(212, 245, 129)
HSLhsl(77, 85%, 73%)
HSVhsv(77, 47%, 96%)
CMYKcmyk(13.5%, 0%, 47.3%, 3.9%)
CIE-LABlab(92.08, -28.16, 51.98)
CIE-LCHlch(92.08, 59.12, 118.44°)
OKLaboklab(92.2% -0.0789 0.1244)
OKLCHoklch(92.2% 0.147 122.4)
XYZxyz(63.7664, 80.8867, 33.0180)
Luminance0.8089 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4F581 #A281F5
analogous
#F5DC81 #D4F581 #9AF581
triadic
#D4F581 #81D4F5 #F581D4
tetradic
#D4F581 #81F5DC #A281F5 #F5819A
square
#D4F581 #81F5DC #A281F5 #F5819A
split-complementary
#D4F581 #819AF5 #DC81F5
monochromatic
#ACE913 #C1F048 #D4F581 #E7F9BA #F5FDE3

Accessibility & contrast

On white

1.22
#D4F581 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.18
#D4F581 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4F581
17.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4F581#FFFFFF#000000##000000
##D4F5811.001.2217.1817.18
#FFFFFF1.221.0021.0021.00
#00000017.1821.001.001.00
##00000017.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE977
Deuteranopia (green-blind)
#FCE887
Tritanopia (blue-blind)
#DCEBDA
Achromatopsia (no color)
#E8E8E8

Design tokens & code

CSS
--color: #d4f581;
/* rgb */ color: rgb(212, 245, 129);
/* oklch */ color: oklch(92.2% 0.147 122.4);
Tailwind
colors: {
  custom: {
    50: '#e3f8a8',
    500: '#d4f581',
    950: '#000000',
  },
}
SCSS
$custom: #d4f581;
$custom-light: #e3f8a8;
$custom-dark: #000000;
JSON
{
  "hex": "#d4f581",
  "rgb": {
    "r": 212,
    "g": 245,
    "b": 129
  },
  "hsl": {
    "h": 77.069,
    "s": 85.294,
    "l": 73.333
  },
  "oklch": {
    "l": 0.92195,
    "c": 0.14728,
    "h": 122.4
  },
  "luminance": 0.80887
}

Semantic roles & 50–950 ramp

primary
#D4F581
secondary
#7049D1
accent
#04E243
background
#FEFFFD
surface
#FCFFF7
border
#D5D7D0
text
#161710
muted
#848581

Preview Lab

Preview with #D4F581

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

Preview Lab → · Contrast checker → · Palette generator →

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