#D2F251#D2F251

#D2F251 is a very light, vivid yellow-green. Relative luminance 0.778; OKLCH L 90.9% C 0.185 H 119.9°. Best body text is #000000 at 16.56:1 contrast (WCAG AA passes).

Color values

HEX#D2F251
RGBrgb(210, 242, 81)
HSLhsl(72, 86%, 63%)
HSVhsv(72, 67%, 95%)
CMYKcmyk(13.2%, 0%, 66.5%, 5.1%)
CIE-LABlab(90.69, -31.38, 70.93)
CIE-LCHlch(90.69, 77.56, 113.87°)
OKLaboklab(90.9% -0.0921 0.16)
OKLCHoklch(90.9% 0.185 119.9)
XYZxyz(59.8167, 77.8002, 19.6487)
Luminance0.7780 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D2F251 #7151F2
analogous
#F2C151 #D2F251 #82F251
triadic
#D2F251 #51D2F2 #F251D2
tetradic
#D2F251 #51F2C1 #7151F2 #F25182
square
#D2F251 #51F2C1 #7151F2 #F25182
split-complementary
#D2F251 #5182F2 #C151F2
monochromatic
#98BB0E #C3EE18 #D2F251 #E1F68A #EFFBC3

Accessibility & contrast

On white

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

On black

16.56
#D2F251 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D2F251
16.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D2F251#FFFFFF#000000##000000
##D2F2511.001.2716.5616.56
#FFFFFF1.271.0021.0021.00
#00000016.5621.001.001.00
##00000016.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE539
Deuteranopia (green-blind)
#FDE55D
Tritanopia (blue-blind)
#DDE6D2
Achromatopsia (no color)
#E4E4E4

Design tokens & code

CSS
--color: #d2f251;
/* rgb */ color: rgb(210, 242, 81);
/* oklch */ color: oklch(90.9% 0.185 119.9);
Tailwind
colors: {
  custom: {
    50: '#e3f68a',
    500: '#d2f251',
    950: '#000000',
  },
}
SCSS
$custom: #d2f251;
$custom-light: #e3f68a;
$custom-dark: #000000;
JSON
{
  "hex": "#d2f251",
  "rgb": {
    "r": 210,
    "g": 242,
    "b": 81
  },
  "hsl": {
    "h": 71.925,
    "s": 86.096,
    "l": 63.333
  },
  "oklch": {
    "l": 0.90898,
    "c": 0.18457,
    "h": 119.9
  },
  "luminance": 0.778
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D2F251

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

Preview Lab → · Contrast checker → · Palette generator →

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