#D1FA5B#D1FA5B

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

Color values

HEX#D1FA5B
RGBrgb(209, 250, 91)
HSLhsl(75, 94%, 67%)
HSVhsv(75, 64%, 98%)
CMYKcmyk(16.4%, 0%, 63.6%, 2%)
CIE-LABlab(92.87, -34.80, 69.35)
CIE-LCHlch(92.87, 77.59, 116.65°)
OKLaboklab(92.67% -0.1006 0.158)
OKLCHoklch(92.67% 0.187 122.5)
XYZxyz(62.3691, 82.6817, 22.5689)
Luminance0.8268 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1FA5B #845BFA
analogous
#FAD45B #D1FA5B #82FA5B
triadic
#D1FA5B #5BD1FA #FA5BD1
tetradic
#D1FA5B #5BFAD4 #845BFA #FA5B82
square
#D1FA5B #5BFAD4 #845BFA #FA5B82
split-complementary
#D1FA5B #5B82FA #D45BFA
monochromatic
#9FD406 #C0F820 #D1FA5B #E2FC96 #F2FED2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D1FA5B#FFFFFF#000000##000000
##D1FA5B1.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)
#FFEC46
Deuteranopia (green-blind)
#FFEA67
Tritanopia (blue-blind)
#DBEED9
Achromatopsia (no color)
#EBEBEB

Design tokens & code

CSS
--color: #d1fa5b;
/* rgb */ color: rgb(209, 250, 91);
/* oklch */ color: oklch(92.7% 0.187 122.5);
Tailwind
colors: {
  custom: {
    50: '#e2fc90',
    500: '#d1fa5b',
    950: '#000000',
  },
}
SCSS
$custom: #d1fa5b;
$custom-light: #e2fc90;
$custom-dark: #000000;
JSON
{
  "hex": "#d1fa5b",
  "rgb": {
    "r": 209,
    "g": 250,
    "b": 91
  },
  "hsl": {
    "h": 75.472,
    "s": 94.083,
    "l": 66.863
  },
  "oklch": {
    "l": 0.92666,
    "c": 0.18734,
    "h": 122.5
  },
  "luminance": 0.82682
}

Semantic roles & 50–950 ramp

primary
#D1FA5B
secondary
#552BCF
accent
#00E63B
background
#FEFFFC
surface
#FDFFF4
border
#D5D7CE
text
#16170D
muted
#84857F

Preview Lab

Preview with #D1FA5B

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

Preview Lab → · Contrast checker → · Palette generator →

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