#A6BA2A#A6BA2A
#A6BA2A is a light, vivid yellow. Relative luminance 0.434; OKLCH L 74.9% C 0.161 H 117.6°. Best body text is #000000 at 9.68:1 contrast (WCAG AA passes).
Color values
| HEX | #A6BA2A |
|---|---|
| RGB | rgb(166, 186, 42) |
| HSL | hsl(68, 63%, 45%) |
| HSV | hsv(68, 77%, 73%) |
| CMYK | cmyk(10.8%, 0%, 77.4%, 27.1%) |
| CIE-LAB | lab(71.82, -24.64, 64.98) |
| CIE-LCH | lch(71.82, 69.49, 110.76°) |
| OKLab | oklab(74.87% -0.0743 0.1424) |
| OKLCH | oklch(74.87% 0.161 117.6) |
| XYZ | xyz(33.7035, 43.3923, 8.7901) |
| Luminance | 0.4339 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea
#A4BF20
ΔE00 1.78
Sick Green
#9DB92C
ΔE00 1.95
Snot
#ACBB0D
ΔE00 2.36
Gross Green
#A0BF16
ΔE00 2.37
Bright Olive
#9CBB04
ΔE00 2.38
Mustard Green
#A8B504
ΔE00 2.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A6BA2A #3E2ABA
analogous
#BA862A #A6BA2A #5EBA2A
triadic
#A6BA2A #2AA6BA #BA2AA6
tetradic
#A6BA2A #2ABA86 #3E2ABA #BA2A5E
square
#A6BA2A #2ABA86 #3E2ABA #BA2A5E
split-complementary
#A6BA2A #2A5EBA #862ABA
monochromatic
#4D5613 #79881F #A6BA2A #C3D64B #D4E27D
Accessibility & contrast
On white
2.17
#A6BA2A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.68
#A6BA2A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A6BA2A
9.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A6BA2A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A6BA2A | 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)
#C7B000
Deuteranopia (green-blind)
#C5B138
Tritanopia (blue-blind)
#B1AF9F
Achromatopsia (no color)
#B0B0B0
Design tokens & code
CSS
--color: #a6ba2a; /* rgb */ color: rgb(166, 186, 42); /* oklch */ color: oklch(74.9% 0.161 117.6);
Tailwind
colors: {
custom: {
50: '#c4ce70',
500: '#a6ba2a',
950: '#000000',
},
}SCSS
$custom: #a6ba2a; $custom-light: #c4ce70; $custom-dark: #000000;
JSON
{
"hex": "#a6ba2a",
"rgb": {
"r": 166,
"g": 186,
"b": 42
},
"hsl": {
"h": 68.333,
"s": 63.158,
"l": 44.706
},
"oklch": {
"l": 0.74866,
"c": 0.16062,
"h": 117.6
},
"luminance": 0.43392
}Semantic roles & 50–950 ramp
primary
#A6BA2A
secondary
#8276CA
accent
#42E658
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131308
muted
#82827B