#D4F970#D4F970

#D4F970 is a very light, vivid yellow-green. Relative luminance 0.829; OKLCH L 92.9% C 0.168 H 122.3°. Best body text is #000000 at 17.58:1 contrast (WCAG AA passes).

Color values

HEX#D4F970
RGBrgb(212, 249, 112)
HSLhsl(76, 92%, 71%)
HSVhsv(76, 55%, 98%)
CMYKcmyk(14.9%, 0%, 55%, 2.4%)
CIE-LABlab(92.98, -31.60, 60.77)
CIE-LCHlch(92.98, 68.49, 117.47°)
OKLaboklab(92.86% -0.09 0.1421)
OKLCHoklch(92.86% 0.168 122.3)
XYZxyz(63.9521, 82.9181, 27.9617)
Luminance0.8292 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4F970 #9570F9
analogous
#F9D970 #D4F970 #8FF970
triadic
#D4F970 #70D4F9 #F970D4
tetradic
#D4F970 #70F9D9 #9570F9 #F9708F
square
#D4F970 #70F9D9 #9570F9 #F9708F
split-complementary
#D4F970 #708FF9 #D970F9
monochromatic
#AAE50A #C2F735 #D4F970 #E6FBAB #F6FEE2

Accessibility & contrast

On white

1.19
#D4F970 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.58
#D4F970 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4F970
17.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4F970#FFFFFF#000000##000000
##D4F9701.001.1917.5817.58
#FFFFFF1.191.0021.0021.00
#00000017.5821.001.001.00
##00000017.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC62
Deuteranopia (green-blind)
#FFEB79
Tritanopia (blue-blind)
#DDEEDB
Achromatopsia (no color)
#EBEBEB

Design tokens & code

CSS
--color: #d4f970;
/* rgb */ color: rgb(212, 249, 112);
/* oklch */ color: oklch(92.9% 0.168 122.3);
Tailwind
colors: {
  custom: {
    50: '#e4fb9d',
    500: '#d4f970',
    950: '#000000',
  },
}
SCSS
$custom: #d4f970;
$custom-light: #e4fb9d;
$custom-dark: #000000;
JSON
{
  "hex": "#d4f970",
  "rgb": {
    "r": 212,
    "g": 249,
    "b": 112
  },
  "hsl": {
    "h": 76.204,
    "s": 91.946,
    "l": 70.784
  },
  "oklch": {
    "l": 0.92857,
    "c": 0.16821,
    "h": 122.3
  },
  "luminance": 0.82918
}

Semantic roles & 50–950 ramp

primary
#D4F970
secondary
#6339D4
accent
#00E63E
background
#FEFFFC
surface
#FCFFF5
border
#D5D7CF
text
#16170F
muted
#848580

Preview Lab

Preview with #D4F970

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

Preview Lab → · Contrast checker → · Palette generator →

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