#D1F97B#D1F97B

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

Color values

HEX#D1F97B
RGBrgb(209, 249, 123)
HSLhsl(79, 91%, 73%)
HSVhsv(79, 51%, 98%)
CMYKcmyk(16.1%, 0%, 50.6%, 2.4%)
CIE-LABlab(92.90, -31.73, 55.70)
CIE-LCHlch(92.90, 64.10, 119.67°)
OKLaboklab(92.78% -0.0892 0.1321)
OKLCHoklch(92.78% 0.159 124)
XYZxyz(63.7454, 82.7364, 31.3465)
Luminance0.8274 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1F97B #A37BF9
analogous
#F9E27B #D1F97B #92F97B
triadic
#D1F97B #7BD1F9 #F97BD1
tetradic
#D1F97B #7BF9E2 #A37BF9 #F97B92
square
#D1F97B #7BF9E2 #A37BF9 #F97B92
split-complementary
#D1F97B #7B92F9 #E27BF9
monochromatic
#A6EF0B #BDF640 #D1F97B #E5FCB6 #F5FEE2

Accessibility & contrast

On white

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

On black

17.55
#D1F97B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1F97B
17.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1F97B#FFFFFF#000000##000000
##D1F97B1.001.2017.5517.55
#FFFFFF1.201.0021.0021.00
#00000017.5521.001.001.00
##00000017.5521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d1f97b;
/* rgb */ color: rgb(209, 249, 123);
/* oklch */ color: oklch(92.8% 0.159 124.0);
Tailwind
colors: {
  custom: {
    50: '#e1fba4',
    500: '#d1f97b',
    950: '#000000',
  },
}
SCSS
$custom: #d1f97b;
$custom-light: #e1fba4;
$custom-dark: #000000;
JSON
{
  "hex": "#d1f97b",
  "rgb": {
    "r": 209,
    "g": 249,
    "b": 123
  },
  "hsl": {
    "h": 79.048,
    "s": 91.304,
    "l": 72.941
  },
  "oklch": {
    "l": 0.9278,
    "c": 0.15944,
    "h": 124
  },
  "luminance": 0.82737
}

Semantic roles & 50–950 ramp

primary
#D1F97B
secondary
#7143D6
accent
#00E649
background
#FEFFFC
surface
#FCFFF6
border
#D5D7D0
text
#16170F
muted
#848580

Preview Lab

Preview with #D1F97B

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

Preview Lab → · Contrast checker → · Palette generator →

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