#D1F97A#D1F97A

#D1F97A is a very light, vivid yellow-green. Relative luminance 0.827; OKLCH L 92.8% C 0.160 H 124.0°. Best body text is #000000 at 17.54:1 contrast (WCAG AA passes).

Color values

HEX#D1F97A
RGBrgb(209, 249, 122)
HSLhsl(79, 91%, 73%)
HSVhsv(79, 51%, 98%)
CMYKcmyk(16.1%, 0%, 51%, 2.4%)
CIE-LABlab(92.89, -31.82, 56.14)
CIE-LCHlch(92.89, 64.53, 119.55°)
OKLaboklab(92.77% -0.0896 0.133)
OKLCHoklch(92.77% 0.16 124)
XYZxyz(63.6831, 82.7114, 31.0185)
Luminance0.8271 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1F97A #A27AF9
analogous
#F9E27A #D1F97A #91F97A
triadic
#D1F97A #7AD1F9 #F97AD1
tetradic
#D1F97A #7AF9E2 #A27AF9 #F97A91
square
#D1F97A #7AF9E2 #A27AF9 #F97A91
split-complementary
#D1F97A #7A91F9 #E27AF9
monochromatic
#A6EE0B #BDF63F #D1F97A #E5FCB5 #F5FEE2

Accessibility & contrast

On white

1.20
#D1F97A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

17.54
#D1F97A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1F97A
17.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1F97A#FFFFFF#000000##000000
##D1F97A1.001.2017.5417.54
#FFFFFF1.201.0021.0021.00
#00000017.5421.001.001.00
##00000017.5421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d1f97a;
/* rgb */ color: rgb(209, 249, 122);
/* oklch */ color: oklch(92.8% 0.160 124.0);
Tailwind
colors: {
  custom: {
    50: '#e1fba3',
    500: '#d1f97a',
    950: '#000000',
  },
}
SCSS
$custom: #d1f97a;
$custom-light: #e1fba3;
$custom-dark: #000000;
JSON
{
  "hex": "#d1f97a",
  "rgb": {
    "r": 209,
    "g": 249,
    "b": 122
  },
  "hsl": {
    "h": 78.898,
    "s": 91.367,
    "l": 72.745
  },
  "oklch": {
    "l": 0.92768,
    "c": 0.16038,
    "h": 124
  },
  "luminance": 0.82712
}

Semantic roles & 50–950 ramp

primary
#D1F97A
secondary
#7042D5
accent
#00E648
background
#FEFFFC
surface
#FCFFF6
border
#D5D7D0
text
#16170F
muted
#848580

Preview Lab

Preview with #D1F97A

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

Preview Lab → · Contrast checker → · Palette generator →

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