#A6CC3E#A6CC3E

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

Color values

HEX#A6CC3E
RGBrgb(166, 204, 62)
HSLhsl(76, 58%, 52%)
HSVhsv(76, 70%, 80%)
CMYKcmyk(18.6%, 0%, 69.6%, 20%)
CIE-LABlab(77.07, -32.19, 63.22)
CIE-LCHlch(77.07, 70.95, 116.98°)
OKLaboklab(79.13% -0.0935 0.142)
OKLCHoklch(79.13% 0.17 123.4)
XYZxyz(38.1887, 51.6403, 12.5122)
Luminance0.5164 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6CC3E #643ECC
analogous
#CCAB3E #A6CC3E #5FCC3E
triadic
#A6CC3E #3EA6CC #CC3EA6
tetradic
#A6CC3E #3ECCAB #643ECC #CC3E5F
square
#A6CC3E #3ECCAB #643ECC #CC3E5F
split-complementary
#A6CC3E #3E5FCC #AB3ECC
monochromatic
#5B721E #82A22B #A6CC3E #BCD96E #D3E69F

Accessibility & contrast

On white

1.85
#A6CC3E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.33
#A6CC3E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6CC3E
11.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6CC3E#FFFFFF#000000##000000
##A6CC3E1.001.8511.3311.33
#FFFFFF1.851.0021.0021.00
#00000011.3321.001.001.00
##00000011.3321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a6cc3e;
/* rgb */ color: rgb(166, 204, 62);
/* oklch */ color: oklch(79.1% 0.170 123.4);
Tailwind
colors: {
  custom: {
    50: '#c4db7c',
    500: '#a6cc3e',
    950: '#000000',
  },
}
SCSS
$custom: #a6cc3e;
$custom-light: #c4db7c;
$custom-dark: #000000;
JSON
{
  "hex": "#a6cc3e",
  "rgb": {
    "r": 166,
    "g": 204,
    "b": 62
  },
  "hsl": {
    "h": 76.056,
    "s": 58.197,
    "l": 52.157
  },
  "oklch": {
    "l": 0.79131,
    "c": 0.16998,
    "h": 123.4
  },
  "luminance": 0.51641
}

Semantic roles & 50–950 ramp

primary
#A6CC3E
secondary
#47347B
accent
#46E170
background
#FDFEFB
surface
#F9FBF2
border
#D2D4CC
text
#13150A
muted
#82847D

Preview Lab

Preview with #A6CC3E

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

Preview Lab → · Contrast checker → · Palette generator →

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