#A6C22E#A6C22E

#A6C22E is a light, vivid yellow-green. Relative luminance 0.469; OKLCH L 76.7% C 0.168 H 120.1°. Best body text is #000000 at 10.38:1 contrast (WCAG AA passes).

Color values

HEX#A6C22E
RGBrgb(166, 194, 46)
HSLhsl(71, 62%, 47%)
HSVhsv(71, 76%, 76%)
CMYKcmyk(14.4%, 0%, 76.3%, 23.9%)
CIE-LABlab(74.12, -28.32, 65.86)
CIE-LCHlch(74.12, 71.69, 113.27°)
OKLaboklab(76.72% -0.0842 0.1449)
OKLCHoklch(76.72% 0.168 120.1)
XYZxyz(35.5115, 46.8880, 9.7637)
Luminance0.4689 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6C22E #4A2EC2
analogous
#C2942E #A6C22E #5CC22E
triadic
#A6C22E #2EA6C2 #C22EA6
tetradic
#A6C22E #2EC294 #4A2EC2 #C22E5C
square
#A6C22E #2EC294 #4A2EC2 #C22E5C
split-complementary
#A6C22E #2E5CC2 #942EC2
monochromatic
#515F17 #7C9122 #A6C22E #BFD756 #D1E388

Accessibility & contrast

On white

2.02
#A6C22E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.38
#A6C22E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A6C22E
10.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A6C22E#FFFFFF#000000##000000
##A6C22E1.002.0210.3810.38
#FFFFFF2.021.0021.0021.00
#00000010.3821.001.001.00
##00000010.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEB604
Deuteranopia (green-blind)
#CBB73C
Tritanopia (blue-blind)
#B0B7A6
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #a6c22e;
/* rgb */ color: rgb(166, 194, 46);
/* oklch */ color: oklch(76.7% 0.168 120.1);
Tailwind
colors: {
  custom: {
    50: '#c4d473',
    500: '#a6c22e',
    950: '#000000',
  },
}
SCSS
$custom: #a6c22e;
$custom-light: #c4d473;
$custom-dark: #000000;
JSON
{
  "hex": "#a6c22e",
  "rgb": {
    "r": 166,
    "g": 194,
    "b": 46
  },
  "hsl": {
    "h": 71.351,
    "s": 61.667,
    "l": 47.059
  },
  "oklch": {
    "l": 0.76722,
    "c": 0.1676,
    "h": 120.1
  },
  "luminance": 0.46888
}

Semantic roles & 50–950 ramp

primary
#A6C22E
secondary
#8E7FCC
accent
#43E562
background
#FCFDF7
surface
#F8FAED
border
#D1D3C8
text
#131409
muted
#82837B

Preview Lab

Preview with #A6C22E

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

Preview Lab → · Contrast checker → · Palette generator →

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