#D4F271#D4F271

#D4F271 is a very light, vivid yellow-green. Relative luminance 0.787; OKLCH L 91.3% C 0.159 H 120.5°. Best body text is #000000 at 16.74:1 contrast (WCAG AA passes).

Color values

HEX#D4F271
RGBrgb(212, 242, 113)
HSLhsl(74, 83%, 70%)
HSVhsv(74, 53%, 95%)
CMYKcmyk(12.4%, 0%, 53.3%, 5.1%)
CIE-LABlab(91.10, -28.26, 58.15)
CIE-LCHlch(91.10, 64.65, 115.92°)
OKLaboklab(91.35% -0.0805 0.1366)
OKLCHoklch(91.35% 0.159 120.5)
XYZxyz(61.8847, 78.6937, 27.5488)
Luminance0.7869 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4F271 #8F71F2
analogous
#F2CF71 #D4F271 #94F271
triadic
#D4F271 #71D4F2 #F271D4
tetradic
#D4F271 #71F2CF #8F71F2 #F27194
square
#D4F271 #71F2CF #8F71F2 #F27194
split-complementary
#D4F271 #7194F2 #CF71F2
monochromatic
#A8D514 #C3ED39 #D4F271 #E5F7A9 #F6FCE1

Accessibility & contrast

On white

1.25
#D4F271 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.74
#D4F271 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4F271
16.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4F271#FFFFFF#000000##000000
##D4F2711.001.2516.7416.74
#FFFFFF1.251.0021.0021.00
#00000016.7421.001.001.00
##00000016.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE664
Deuteranopia (green-blind)
#FBE679
Tritanopia (blue-blind)
#DEE7D5
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #d4f271;
/* rgb */ color: rgb(212, 242, 113);
/* oklch */ color: oklch(91.3% 0.159 120.5);
Tailwind
colors: {
  custom: {
    50: '#e3f69d',
    500: '#d4f271',
    950: '#000000',
  },
}
SCSS
$custom: #d4f271;
$custom-light: #e3f69d;
$custom-dark: #000000;
JSON
{
  "hex": "#d4f271",
  "rgb": {
    "r": 212,
    "g": 242,
    "b": 113
  },
  "hsl": {
    "h": 73.953,
    "s": 83.226,
    "l": 69.608
  },
  "oklch": {
    "l": 0.91346,
    "c": 0.15854,
    "h": 120.5
  },
  "luminance": 0.78694
}

Semantic roles & 50–950 ramp

primary
#D4F271
secondary
#5D3CCB
accent
#06E038
background
#FEFFFC
surface
#FCFEF5
border
#D5D6CF
text
#16170F
muted
#848580

Preview Lab

Preview with #D4F271

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

Preview Lab → · Contrast checker → · Palette generator →

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