#D4F172#D4F172

#D4F172 is a very light, vivid yellow-green. Relative luminance 0.781; OKLCH L 91.1% C 0.156 H 120.3°. Best body text is #000000 at 16.62:1 contrast (WCAG AA passes).

Color values

HEX#D4F172
RGBrgb(212, 241, 114)
HSLhsl(74, 82%, 70%)
HSVhsv(74, 53%, 95%)
CMYKcmyk(12%, 0%, 52.7%, 5.5%)
CIE-LABlab(90.84, -27.70, 57.40)
CIE-LCHlch(90.84, 63.73, 115.76°)
OKLaboklab(91.14% -0.0789 0.135)
OKLCHoklch(91.14% 0.156 120.3)
XYZxyz(61.6445, 78.1227, 27.7480)
Luminance0.7812 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4F172 #8F72F1
analogous
#F1CF72 #D4F172 #95F172
triadic
#D4F172 #72D4F1 #F172D4
tetradic
#D4F172 #72F1CF #8F72F1 #F17295
square
#D4F172 #72F1CF #8F72F1 #F17295
split-complementary
#D4F172 #7295F1 #CF72F1
monochromatic
#A8D415 #C3EB3A #D4F172 #E5F7AA #F6FCE1

Accessibility & contrast

On white

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

On black

16.62
#D4F172 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4F172
16.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4F172#FFFFFF#000000##000000
##D4F1721.001.2616.6216.62
#FFFFFF1.261.0021.0021.00
#00000016.6221.001.001.00
##00000016.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FEE566
Deuteranopia (green-blind)
#FBE57A
Tritanopia (blue-blind)
#DEE6D5
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #d4f172;
/* rgb */ color: rgb(212, 241, 114);
/* oklch */ color: oklch(91.1% 0.156 120.3);
Tailwind
colors: {
  custom: {
    50: '#e3f59e',
    500: '#d4f172',
    950: '#000000',
  },
}
SCSS
$custom: #d4f172;
$custom-light: #e3f59e;
$custom-dark: #000000;
JSON
{
  "hex": "#d4f172",
  "rgb": {
    "r": 212,
    "g": 241,
    "b": 114
  },
  "hsl": {
    "h": 73.701,
    "s": 81.935,
    "l": 69.608
  },
  "oklch": {
    "l": 0.91141,
    "c": 0.15639,
    "h": 120.3
  },
  "luminance": 0.78123
}

Semantic roles & 50–950 ramp

primary
#D4F172
secondary
#5D3DCA
accent
#07DE38
background
#FEFFFC
surface
#FCFEF5
border
#D5D6CF
text
#16170F
muted
#848580

Preview Lab

Preview with #D4F172

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

Preview Lab → · Contrast checker → · Palette generator →

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