#D1F251#D1F251

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

Color values

HEX#D1F251
RGBrgb(209, 242, 81)
HSLhsl(72, 86%, 63%)
HSVhsv(72, 67%, 95%)
CMYKcmyk(13.6%, 0%, 66.5%, 5.1%)
CIE-LABlab(90.62, -31.77, 70.84)
CIE-LCHlch(90.62, 77.64, 114.16°)
OKLaboklab(90.83% -0.0931 0.1598)
OKLCHoklch(90.83% 0.185 120.2)
XYZxyz(59.5328, 77.6539, 19.6354)
Luminance0.7765 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D1F251 #7251F2
analogous
#F2C251 #D1F251 #80F251
triadic
#D1F251 #51D1F2 #F251D1
tetradic
#D1F251 #51F2C2 #7251F2 #F25180
square
#D1F251 #51F2C2 #7251F2 #F25180
split-complementary
#D1F251 #5180F2 #C251F2
monochromatic
#97BB0E #C2EE18 #D1F251 #E0F68A #EFFBC3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D1F251#FFFFFF#000000##000000
##D1F2511.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)
#FFE439
Deuteranopia (green-blind)
#FDE45D
Tritanopia (blue-blind)
#DCE6D2
Achromatopsia (no color)
#E4E4E4

Design tokens & code

CSS
--color: #d1f251;
/* rgb */ color: rgb(209, 242, 81);
/* oklch */ color: oklch(90.8% 0.185 120.2);
Tailwind
colors: {
  custom: {
    50: '#e2f68a',
    500: '#d1f251',
    950: '#000000',
  },
}
SCSS
$custom: #d1f251;
$custom-light: #e2f68a;
$custom-dark: #000000;
JSON
{
  "hex": "#d1f251",
  "rgb": {
    "r": 209,
    "g": 242,
    "b": 81
  },
  "hsl": {
    "h": 72.298,
    "s": 86.096,
    "l": 63.333
  },
  "oklch": {
    "l": 0.90827,
    "c": 0.18494,
    "h": 120.2
  },
  "luminance": 0.77654
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D1F251

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

Preview Lab → · Contrast checker → · Palette generator →

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