#D5F252#D5F252

#D5F252 is a very light, vivid yellow-green. Relative luminance 0.783; OKLCH L 91.1% C 0.183 H 119.0°. Best body text is #000000 at 16.65:1 contrast (WCAG AA passes).

Color values

HEX#D5F252
RGBrgb(213, 242, 82)
HSLhsl(71, 86%, 64%)
HSVhsv(71, 66%, 95%)
CMYKcmyk(12%, 0%, 66.1%, 5.1%)
CIE-LABlab(90.90, -30.15, 70.83)
CIE-LCHlch(90.90, 76.98, 113.06°)
OKLaboklab(91.12% -0.0887 0.1598)
OKLCHoklch(91.12% 0.183 119)
XYZxyz(60.7168, 78.2600, 19.8881)
Luminance0.7826 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D5F252 #6F52F2
analogous
#F2BF52 #D5F252 #85F252
triadic
#D5F252 #52D5F2 #F252D5
tetradic
#D5F252 #52F2BF #6F52F2 #F25285
square
#D5F252 #52F2BF #6F52F2 #F25285
split-complementary
#D5F252 #5285F2 #BF52F2
monochromatic
#9CBC0E #C7EE19 #D5F252 #E3F68B #F1FBC4

Accessibility & contrast

On white

1.26
#D5F252 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

16.65
#D5F252 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D5F252
16.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D5F252#FFFFFF#000000##000000
##D5F2521.001.2616.6516.65
#FFFFFF1.261.0021.0021.00
#00000016.6521.001.001.00
##00000016.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#FFE53B
Deuteranopia (green-blind)
#FEE65E
Tritanopia (blue-blind)
#E1E5D2
Achromatopsia (no color)
#E5E5E5

Design tokens & code

CSS
--color: #d5f252;
/* rgb */ color: rgb(213, 242, 82);
/* oklch */ color: oklch(91.1% 0.183 119.0);
Tailwind
colors: {
  custom: {
    50: '#e5f68b',
    500: '#d5f252',
    950: '#000000',
  },
}
SCSS
$custom: #d5f252;
$custom-light: #e5f68b;
$custom-dark: #000000;
JSON
{
  "hex": "#d5f252",
  "rgb": {
    "r": 213,
    "g": 242,
    "b": 82
  },
  "hsl": {
    "h": 70.875,
    "s": 86.022,
    "l": 63.529
  },
  "oklch": {
    "l": 0.9112,
    "c": 0.18281,
    "h": 119
  },
  "luminance": 0.7826
}

Semantic roles & 50–950 ramp

primary
#D5F252
secondary
#482EBA
accent
#03E32B
background
#FFFFFC
surface
#FEFEF4
border
#D6D6CE
text
#16170C
muted
#85857F

Preview Lab

Preview with #D5F252

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

Preview Lab → · Contrast checker → · Palette generator →

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