#A6BA2B#A6BA2B
#A6BA2B is a light, vivid yellow. Relative luminance 0.434; OKLCH L 74.9% C 0.160 H 117.6°. Best body text is #000000 at 9.68:1 contrast (WCAG AA passes).
Color values
| HEX | #A6BA2B |
|---|---|
| RGB | rgb(166, 186, 43) |
| HSL | hsl(68, 62%, 45%) |
| HSV | hsv(68, 77%, 73%) |
| CMYK | cmyk(10.8%, 0%, 76.9%, 27.1%) |
| CIE-LAB | lab(71.83, -24.59, 64.67) |
| CIE-LCH | lch(71.83, 69.19, 110.82°) |
| OKLab | oklab(74.87% -0.0742 0.1419) |
| OKLCH | oklch(74.87% 0.16 117.6) |
| XYZ | xyz(33.7217, 43.3996, 8.8855) |
| Luminance | 0.4340 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea
#A4BF20
ΔE00 1.80
Sick Green
#9DB92C
ΔE00 1.92
Gross Green
#A0BF16
ΔE00 2.40
Bright Olive
#9CBB04
ΔE00 2.42
Snot
#ACBB0D
ΔE00 2.43
Mustard Green
#A8B504
ΔE00 2.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A6BA2B #3F2BBA
analogous
#BA872B #A6BA2B #5EBA2B
triadic
#A6BA2B #2BA6BA #BA2BA6
tetradic
#A6BA2B #2BBA87 #3F2BBA #BA2B5E
square
#A6BA2B #2BBA87 #3F2BBA #BA2B5E
split-complementary
#A6BA2B #2B5EBA #872BBA
monochromatic
#4D5714 #7A8820 #A6BA2B #C3D64C #D3E17E
Accessibility & contrast
On white
2.17
#A6BA2B on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.68
#A6BA2B on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A6BA2B
9.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A6BA2B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A6BA2B | 1.00 | 2.17 | 9.68 | 9.68 |
| #FFFFFF | 2.17 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.68 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.68 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C7B001
Deuteranopia (green-blind)
#C5B138
Tritanopia (blue-blind)
#B0AF9F
Achromatopsia (no color)
#B0B0B0
Design tokens & code
CSS
--color: #a6ba2b; /* rgb */ color: rgb(166, 186, 43); /* oklch */ color: oklch(74.9% 0.160 117.6);
Tailwind
colors: {
custom: {
50: '#c4ce70',
500: '#a6ba2b',
950: '#000000',
},
}SCSS
$custom: #a6ba2b; $custom-light: #c4ce70; $custom-dark: #000000;
JSON
{
"hex": "#a6ba2b",
"rgb": {
"r": 166,
"g": 186,
"b": 43
},
"hsl": {
"h": 68.392,
"s": 62.445,
"l": 44.902
},
"oklch": {
"l": 0.74871,
"c": 0.16012,
"h": 117.6
},
"luminance": 0.43399
}Semantic roles & 50–950 ramp
primary
#A6BA2B
secondary
#8377CA
accent
#42E659
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131308
muted
#82827B