#A6D952#A6D952

#A6D952 is a very light, vivid yellow-green. Relative luminance 0.583; OKLCH L 82.3% C 0.172 H 127.4°. Best body text is #000000 at 12.67:1 contrast (WCAG AA passes).

Color values

HEX#A6D952
RGBrgb(166, 217, 82)
HSLhsl(83, 64%, 59%)
HSVhsv(83, 62%, 85%)
CMYKcmyk(23.5%, 0%, 62.2%, 14.9%)
CIE-LABlab(80.93, -36.77, 59.37)
CIE-LCHlch(80.93, 69.83, 121.77°)
OKLaboklab(82.3% -0.1044 0.1366)
OKLCHoklch(82.3% 0.172 127.4)
XYZxyz(42.0617, 58.3411, 17.0260)
Luminance0.5834 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6D952 #8552D9
analogous
#D9C952 #A6D952 #62D952
triadic
#A6D952 #52A6D9 #D952A6
tetradic
#A6D952 #52D9C9 #8552D9 #D95262
square
#A6D952 #52D9C9 #8552D9 #D95262
split-complementary
#A6D952 #5262D9 #C952D9
monochromatic
#669120 #89C32B #A6D952 #C0E484 #DAEFB6

Accessibility & contrast

On white

1.66
#A6D952 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.67
#A6D952 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6D952
12.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6D952#FFFFFF#000000##000000
##A6D9521.001.6612.6712.67
#FFFFFF1.661.0021.0021.00
#00000012.6721.001.001.00
##00000012.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E3CB42
Deuteranopia (green-blind)
#DCC85C
Tritanopia (blue-blind)
#ACD0BD
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #a6d952;
/* rgb */ color: rgb(166, 217, 82);
/* oklch */ color: oklch(82.3% 0.172 127.4);
Tailwind
colors: {
  custom: {
    50: '#c4e588',
    500: '#a6d952',
    950: '#000000',
  },
}
SCSS
$custom: #a6d952;
$custom-light: #c4e588;
$custom-dark: #000000;
JSON
{
  "hex": "#a6d952",
  "rgb": {
    "r": 166,
    "g": 217,
    "b": 82
  },
  "hsl": {
    "h": 82.667,
    "s": 63.981,
    "l": 58.627
  },
  "oklch": {
    "l": 0.82303,
    "c": 0.17188,
    "h": 127.4
  },
  "luminance": 0.58342
}

Semantic roles & 50–950 ramp

primary
#A6D952
secondary
#5C3996
accent
#41E780
background
#FDFEFC
surface
#F9FCF4
border
#D2D5CE
text
#13150C
muted
#82847F

Preview Lab

Preview with #A6D952

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

Preview Lab → · Contrast checker → · Palette generator →

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