#A6D152#A6D152

#A6D152 is a light, vivid yellow-green. Relative luminance 0.543; OKLCH L 80.5% C 0.162 H 125.7°. Best body text is #000000 at 11.86:1 contrast (WCAG AA passes).

Color values

HEX#A6D152
RGBrgb(166, 209, 82)
HSLhsl(80, 58%, 57%)
HSVhsv(80, 61%, 82%)
CMYKcmyk(20.6%, 0%, 60.8%, 18%)
CIE-LABlab(78.65, -33.11, 56.87)
CIE-LCHlch(78.65, 65.80, 120.21°)
OKLaboklab(80.46% -0.0942 0.1313)
OKLCHoklch(80.46% 0.162 125.7)
XYZxyz(40.0494, 54.3166, 16.3552)
Luminance0.5432 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6D152 #7D52D1
analogous
#D1BD52 #A6D152 #67D152
triadic
#A6D152 #52A6D1 #D152A6
tetradic
#A6D152 #52D1BD #7D52D1 #D15267
square
#A6D152 #52D1BD #7D52D1 #D15267
split-complementary
#A6D152 #5267D1 #BD52D1
monochromatic
#648523 #88B630 #A6D152 #BFDE82 #D8EBB3

Accessibility & contrast

On white

1.77
#A6D152 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.86
#A6D152 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6D152
11.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6D152#FFFFFF#000000##000000
##A6D1521.001.7711.8611.86
#FFFFFF1.771.0021.0021.00
#00000011.8621.001.001.00
##00000011.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC443
Deuteranopia (green-blind)
#D6C25B
Tritanopia (blue-blind)
#ACC8B6
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #a6d152;
/* rgb */ color: rgb(166, 209, 82);
/* oklch */ color: oklch(80.5% 0.162 125.7);
Tailwind
colors: {
  custom: {
    50: '#c3df88',
    500: '#a6d152',
    950: '#000000',
  },
}
SCSS
$custom: #a6d152;
$custom-light: #c3df88;
$custom-dark: #000000;
JSON
{
  "hex": "#a6d152",
  "rgb": {
    "r": 166,
    "g": 209,
    "b": 82
  },
  "hsl": {
    "h": 80.315,
    "s": 57.991,
    "l": 57.059
  },
  "oklch": {
    "l": 0.80457,
    "c": 0.16159,
    "h": 125.7
  },
  "luminance": 0.54317
}

Semantic roles & 50–950 ramp

primary
#A6D152
secondary
#573B8C
accent
#47E17B
background
#FDFEFC
surface
#F9FCF4
border
#D2D5CE
text
#13150C
muted
#82847F

Preview Lab

Preview with #A6D152

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

Preview Lab → · Contrast checker → · Palette generator →

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