#A6C162#A6C162
#A6C162 is a light, vivid yellow-green. Relative luminance 0.471; OKLCH L 77.0% C 0.126 H 122.5°. Best body text is #000000 at 10.43:1 contrast (WCAG AA passes).
Color values
| HEX | #A6C162 |
|---|---|
| RGB | rgb(166, 193, 98) |
| HSL | hsl(77, 43%, 57%) |
| HSV | hsv(77, 49%, 76%) |
| CMYK | cmyk(14%, 0%, 49.2%, 24.3%) |
| CIE-LAB | lab(74.27, -24.02, 44.47) |
| CIE-LCH | lch(74.27, 50.54, 118.37°) |
| OKLab | oklab(76.99% -0.0675 0.1061) |
| OKLCH | oklch(76.99% 0.126 122.5) |
| XYZ | xyz(37.0006, 47.1287, 18.7004) |
| Luminance | 0.4713 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Light Olive Green
#A4BE5C
ΔE00 1.00
Light Olive
#ACBF69
ΔE00 1.96
Tan Green
#A9BE70
ΔE00 2.81
Light Moss Green
#A6C875
ΔE00 3.39
Greenish Tan
#BCCB7A
ΔE00 4.58
Pale Olive Green
#B1D27B
ΔE00 4.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A6C162 #7D62C1
analogous
#C1AD62 #A6C162 #76C162
triadic
#A6C162 #62A6C1 #C162A6
tetradic
#A6C162 #62C1AD #7D62C1 #C16276
square
#A6C162 #62C1AD #7D62C1 #C16276
split-complementary
#A6C162 #6276C1 #AD62C1
monochromatic
#647930 #88A541 #A6C162 #BFD28E #D8E4BA
Accessibility & contrast
On white
2.01
#A6C162 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.43
#A6C162 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A6C162
10.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A6C162 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A6C162 | 1.00 | 2.01 | 10.43 | 10.43 |
| #FFFFFF | 2.01 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.43 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.43 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CBB75A
Deuteranopia (green-blind)
#C7B767
Tritanopia (blue-blind)
#ADB9AB
Achromatopsia (no color)
#B7B7B7
Design tokens & code
CSS
--color: #a6c162; /* rgb */ color: rgb(166, 193, 98); /* oklch */ color: oklch(77.0% 0.126 122.5);
Tailwind
colors: {
custom: {
50: '#c2d391',
500: '#a6c162',
950: '#000000',
},
}SCSS
$custom: #a6c162; $custom-light: #c2d391; $custom-dark: #000000;
JSON
{
"hex": "#a6c162",
"rgb": {
"r": 166,
"g": 193,
"b": 98
},
"hsl": {
"h": 77.053,
"s": 43.379,
"l": 57.059
},
"oklch": {
"l": 0.76987,
"c": 0.12569,
"h": 122.5
},
"luminance": 0.47129
}Semantic roles & 50–950 ramp
primary
#A6C162
secondary
#B7ACD3
accent
#55D379
background
#FCFCF9
surface
#F8F9F1
border
#D1D2CB
text
#13140D
muted
#82827E