#A6CC3A#A6CC3A

#A6CC3A is a light, vivid yellow-green. Relative luminance 0.516; OKLCH L 79.1% C 0.172 H 123.2°. Best body text is #000000 at 11.32:1 contrast (WCAG AA passes).

Color values

HEX#A6CC3A
RGBrgb(166, 204, 58)
HSLhsl(76, 59%, 51%)
HSVhsv(76, 72%, 80%)
CMYKcmyk(18.6%, 0%, 71.6%, 20%)
CIE-LABlab(77.04, -32.42, 64.64)
CIE-LCHlch(77.04, 72.32, 116.64°)
OKLaboklab(79.1% -0.0945 0.1443)
OKLCHoklch(79.1% 0.173 123.2)
XYZxyz(38.0829, 51.5980, 11.9553)
Luminance0.5160 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6CC3A #603ACC
analogous
#CCA93A #A6CC3A #5DCC3A
triadic
#A6CC3A #3AA6CC #CC3AA6
tetradic
#A6CC3A #3ACCA9 #603ACC #CC3A5D
square
#A6CC3A #3ACCA9 #603ACC #CC3A5D
split-complementary
#A6CC3A #3A5DCC #A93ACC
monochromatic
#5A6F1D #81A029 #A6CC3A #BCD96B #D2E59B

Accessibility & contrast

On white

1.86
#A6CC3A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.32
#A6CC3A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6CC3A
11.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6CC3A#FFFFFF#000000##000000
##A6CC3A1.001.8611.3211.32
#FFFFFF1.861.0021.0021.00
#00000011.3221.001.001.00
##00000011.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8BF1F
Deuteranopia (green-blind)
#D3BE47
Tritanopia (blue-blind)
#AEC2B0
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #a6cc3a;
/* rgb */ color: rgb(166, 204, 58);
/* oklch */ color: oklch(79.1% 0.172 123.2);
Tailwind
colors: {
  custom: {
    50: '#c4db7a',
    500: '#a6cc3a',
    950: '#000000',
  },
}
SCSS
$custom: #a6cc3a;
$custom-light: #c4db7a;
$custom-dark: #000000;
JSON
{
  "hex": "#a6cc3a",
  "rgb": {
    "r": 166,
    "g": 204,
    "b": 58
  },
  "hsl": {
    "h": 75.616,
    "s": 58.871,
    "l": 51.373
  },
  "oklch": {
    "l": 0.79102,
    "c": 0.1725,
    "h": 123.2
  },
  "luminance": 0.51598
}

Semantic roles & 50–950 ramp

primary
#A6CC3A
secondary
#443278
accent
#46E26E
background
#FEFEFB
surface
#FAFBF2
border
#D3D4CC
text
#13150A
muted
#83847D

Preview Lab

Preview with #A6CC3A

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

Preview Lab → · Contrast checker → · Palette generator →

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