#A6BB2B#A6BB2B
#A6BB2B is a light, vivid yellow. Relative luminance 0.438; OKLCH L 75.1% C 0.161 H 117.9°. Best body text is #000000 at 9.76:1 contrast (WCAG AA passes).
Color values
| HEX | #A6BB2B |
|---|---|
| RGB | rgb(166, 187, 43) |
| HSL | hsl(69, 63%, 45%) |
| HSV | hsv(69, 77%, 73%) |
| CMYK | cmyk(11.2%, 0%, 77%, 26.7%) |
| CIE-LAB | lab(72.11, -25.08, 64.93) |
| CIE-LCH | lch(72.11, 69.61, 111.12°) |
| OKLab | oklab(75.1% -0.0755 0.1425) |
| OKLCH | oklch(75.1% 0.161 117.9) |
| XYZ | xyz(33.9331, 43.8224, 8.9560) |
| Luminance | 0.4382 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea
#A4BF20
ΔE00 1.53
Sick Green
#9DB92C
ΔE00 1.85
Gross Green
#A0BF16
ΔE00 2.15
Bright Olive
#9CBB04
ΔE00 2.28
Snot
#ACBB0D
ΔE00 2.49
Mustard Green
#A8B504
ΔE00 3.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A6BB2B #402BBB
analogous
#BB882B #A6BB2B #5EBB2B
triadic
#A6BB2B #2BA6BB #BB2BA6
tetradic
#A6BB2B #2BBB88 #402BBB #BB2B5E
square
#A6BB2B #2BBB88 #402BBB #BB2B5E
split-complementary
#A6BB2B #2B5EBB #882BBB
monochromatic
#4E5714 #7A8920 #A6BB2B #C2D64D #D3E27F
Accessibility & contrast
On white
2.15
#A6BB2B on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.76
#A6BB2B on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A6BB2B
9.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A6BB2B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A6BB2B | 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)
#C6B139
Tritanopia (blue-blind)
#B0B0A0
Achromatopsia (no color)
#B1B1B1
Design tokens & code
CSS
--color: #a6bb2b; /* rgb */ color: rgb(166, 187, 43); /* oklch */ color: oklch(75.1% 0.161 117.9);
Tailwind
colors: {
custom: {
50: '#c4cf70',
500: '#a6bb2b',
950: '#000000',
},
}SCSS
$custom: #a6bb2b; $custom-light: #c4cf70; $custom-dark: #000000;
JSON
{
"hex": "#a6bb2b",
"rgb": {
"r": 166,
"g": 187,
"b": 43
},
"hsl": {
"h": 68.75,
"s": 62.609,
"l": 45.098
},
"oklch": {
"l": 0.751,
"c": 0.16124,
"h": 117.9
},
"luminance": 0.43822
}Semantic roles & 50–950 ramp
primary
#A6BB2B
secondary
#8478CA
accent
#42E65A
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131308
muted
#82827B