#D1FA72#D1FA72

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

Color values

HEX#D1FA72
RGBrgb(209, 250, 114)
HSLhsl(78, 93%, 71%)
HSVhsv(78, 54%, 98%)
CMYKcmyk(16.4%, 0%, 54.4%, 2%)
CIE-LABlab(93.08, -33.01, 59.95)
CIE-LCHlch(93.08, 68.44, 118.84°)
OKLaboklab(92.89% -0.0936 0.1406)
OKLCHoklch(92.89% 0.169 123.7)
XYZxyz(63.5176, 83.1411, 28.6179)
Luminance0.8314 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1FA72 #9B72FA
analogous
#FADF72 #D1FA72 #8DFA72
triadic
#D1FA72 #72D1FA #FA72D1
tetradic
#D1FA72 #72FADF #9B72FA #FA728D
square
#D1FA72 #72FADF #9B72FA #FA728D
split-complementary
#D1FA72 #728DFA #DF72FA
monochromatic
#A5E908 #BEF837 #D1FA72 #E4FCAD #F5FEE1

Accessibility & contrast

On white

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

On black

17.63
#D1FA72 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1FA72
17.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1FA72#FFFFFF#000000##000000
##D1FA721.001.1917.6317.63
#FFFFFF1.191.0021.0021.00
#00000017.6321.001.001.00
##00000017.6321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d1fa72;
/* rgb */ color: rgb(209, 250, 114);
/* oklch */ color: oklch(92.9% 0.169 123.7);
Tailwind
colors: {
  custom: {
    50: '#e1fc9e',
    500: '#d1fa72',
    950: '#000000',
  },
}
SCSS
$custom: #d1fa72;
$custom-light: #e1fc9e;
$custom-dark: #000000;
JSON
{
  "hex": "#d1fa72",
  "rgb": {
    "r": 209,
    "g": 250,
    "b": 114
  },
  "hsl": {
    "h": 78.088,
    "s": 93.151,
    "l": 71.373
  },
  "oklch": {
    "l": 0.92893,
    "c": 0.1689,
    "h": 123.7
  },
  "luminance": 0.83141
}

Semantic roles & 50–950 ramp

primary
#D1FA72
secondary
#693BD6
accent
#00E645
background
#FEFFFC
surface
#FCFFF5
border
#D5D7CF
text
#16170F
muted
#848580

Preview Lab

Preview with #D1FA72

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

Preview Lab → · Contrast checker → · Palette generator →

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