#A6C22D#A6C22D

#A6C22D 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#A6C22D
RGBrgb(166, 194, 45)
HSLhsl(71, 62%, 47%)
HSVhsv(71, 77%, 76%)
CMYKcmyk(14.4%, 0%, 76.8%, 23.9%)
CIE-LABlab(74.11, -28.36, 66.16)
CIE-LCHlch(74.11, 71.99, 113.21°)
OKLaboklab(76.72% -0.0844 0.1454)
OKLCHoklch(76.72% 0.168 120.1)
XYZxyz(35.4920, 46.8802, 9.6611)
Luminance0.4688 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6C22D #492DC2
analogous
#C2942D #A6C22D #5CC22D
triadic
#A6C22D #2DA6C2 #C22DA6
tetradic
#A6C22D #2DC294 #492DC2 #C22D5C
square
#A6C22D #2DC294 #492DC2 #C22D5C
split-complementary
#A6C22D #2D5CC2 #942DC2
monochromatic
#515F16 #7B9021 #A6C22D #BFD755 #D2E386

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A6C22D#FFFFFF#000000##000000
##A6C22D1.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)
#CEB601
Deuteranopia (green-blind)
#CBB73B
Tritanopia (blue-blind)
#B0B7A6
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #a6c22d;
/* rgb */ color: rgb(166, 194, 45);
/* oklch */ color: oklch(76.7% 0.168 120.1);
Tailwind
colors: {
  custom: {
    50: '#c4d472',
    500: '#a6c22d',
    950: '#000000',
  },
}
SCSS
$custom: #a6c22d;
$custom-light: #c4d472;
$custom-dark: #000000;
JSON
{
  "hex": "#a6c22d",
  "rgb": {
    "r": 166,
    "g": 194,
    "b": 45
  },
  "hsl": {
    "h": 71.275,
    "s": 62.343,
    "l": 46.863
  },
  "oklch": {
    "l": 0.76717,
    "c": 0.16812,
    "h": 120.1
  },
  "luminance": 0.4688
}

Semantic roles & 50–950 ramp

primary
#A6C22D
secondary
#8D7ECD
accent
#42E561
background
#FCFDF7
surface
#F8FAED
border
#D1D3C8
text
#131409
muted
#82837B

Preview Lab

Preview with #A6C22D

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

Preview Lab → · Contrast checker → · Palette generator →

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