#D4F478#D4F478

#D4F478 is a very light, vivid yellow-green. Relative luminance 0.801; OKLCH L 91.9% C 0.155 H 121.5°. Best body text is #000000 at 17.01:1 contrast (WCAG AA passes).

Color values

HEX#D4F478
RGBrgb(212, 244, 120)
HSLhsl(75, 85%, 71%)
HSVhsv(75, 51%, 96%)
CMYKcmyk(13.1%, 0%, 50.8%, 4.3%)
CIE-LABlab(91.71, -28.56, 55.70)
CIE-LCHlch(91.71, 62.60, 117.15°)
OKLaboklab(91.86% -0.0808 0.1319)
OKLCHoklch(91.86% 0.155 121.5)
XYZxyz(62.8926, 80.0545, 29.9044)
Luminance0.8005 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4F478 #9878F4
analogous
#F4D678 #D4F478 #96F478
triadic
#D4F478 #78D4F4 #F478D4
tetradic
#D4F478 #78F4D6 #9878F4 #F47896
square
#D4F478 #78F4D6 #9878F4 #F47896
split-complementary
#D4F478 #7896F4 #D678F4
monochromatic
#AADF12 #C2EF3F #D4F478 #E6F9B1 #F6FDE3

Accessibility & contrast

On white

1.23
#D4F478 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.01
#D4F478 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4F478
17.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4F478#FFFFFF#000000##000000
##D4F4781.001.2317.0117.01
#FFFFFF1.231.0021.0021.00
#00000017.0121.001.001.00
##00000017.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE86D
Deuteranopia (green-blind)
#FCE77F
Tritanopia (blue-blind)
#DDE9D8
Achromatopsia (no color)
#E7E7E7

Design tokens & code

CSS
--color: #d4f478;
/* rgb */ color: rgb(212, 244, 120);
/* oklch */ color: oklch(91.9% 0.155 121.5);
Tailwind
colors: {
  custom: {
    50: '#e3f7a2',
    500: '#d4f478',
    950: '#000000',
  },
}
SCSS
$custom: #d4f478;
$custom-light: #e3f7a2;
$custom-dark: #000000;
JSON
{
  "hex": "#d4f478",
  "rgb": {
    "r": 212,
    "g": 244,
    "b": 120
  },
  "hsl": {
    "h": 75.484,
    "s": 84.932,
    "l": 71.373
  },
  "oklch": {
    "l": 0.91863,
    "c": 0.15464,
    "h": 121.5
  },
  "luminance": 0.80054
}

Semantic roles & 50–950 ramp

primary
#D4F478
secondary
#6641CF
accent
#04E13D
background
#FEFFFC
surface
#FCFEF6
border
#D5D6D0
text
#16170F
muted
#848580

Preview Lab

Preview with #D4F478

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

Preview Lab → · Contrast checker → · Palette generator →

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