#D6F252#D6F252

#D6F252 is a very light, vivid yellow-green. Relative luminance 0.784; OKLCH L 91.2% C 0.182 H 118.7°. Best body text is #000000 at 16.68:1 contrast (WCAG AA passes).

Color values

HEX#D6F252
RGBrgb(214, 242, 82)
HSLhsl(71, 86%, 64%)
HSVhsv(71, 66%, 95%)
CMYKcmyk(11.6%, 0%, 66.1%, 5.1%)
CIE-LABlab(90.97, -29.76, 70.92)
CIE-LCHlch(90.97, 76.91, 112.76°)
OKLaboklab(91.19% -0.0877 0.16)
OKLCHoklch(91.19% 0.182 118.7)
XYZxyz(61.0078, 78.4100, 19.9017)
Luminance0.7841 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D6F252 #6E52F2
analogous
#F2BE52 #D6F252 #86F252
triadic
#D6F252 #52D6F2 #F252D6
tetradic
#D6F252 #52F2BE #6E52F2 #F25286
square
#D6F252 #52F2BE #6E52F2 #F25286
split-complementary
#D6F252 #5286F2 #BE52F2
monochromatic
#9DBC0E #C9EE19 #D6F252 #E3F68B #F1FBC4

Accessibility & contrast

On white

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

On black

16.68
#D6F252 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D6F252
16.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D6F252#FFFFFF#000000##000000
##D6F2521.001.2616.6816.68
#FFFFFF1.261.0021.0021.00
#00000016.6821.001.001.00
##00000016.6821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d6f252;
/* rgb */ color: rgb(214, 242, 82);
/* oklch */ color: oklch(91.2% 0.182 118.7);
Tailwind
colors: {
  custom: {
    50: '#e6f68b',
    500: '#d6f252',
    950: '#000000',
  },
}
SCSS
$custom: #d6f252;
$custom-light: #e6f68b;
$custom-dark: #000000;
JSON
{
  "hex": "#d6f252",
  "rgb": {
    "r": 214,
    "g": 242,
    "b": 82
  },
  "hsl": {
    "h": 70.5,
    "s": 86.022,
    "l": 63.529
  },
  "oklch": {
    "l": 0.91192,
    "c": 0.18246,
    "h": 118.7
  },
  "luminance": 0.7841
}

Semantic roles & 50–950 ramp

primary
#D6F252
secondary
#472EBA
accent
#03E32A
background
#FFFFFC
surface
#FEFEF4
border
#D6D6CE
text
#16170C
muted
#85857F

Preview Lab

Preview with #D6F252

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

Preview Lab → · Contrast checker → · Palette generator →

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