#D4F370#D4F370

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

Color values

HEX#D4F370
RGBrgb(212, 243, 112)
HSLhsl(74, 85%, 70%)
HSVhsv(74, 54%, 95%)
CMYKcmyk(12.8%, 0%, 53.9%, 4.7%)
CIE-LABlab(91.36, -28.81, 58.90)
CIE-LCHlch(91.36, 65.57, 116.07°)
OKLaboklab(91.55% -0.0822 0.1381)
OKLCHoklch(91.55% 0.161 120.8)
XYZxyz(62.1272, 79.2682, 27.3534)
Luminance0.7927 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4F370 #8F70F3
analogous
#F3D070 #D4F370 #93F370
triadic
#D4F370 #70D4F3 #F370D4
tetradic
#D4F370 #70F3D0 #8F70F3 #F37093
square
#D4F370 #70F3D0 #8F70F3 #F37093
split-complementary
#D4F370 #7093F3 #D070F3
monochromatic
#A8D712 #C3EE38 #D4F370 #E5F8A8 #F6FCE1

Accessibility & contrast

On white

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

On black

16.85
#D4F370 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4F370
16.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4F370#FFFFFF#000000##000000
##D4F3701.001.2516.8516.85
#FFFFFF1.251.0021.0021.00
#00000016.8521.001.001.00
##00000016.8521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d4f370;
/* rgb */ color: rgb(212, 243, 112);
/* oklch */ color: oklch(91.6% 0.161 120.8);
Tailwind
colors: {
  custom: {
    50: '#e3f79d',
    500: '#d4f370',
    950: '#000000',
  },
}
SCSS
$custom: #d4f370;
$custom-light: #e3f79d;
$custom-dark: #000000;
JSON
{
  "hex": "#d4f370",
  "rgb": {
    "r": 212,
    "g": 243,
    "b": 112
  },
  "hsl": {
    "h": 74.198,
    "s": 84.516,
    "l": 69.608
  },
  "oklch": {
    "l": 0.91552,
    "c": 0.16069,
    "h": 120.8
  },
  "luminance": 0.79268
}

Semantic roles & 50–950 ramp

primary
#D4F370
secondary
#5D3BCD
accent
#05E139
background
#FEFFFC
surface
#FCFEF5
border
#D5D6CF
text
#16170E
muted
#84857F

Preview Lab

Preview with #D4F370

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

Preview Lab → · Contrast checker → · Palette generator →

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