#D1F252#D1F252

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

Color values

HEX#D1F252
RGBrgb(209, 242, 82)
HSLhsl(72, 86%, 64%)
HSVhsv(72, 66%, 95%)
CMYKcmyk(13.6%, 0%, 66.1%, 5.1%)
CIE-LABlab(90.63, -31.71, 70.47)
CIE-LCHlch(90.63, 77.28, 114.23°)
OKLaboklab(90.84% -0.0929 0.1592)
OKLCHoklch(90.84% 0.184 120.3)
XYZxyz(59.5706, 77.6690, 19.8344)
Luminance0.7767 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1F252 #7352F2
analogous
#F2C352 #D1F252 #81F252
triadic
#D1F252 #52D1F2 #F252D1
tetradic
#D1F252 #52F2C3 #7352F2 #F25281
square
#D1F252 #52F2C3 #7352F2 #F25281
split-complementary
#D1F252 #5281F2 #C352F2
monochromatic
#98BC0E #C2EE19 #D1F252 #E0F68B #EFFBC4

Accessibility & contrast

On white

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

On black

16.53
#D1F252 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D1F252
16.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D1F252#FFFFFF#000000##000000
##D1F2521.001.2716.5316.53
#FFFFFF1.271.0021.0021.00
#00000016.5321.001.001.00
##00000016.5321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d1f252;
/* rgb */ color: rgb(209, 242, 82);
/* oklch */ color: oklch(90.8% 0.184 120.3);
Tailwind
colors: {
  custom: {
    50: '#e2f68b',
    500: '#d1f252',
    950: '#000000',
  },
}
SCSS
$custom: #d1f252;
$custom-light: #e2f68b;
$custom-dark: #000000;
JSON
{
  "hex": "#d1f252",
  "rgb": {
    "r": 209,
    "g": 242,
    "b": 82
  },
  "hsl": {
    "h": 72.375,
    "s": 86.022,
    "l": 63.529
  },
  "oklch": {
    "l": 0.90835,
    "c": 0.18426,
    "h": 120.3
  },
  "luminance": 0.77669
}

Semantic roles & 50–950 ramp

primary
#D1F252
secondary
#4B2EBA
accent
#03E331
background
#FEFFFC
surface
#FDFEF4
border
#D5D6CE
text
#16170C
muted
#84857F

Preview Lab

Preview with #D1F252

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

Preview Lab → · Contrast checker → · Palette generator →

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