#D4F04F#D4F04F

#D4F04F is a very light, vivid yellow-green. Relative luminance 0.769; OKLCH L 90.6% C 0.183 H 118.7°. Best body text is #000000 at 16.38:1 contrast (WCAG AA passes).

Color values

HEX#D4F04F
RGBrgb(212, 240, 79)
HSLhsl(70, 84%, 63%)
HSVhsv(70, 67%, 94%)
CMYKcmyk(11.7%, 0%, 67.1%, 5.9%)
CIE-LABlab(90.27, -29.79, 71.28)
CIE-LCHlch(90.27, 77.26, 112.68°)
OKLaboklab(90.59% -0.088 0.1604)
OKLCHoklch(90.59% 0.183 118.7)
XYZxyz(59.7239, 76.8822, 19.0891)
Luminance0.7688 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4F04F #6B4FF0
analogous
#F0BC4F #D4F04F #83F04F
triadic
#D4F04F #4FD4F0 #F04FD4
tetradic
#D4F04F #4FF0BC #6B4FF0 #F04F83
square
#D4F04F #4FF0BC #6B4FF0 #F04F83
split-complementary
#D4F04F #4F83F0 #BC4FF0
monochromatic
#98B50F #C6EB17 #D4F04F #E2F587 #F0FAC0

Accessibility & contrast

On white

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

On black

16.38
#D4F04F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4F04F
16.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4F04F#FFFFFF#000000##000000
##D4F04F1.001.2816.3816.38
#FFFFFF1.281.0021.0021.00
#00000016.3821.001.001.00
##00000016.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE337
Deuteranopia (green-blind)
#FCE45B
Tritanopia (blue-blind)
#E0E3D0
Achromatopsia (no color)
#E3E3E3

Design tokens & code

CSS
--color: #d4f04f;
/* rgb */ color: rgb(212, 240, 79);
/* oklch */ color: oklch(90.6% 0.183 118.7);
Tailwind
colors: {
  custom: {
    50: '#e5f489',
    500: '#d4f04f',
    950: '#000000',
  },
}
SCSS
$custom: #d4f04f;
$custom-light: #e5f489;
$custom-dark: #000000;
JSON
{
  "hex": "#d4f04f",
  "rgb": {
    "r": 212,
    "g": 240,
    "b": 79
  },
  "hsl": {
    "h": 70.435,
    "s": 84.293,
    "l": 62.549
  },
  "oklch": {
    "l": 0.90589,
    "c": 0.1829,
    "h": 118.7
  },
  "luminance": 0.76882
}

Semantic roles & 50–950 ramp

primary
#D4F04F
secondary
#462FB5
accent
#05E12B
background
#FEFFFC
surface
#FDFEF4
border
#D5D6CE
text
#16170C
muted
#84857F

Preview Lab

Preview with #D4F04F

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

Preview Lab → · Contrast checker → · Palette generator →

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