#D9FA72#D9FA72

#D9FA72 is a very light, vivid yellow-green. Relative luminance 0.843; OKLCH L 93.4% C 0.166 H 121.1°. Best body text is #000000 at 17.87:1 contrast (WCAG AA passes).

Color values

HEX#D9FA72
RGBrgb(217, 250, 114)
HSLhsl(75, 93%, 71%)
HSVhsv(75, 54%, 98%)
CMYKcmyk(13.2%, 0%, 54.4%, 2%)
CIE-LABlab(93.60, -30.00, 60.69)
CIE-LCHlch(93.60, 67.70, 116.30°)
OKLaboklab(93.44% -0.0856 0.1421)
OKLCHoklch(93.44% 0.166 121.1)
XYZxyz(65.8387, 84.3379, 28.7267)
Luminance0.8434 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D9FA72 #9372FA
analogous
#FAD772 #D9FA72 #95FA72
triadic
#D9FA72 #72D9FA #FA72D9
tetradic
#D9FA72 #72FAD7 #9372FA #FA7295
square
#D9FA72 #72FAD7 #9372FA #FA7295
split-complementary
#D9FA72 #7295FA #D772FA
monochromatic
#B3E908 #C9F837 #D9FA72 #E9FCAD #F7FEE1

Accessibility & contrast

On white

1.18
#D9FA72 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.87
#D9FA72 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D9FA72
17.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D9FA72#FFFFFF#000000##000000
##D9FA721.001.1817.8717.87
#FFFFFF1.181.0021.0021.00
#00000017.8721.001.001.00
##00000017.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFED64
Deuteranopia (green-blind)
#FFED7A
Tritanopia (blue-blind)
#E3EFDC
Achromatopsia (no color)
#EDEDED

Design tokens & code

CSS
--color: #d9fa72;
/* rgb */ color: rgb(217, 250, 114);
/* oklch */ color: oklch(93.4% 0.166 121.1);
Tailwind
colors: {
  custom: {
    50: '#e7fc9e',
    500: '#d9fa72',
    950: '#000000',
  },
}
SCSS
$custom: #d9fa72;
$custom-light: #e7fc9e;
$custom-dark: #000000;
JSON
{
  "hex": "#d9fa72",
  "rgb": {
    "r": 217,
    "g": 250,
    "b": 114
  },
  "hsl": {
    "h": 74.559,
    "s": 93.151,
    "l": 71.373
  },
  "oklch": {
    "l": 0.93444,
    "c": 0.16586,
    "h": 121.1
  },
  "luminance": 0.84338
}

Semantic roles & 50–950 ramp

primary
#D9FA72
secondary
#603BD6
accent
#00E638
background
#FEFFFC
surface
#FDFFF5
border
#D5D7CF
text
#16170F
muted
#848580

Preview Lab

Preview with #D9FA72

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

Preview Lab → · Contrast checker → · Palette generator →

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