#A6D852#A6D852

#A6D852 is a very light, vivid yellow-green. Relative luminance 0.578; OKLCH L 82.1% C 0.171 H 127.2°. Best body text is #000000 at 12.57:1 contrast (WCAG AA passes).

Color values

HEX#A6D852
RGBrgb(166, 216, 82)
HSLhsl(82, 63%, 58%)
HSVhsv(82, 62%, 85%)
CMYKcmyk(23.1%, 0%, 62%, 15.3%)
CIE-LABlab(80.64, -36.32, 59.06)
CIE-LCHlch(80.64, 69.33, 121.59°)
OKLaboklab(82.07% -0.1031 0.1359)
OKLCHoklch(82.07% 0.171 127.2)
XYZxyz(41.8047, 57.8272, 16.9403)
Luminance0.5783 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6D852 #8452D8
analogous
#D8C752 #A6D852 #63D852
triadic
#A6D852 #52A6D8 #D852A6
tetradic
#A6D852 #52D8C7 #8452D8 #D85263
square
#A6D852 #52D8C7 #8452D8 #D85263
split-complementary
#A6D852 #5263D8 #C752D8
monochromatic
#668F20 #89C12C #A6D852 #C0E384 #D9EFB6

Accessibility & contrast

On white

1.67
#A6D852 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.57
#A6D852 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6D852
12.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6D852#FFFFFF#000000##000000
##A6D8521.001.6712.5712.57
#FFFFFF1.671.0021.0021.00
#00000012.5721.001.001.00
##00000012.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#E2CA42
Deuteranopia (green-blind)
#DBC75C
Tritanopia (blue-blind)
#ACCFBC
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #a6d852;
/* rgb */ color: rgb(166, 216, 82);
/* oklch */ color: oklch(82.1% 0.171 127.2);
Tailwind
colors: {
  custom: {
    50: '#c4e488',
    500: '#a6d852',
    950: '#000000',
  },
}
SCSS
$custom: #a6d852;
$custom-light: #c4e488;
$custom-dark: #000000;
JSON
{
  "hex": "#a6d852",
  "rgb": {
    "r": 166,
    "g": 216,
    "b": 82
  },
  "hsl": {
    "h": 82.388,
    "s": 63.208,
    "l": 58.431
  },
  "oklch": {
    "l": 0.82072,
    "c": 0.17059,
    "h": 127.2
  },
  "luminance": 0.57828
}

Semantic roles & 50–950 ramp

primary
#A6D852
secondary
#5C3995
accent
#42E67F
background
#FDFEFC
surface
#F9FCF4
border
#D2D5CE
text
#13150C
muted
#82847F

Preview Lab

Preview with #A6D852

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

Preview Lab → · Contrast checker → · Palette generator →

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