#D4E979#D4E979

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

Color values

HEX#D4E979
RGBrgb(212, 233, 121)
HSLhsl(71, 72%, 69%)
HSVhsv(71, 48%, 91%)
CMYKcmyk(9%, 0%, 48.1%, 8.6%)
CIE-LABlab(88.76, -23.25, 51.71)
CIE-LCHlch(88.76, 56.70, 114.21°)
OKLaboklab(89.5% -0.0657 0.1232)
OKLCHoklch(89.5% 0.14 118.1)
XYZxyz(59.7421, 73.6558, 29.1552)
Luminance0.7366 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4E979 #8E79E9
analogous
#E9C679 #D4E979 #9CE979
triadic
#D4E979 #79D4E9 #E979D4
tetradic
#D4E979 #79E9C6 #8E79E9 #E9799C
square
#D4E979 #79E9C6 #8E79E9 #E9799C
split-complementary
#D4E979 #799CE9 #C679E9
monochromatic
#A8C721 #C3E044 #D4E979 #E5F2AE #F6FAE2

Accessibility & contrast

On white

1.33
#D4E979 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##D4E979#FFFFFF#000000##000000
##D4E9791.001.3315.7315.73
#FFFFFF1.331.0021.0021.00
#00000015.7321.001.001.00
##00000015.7321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d4e979;
/* rgb */ color: rgb(212, 233, 121);
/* oklch */ color: oklch(89.5% 0.140 118.1);
Tailwind
colors: {
  custom: {
    50: '#e3f0a2',
    500: '#d4e979',
    950: '#000000',
  },
}
SCSS
$custom: #d4e979;
$custom-light: #e3f0a2;
$custom-dark: #000000;
JSON
{
  "hex": "#d4e979",
  "rgb": {
    "r": 212,
    "g": 233,
    "b": 121
  },
  "hsl": {
    "h": 71.25,
    "s": 71.795,
    "l": 69.412
  },
  "oklch": {
    "l": 0.89501,
    "c": 0.13963,
    "h": 118.1
  },
  "luminance": 0.73655
}

Semantic roles & 50–950 ramp

primary
#D4E979
secondary
#5C45C1
accent
#12D436
background
#FEFFFC
surface
#FCFEF5
border
#D5D6CF
text
#16160F
muted
#848580

Preview Lab

Preview with #D4E979

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

Preview Lab → · Contrast checker → · Palette generator →

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