#A6BB2A#A6BB2A
#A6BB2A is a light, vivid yellow. Relative luminance 0.438; OKLCH L 75.1% C 0.162 H 117.9°. Best body text is #000000 at 9.76:1 contrast (WCAG AA passes).
Color values
| HEX | #A6BB2A |
|---|---|
| RGB | rgb(166, 187, 42) |
| HSL | hsl(69, 63%, 45%) |
| HSV | hsv(69, 78%, 73%) |
| CMYK | cmyk(11.2%, 0%, 77.5%, 26.7%) |
| CIE-LAB | lab(72.10, -25.12, 65.24) |
| CIE-LCH | lch(72.10, 69.91, 111.06°) |
| OKLab | oklab(75.1% -0.0757 0.1429) |
| OKLCH | oklch(75.1% 0.162 117.9) |
| XYZ | xyz(33.9149, 43.8152, 8.8606) |
| Luminance | 0.4381 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea
#A4BF20
ΔE00 1.50
Sick Green
#9DB92C
ΔE00 1.88
Gross Green
#A0BF16
ΔE00 2.12
Bright Olive
#9CBB04
ΔE00 2.24
Snot
#ACBB0D
ΔE00 2.42
Mustard Green
#A8B504
ΔE00 2.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A6BB2A #3F2ABB
analogous
#BB882A #A6BB2A #5DBB2A
triadic
#A6BB2A #2AA6BB #BB2AA6
tetradic
#A6BB2A #2ABB88 #3F2ABB #BB2A5D
square
#A6BB2A #2ABB88 #3F2ABB #BB2A5D
split-complementary
#A6BB2A #2A5DBB #882ABB
monochromatic
#4D5714 #7A891F #A6BB2A #C3D74C #D3E27D
Accessibility & contrast
On white
2.15
#A6BB2A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.76
#A6BB2A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A6BB2A
9.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A6BB2A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A6BB2A | 1.00 | 2.15 | 9.76 | 9.76 |
| #FFFFFF | 2.15 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.76 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.76 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C8B000
Deuteranopia (green-blind)
#C6B138
Tritanopia (blue-blind)
#B0B0A0
Achromatopsia (no color)
#B1B1B1
Design tokens & code
CSS
--color: #a6bb2a; /* rgb */ color: rgb(166, 187, 42); /* oklch */ color: oklch(75.1% 0.162 117.9);
Tailwind
colors: {
custom: {
50: '#c4cf70',
500: '#a6bb2a',
950: '#000000',
},
}SCSS
$custom: #a6bb2a; $custom-light: #c4cf70; $custom-dark: #000000;
JSON
{
"hex": "#a6bb2a",
"rgb": {
"r": 166,
"g": 187,
"b": 42
},
"hsl": {
"h": 68.69,
"s": 63.319,
"l": 44.902
},
"oklch": {
"l": 0.75095,
"c": 0.16174,
"h": 117.9
},
"luminance": 0.43815
}Semantic roles & 50–950 ramp
primary
#A6BB2A
secondary
#8376CA
accent
#41E659
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131308
muted
#82827B