#A6D54A#A6D54A

#A6D54A is a light, vivid yellow-green. Relative luminance 0.562; OKLCH L 81.3% C 0.173 H 126.1°. Best body text is #000000 at 12.24:1 contrast (WCAG AA passes).

Color values

HEX#A6D54A
RGBrgb(166, 213, 74)
HSLhsl(80, 62%, 56%)
HSVhsv(80, 65%, 84%)
CMYKcmyk(22.1%, 0%, 65.3%, 16.5%)
CIE-LABlab(79.72, -35.55, 61.34)
CIE-LCHlch(79.72, 70.90, 120.09°)
OKLaboklab(81.31% -0.1017 0.1397)
OKLCHoklch(81.31% 0.173 126.1)
XYZxyz(40.7563, 56.1893, 15.1756)
Luminance0.5619 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6D54A #794AD5
analogous
#D5BF4A #A6D54A #61D54A
triadic
#A6D54A #4AA6D5 #D54AA6
tetradic
#A6D54A #4AD5BF #794AD5 #D54A61
square
#A6D54A #4AD5BF #794AD5 #D54A61
split-complementary
#A6D54A #4A61D5 #BF4AD5
monochromatic
#63861F #88B72B #A6D54A #BEE17C #D7ECAD

Accessibility & contrast

On white

1.72
#A6D54A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.24
#A6D54A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6D54A
12.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6D54A#FFFFFF#000000##000000
##A6D54A1.001.7212.2412.24
#FFFFFF1.721.0021.0021.00
#00000012.2421.001.001.00
##00000012.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0C737
Deuteranopia (green-blind)
#D9C555
Tritanopia (blue-blind)
#ADCBB9
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #a6d54a;
/* rgb */ color: rgb(166, 213, 74);
/* oklch */ color: oklch(81.3% 0.173 126.1);
Tailwind
colors: {
  custom: {
    50: '#c4e283',
    500: '#a6d54a',
    950: '#000000',
  },
}
SCSS
$custom: #a6d54a;
$custom-light: #c4e283;
$custom-dark: #000000;
JSON
{
  "hex": "#a6d54a",
  "rgb": {
    "r": 166,
    "g": 213,
    "b": 74
  },
  "hsl": {
    "h": 80.288,
    "s": 62.332,
    "l": 56.275
  },
  "oklch": {
    "l": 0.81306,
    "c": 0.17281,
    "h": 126.1
  },
  "luminance": 0.5619
}

Semantic roles & 50–950 ramp

primary
#A6D54A
secondary
#54378C
accent
#42E57A
background
#FDFEFB
surface
#F9FCF2
border
#D2D5CC
text
#13150B
muted
#82847E

Preview Lab

Preview with #A6D54A

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

Preview Lab → · Contrast checker → · Palette generator →

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