#D4F973#D4F973

#D4F973 is a very light, vivid yellow-green. Relative luminance 0.830; OKLCH L 92.9% C 0.166 H 122.5°. Best body text is #000000 at 17.60:1 contrast (WCAG AA passes).

Color values

HEX#D4F973
RGBrgb(212, 249, 115)
HSLhsl(77, 92%, 71%)
HSVhsv(77, 54%, 98%)
CMYKcmyk(14.9%, 0%, 53.8%, 2.4%)
CIE-LABlab(93.01, -31.34, 59.48)
CIE-LCHlch(93.01, 67.23, 117.79°)
OKLaboklab(92.89% -0.089 0.1396)
OKLCHoklch(92.89% 0.166 122.5)
XYZxyz(64.1219, 82.9861, 28.8561)
Luminance0.8299 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4F973 #9873F9
analogous
#F9DB73 #D4F973 #91F973
triadic
#D4F973 #73D4F9 #F973D4
tetradic
#D4F973 #73F9DB #9873F9 #F97391
square
#D4F973 #73F9DB #9873F9 #F97391
split-complementary
#D4F973 #7391F9 #DB73F9
monochromatic
#AAE80A #C2F638 #D4F973 #E6FCAE #F6FEE2

Accessibility & contrast

On white

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

On black

17.60
#D4F973 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D4F973
17.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4F973#FFFFFF#000000##000000
##D4F9731.001.1917.6017.60
#FFFFFF1.191.0021.0021.00
#00000017.6021.001.001.00
##00000017.6021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d4f973;
/* rgb */ color: rgb(212, 249, 115);
/* oklch */ color: oklch(92.9% 0.166 122.5);
Tailwind
colors: {
  custom: {
    50: '#e3fb9f',
    500: '#d4f973',
    950: '#000000',
  },
}
SCSS
$custom: #d4f973;
$custom-light: #e3fb9f;
$custom-dark: #000000;
JSON
{
  "hex": "#d4f973",
  "rgb": {
    "r": 212,
    "g": 249,
    "b": 115
  },
  "hsl": {
    "h": 76.567,
    "s": 91.781,
    "l": 71.373
  },
  "oklch": {
    "l": 0.9289,
    "c": 0.16557,
    "h": 122.5
  },
  "luminance": 0.82986
}

Semantic roles & 50–950 ramp

primary
#D4F973
secondary
#663CD4
accent
#00E63F
background
#FEFFFC
surface
#FCFFF5
border
#D5D7CF
text
#16170F
muted
#848580

Preview Lab

Preview with #D4F973

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

Preview Lab → · Contrast checker → · Palette generator →

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