#D1FA57#D1FA57

#D1FA57 is a very light, vivid yellow-green. Relative luminance 0.826; OKLCH L 92.6% C 0.190 H 122.3°. Best body text is #000000 at 17.52:1 contrast (WCAG AA passes).

Color values

HEX#D1FA57
RGBrgb(209, 250, 87)
HSLhsl(75, 94%, 66%)
HSVhsv(75, 65%, 98%)
CMYKcmyk(16.4%, 0%, 65.2%, 2%)
CIE-LABlab(92.85, -35.06, 70.87)
CIE-LCHlch(92.85, 79.07, 116.32°)
OKLaboklab(92.63% -0.1017 0.1607)
OKLCHoklch(92.63% 0.19 122.3)
XYZxyz(62.2011, 82.6145, 21.6843)
Luminance0.8262 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1FA57 #8057FA
analogous
#FAD157 #D1FA57 #7FFA57
triadic
#D1FA57 #57D1FA #FA57D1
tetradic
#D1FA57 #57FAD1 #8057FA #FA577F
square
#D1FA57 #57FAD1 #8057FA #FA577F
split-complementary
#D1FA57 #577FFA #D157FA
monochromatic
#9ED006 #C1F81C #D1FA57 #E1FC92 #F2FECE

Accessibility & contrast

On white

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

On black

17.52
#D1FA57 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1FA57
17.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1FA57#FFFFFF#000000##000000
##D1FA571.001.2017.5217.52
#FFFFFF1.201.0021.0021.00
#00000017.5221.001.001.00
##00000017.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFEB40
Deuteranopia (green-blind)
#FFEA63
Tritanopia (blue-blind)
#DBEED9
Achromatopsia (no color)
#EAEAEA

Design tokens & code

CSS
--color: #d1fa57;
/* rgb */ color: rgb(209, 250, 87);
/* oklch */ color: oklch(92.6% 0.190 122.3);
Tailwind
colors: {
  custom: {
    50: '#e2fc8e',
    500: '#d1fa57',
    950: '#000000',
  },
}
SCSS
$custom: #d1fa57;
$custom-light: #e2fc8e;
$custom-dark: #000000;
JSON
{
  "hex": "#d1fa57",
  "rgb": {
    "r": 209,
    "g": 250,
    "b": 87
  },
  "hsl": {
    "h": 75.092,
    "s": 94.22,
    "l": 66.078
  },
  "oklch": {
    "l": 0.92632,
    "c": 0.19017,
    "h": 122.3
  },
  "luminance": 0.82615
}

Semantic roles & 50–950 ramp

primary
#D1FA57
secondary
#522ACB
accent
#00E63A
background
#FEFFFC
surface
#FDFFF4
border
#D5D7CE
text
#16170D
muted
#84857F

Preview Lab

Preview with #D1FA57

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

Preview Lab → · Contrast checker → · Palette generator →

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