#D1F254#D1F254

#D1F254 is a very light, vivid yellow-green. Relative luminance 0.777; OKLCH L 90.8% C 0.183 H 120.3°. Best body text is #000000 at 16.54:1 contrast (WCAG AA passes).

Color values

HEX#D1F254
RGBrgb(209, 242, 84)
HSLhsl(73, 86%, 64%)
HSVhsv(73, 65%, 95%)
CMYKcmyk(13.6%, 0%, 65.3%, 5.1%)
CIE-LABlab(90.64, -31.59, 69.72)
CIE-LCHlch(90.64, 76.55, 114.37°)
OKLaboklab(90.85% -0.0923 0.1579)
OKLCHoklch(90.85% 0.183 120.3)
XYZxyz(59.6478, 77.6998, 20.2410)
Luminance0.7770 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1F254 #7554F2
analogous
#F2C454 #D1F254 #82F254
triadic
#D1F254 #54D1F2 #F254D1
tetradic
#D1F254 #54F2C4 #7554F2 #F25482
square
#D1F254 #54F2C4 #7554F2 #F25482
split-complementary
#D1F254 #5482F2 #C454F2
monochromatic
#99BD0E #C2EE1B #D1F254 #E0F68D #F0FBC6

Accessibility & contrast

On white

1.27
#D1F254 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.54
#D1F254 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1F254
16.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1F254#FFFFFF#000000##000000
##D1F2541.001.2716.5416.54
#FFFFFF1.271.0021.0021.00
#00000016.5421.001.001.00
##00000016.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE53E
Deuteranopia (green-blind)
#FDE560
Tritanopia (blue-blind)
#DCE6D2
Achromatopsia (no color)
#E4E4E4

Design tokens & code

CSS
--color: #d1f254;
/* rgb */ color: rgb(209, 242, 84);
/* oklch */ color: oklch(90.8% 0.183 120.3);
Tailwind
colors: {
  custom: {
    50: '#e2f68c',
    500: '#d1f254',
    950: '#000000',
  },
}
SCSS
$custom: #d1f254;
$custom-light: #e2f68c;
$custom-dark: #000000;
JSON
{
  "hex": "#d1f254",
  "rgb": {
    "r": 209,
    "g": 242,
    "b": 84
  },
  "hsl": {
    "h": 72.532,
    "s": 85.87,
    "l": 63.922
  },
  "oklch": {
    "l": 0.9085,
    "c": 0.18288,
    "h": 120.3
  },
  "luminance": 0.777
}

Semantic roles & 50–950 ramp

primary
#D1F254
secondary
#4C2FBB
accent
#03E232
background
#FEFFFC
surface
#FDFEF4
border
#D5D6CE
text
#16170D
muted
#84857F

Preview Lab

Preview with #D1F254

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

Preview Lab → · Contrast checker → · Palette generator →

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