#D4F978#D4F978

#D4F978 is a very light, vivid yellow-green. Relative luminance 0.831; OKLCH L 92.9% C 0.161 H 122.8°. Best body text is #000000 at 17.62:1 contrast (WCAG AA passes).

Color values

HEX#D4F978
RGBrgb(212, 249, 120)
HSLhsl(77, 91%, 72%)
HSVhsv(77, 52%, 98%)
CMYKcmyk(14.9%, 0%, 51.8%, 2.4%)
CIE-LABlab(93.06, -30.89, 57.30)
CIE-LCHlch(93.06, 65.09, 118.33°)
OKLaboklab(92.95% -0.0873 0.1353)
OKLCHoklch(92.95% 0.161 122.8)
XYZxyz(64.4175, 83.1043, 30.4127)
Luminance0.8310 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4F978 #9D78F9
analogous
#F9DD78 #D4F978 #94F978
triadic
#D4F978 #78D4F9 #F978D4
tetradic
#D4F978 #78F9DD #9D78F9 #F97894
square
#D4F978 #78F9DD #9D78F9 #F97894
split-complementary
#D4F978 #7894F9 #DD78F9
monochromatic
#ABEC0A #C1F63D #D4F978 #E7FCB3 #F6FEE2

Accessibility & contrast

On white

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

On black

17.62
#D4F978 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4F978
17.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4F978#FFFFFF#000000##000000
##D4F9781.001.1917.6217.62
#FFFFFF1.191.0021.0021.00
#00000017.6221.001.001.00
##00000017.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEC6C
Deuteranopia (green-blind)
#FFEB80
Tritanopia (blue-blind)
#DDEEDC
Achromatopsia (no color)
#EBEBEB

Design tokens & code

CSS
--color: #d4f978;
/* rgb */ color: rgb(212, 249, 120);
/* oklch */ color: oklch(92.9% 0.161 122.8);
Tailwind
colors: {
  custom: {
    50: '#e3fba2',
    500: '#d4f978',
    950: '#000000',
  },
}
SCSS
$custom: #d4f978;
$custom-light: #e3fba2;
$custom-dark: #000000;
JSON
{
  "hex": "#d4f978",
  "rgb": {
    "r": 212,
    "g": 249,
    "b": 120
  },
  "hsl": {
    "h": 77.209,
    "s": 91.489,
    "l": 72.353
  },
  "oklch": {
    "l": 0.92949,
    "c": 0.16105,
    "h": 122.8
  },
  "luminance": 0.83104
}

Semantic roles & 50–950 ramp

primary
#D4F978
secondary
#6B40D5
accent
#00E642
background
#FEFFFC
surface
#FCFFF6
border
#D5D7D0
text
#16170F
muted
#848580

Preview Lab

Preview with #D4F978

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

Preview Lab → · Contrast checker → · Palette generator →

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