#D4E978#D4E978

#D4E978 is a very light, vivid yellow-green. Relative luminance 0.736; OKLCH L 89.5% C 0.141 H 118.0°. Best body text is #000000 at 15.73:1 contrast (WCAG AA passes).

Color values

HEX#D4E978
RGBrgb(212, 233, 120)
HSLhsl(71, 72%, 69%)
HSVhsv(71, 48%, 91%)
CMYKcmyk(9%, 0%, 48.5%, 8.6%)
CIE-LABlab(88.75, -23.34, 52.17)
CIE-LCHlch(88.75, 57.15, 114.11°)
OKLaboklab(89.49% -0.0661 0.1241)
OKLCHoklch(89.49% 0.141 118)
XYZxyz(59.6810, 73.6314, 28.8339)
Luminance0.7363 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4E978 #8D78E9
analogous
#E9C578 #D4E978 #9CE978
triadic
#D4E978 #78D4E9 #E978D4
tetradic
#D4E978 #78E9C5 #8D78E9 #E9789C
square
#D4E978 #78E9C5 #8D78E9 #E9789C
split-complementary
#D4E978 #789CE9 #C578E9
monochromatic
#A7C620 #C3E043 #D4E978 #E5F2AD #F6FAE1

Accessibility & contrast

On white

1.34
#D4E978 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

15.73
#D4E978 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4E978
15.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4E978#FFFFFF#000000##000000
##D4E9781.001.3415.7315.73
#FFFFFF1.341.0021.0021.00
#00000015.7321.001.001.00
##00000015.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#F6DF6E
Deuteranopia (green-blind)
#F3DF7E
Tritanopia (blue-blind)
#DEDFCF
Achromatopsia (no color)
#DFDFDF

Design tokens & code

CSS
--color: #d4e978;
/* rgb */ color: rgb(212, 233, 120);
/* oklch */ color: oklch(89.5% 0.141 118.0);
Tailwind
colors: {
  custom: {
    50: '#e3f0a1',
    500: '#d4e978',
    950: '#000000',
  },
}
SCSS
$custom: #d4e978;
$custom-light: #e3f0a1;
$custom-dark: #000000;
JSON
{
  "hex": "#d4e978",
  "rgb": {
    "r": 212,
    "g": 233,
    "b": 120
  },
  "hsl": {
    "h": 71.15,
    "s": 71.975,
    "l": 69.216
  },
  "oklch": {
    "l": 0.89488,
    "c": 0.14061,
    "h": 118
  },
  "luminance": 0.73631
}

Semantic roles & 50–950 ramp

primary
#D4E978
secondary
#5B44C1
accent
#11D436
background
#FEFFFC
surface
#FCFEF5
border
#D5D6CF
text
#16160F
muted
#848580

Preview Lab

Preview with #D4E978

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

Preview Lab → · Contrast checker → · Palette generator →

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