#A6C22F#A6C22F

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

Color values

HEX#A6C22F
RGBrgb(166, 194, 47)
HSLhsl(71, 61%, 47%)
HSVhsv(71, 76%, 76%)
CMYKcmyk(14.4%, 0%, 75.8%, 23.9%)
CIE-LABlab(74.12, -28.27, 65.55)
CIE-LCHlch(74.12, 71.38, 113.33°)
OKLaboklab(76.73% -0.084 0.1444)
OKLCHoklch(76.73% 0.167 120.2)
XYZxyz(35.5314, 46.8959, 9.8688)
Luminance0.4690 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A6C22F #4B2FC2
analogous
#C2952F #A6C22F #5CC22F
triadic
#A6C22F #2FA6C2 #C22FA6
tetradic
#A6C22F #2FC295 #4B2FC2 #C22F5C
square
#A6C22F #2FC295 #4B2FC2 #C22F5C
split-complementary
#A6C22F #2F5CC2 #952FC2
monochromatic
#525F17 #7C9123 #A6C22F #BED658 #D1E289

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A6C22F#FFFFFF#000000##000000
##A6C22F1.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)
#CEB708
Deuteranopia (green-blind)
#CBB73D
Tritanopia (blue-blind)
#B0B8A6
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #a6c22f;
/* rgb */ color: rgb(166, 194, 47);
/* oklch */ color: oklch(76.7% 0.167 120.2);
Tailwind
colors: {
  custom: {
    50: '#c4d473',
    500: '#a6c22f',
    950: '#000000',
  },
}
SCSS
$custom: #a6c22f;
$custom-light: #c4d473;
$custom-dark: #000000;
JSON
{
  "hex": "#a6c22f",
  "rgb": {
    "r": 166,
    "g": 194,
    "b": 47
  },
  "hsl": {
    "h": 71.429,
    "s": 60.996,
    "l": 47.255
  },
  "oklch": {
    "l": 0.76728,
    "c": 0.16708,
    "h": 120.2
  },
  "luminance": 0.46896
}

Semantic roles & 50–950 ramp

primary
#A6C22F
secondary
#8F81CC
accent
#44E462
background
#FCFDF7
surface
#F8FAED
border
#D1D3C8
text
#131409
muted
#82837B

Preview Lab

Preview with #A6C22F

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

Preview Lab → · Contrast checker → · Palette generator →

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