#D4F371#D4F371

#D4F371 is a very light, vivid yellow-green. Relative luminance 0.793; OKLCH L 91.6% C 0.160 H 120.8°. Best body text is #000000 at 16.86:1 contrast (WCAG AA passes).

Color values

HEX#D4F371
RGBrgb(212, 243, 113)
HSLhsl(74, 84%, 70%)
HSVhsv(74, 53%, 95%)
CMYKcmyk(12.8%, 0%, 53.5%, 4.7%)
CIE-LABlab(91.37, -28.72, 58.46)
CIE-LCHlch(91.37, 65.14, 116.17°)
OKLaboklab(91.56% -0.0818 0.1373)
OKLCHoklch(91.56% 0.16 120.8)
XYZxyz(62.1831, 79.2906, 27.6483)
Luminance0.7929 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4F371 #9071F3
analogous
#F3D171 #D4F371 #93F371
triadic
#D4F371 #71D4F3 #F371D4
tetradic
#D4F371 #71F3D1 #9071F3 #F37193
square
#D4F371 #71F3D1 #9071F3 #F37193
split-complementary
#D4F371 #7193F3 #D171F3
monochromatic
#A8D712 #C3EE39 #D4F371 #E5F8A9 #F6FDE2

Accessibility & contrast

On white

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

On black

16.86
#D4F371 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4F371
16.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4F371#FFFFFF#000000##000000
##D4F3711.001.2516.8616.86
#FFFFFF1.251.0021.0021.00
#00000016.8621.001.001.00
##00000016.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE764
Deuteranopia (green-blind)
#FCE679
Tritanopia (blue-blind)
#DEE8D6
Achromatopsia (no color)
#E6E6E6

Design tokens & code

CSS
--color: #d4f371;
/* rgb */ color: rgb(212, 243, 113);
/* oklch */ color: oklch(91.6% 0.160 120.8);
Tailwind
colors: {
  custom: {
    50: '#e3f79d',
    500: '#d4f371',
    950: '#000000',
  },
}
SCSS
$custom: #d4f371;
$custom-light: #e3f79d;
$custom-dark: #000000;
JSON
{
  "hex": "#d4f371",
  "rgb": {
    "r": 212,
    "g": 243,
    "b": 113
  },
  "hsl": {
    "h": 74.308,
    "s": 84.416,
    "l": 69.804
  },
  "oklch": {
    "l": 0.91563,
    "c": 0.1598,
    "h": 120.8
  },
  "luminance": 0.7929
}

Semantic roles & 50–950 ramp

primary
#D4F371
secondary
#5E3BCD
accent
#05E139
background
#FEFFFC
surface
#FCFEF5
border
#D5D6CF
text
#16170F
muted
#848580

Preview Lab

Preview with #D4F371

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

Preview Lab → · Contrast checker → · Palette generator →

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