#A6BA2E#A6BA2E
#A6BA2E is a light, vivid yellow. Relative luminance 0.434; OKLCH L 74.9% C 0.159 H 117.6°. Best body text is #000000 at 9.68:1 contrast (WCAG AA passes).
Color values
| HEX | #A6BA2E |
|---|---|
| RGB | rgb(166, 186, 46) |
| HSL | hsl(69, 60%, 45%) |
| HSV | hsv(69, 75%, 73%) |
| CMYK | cmyk(10.8%, 0%, 75.3%, 27.1%) |
| CIE-LAB | lab(71.84, -24.46, 63.73) |
| CIE-LCH | lch(71.84, 68.26, 111.00°) |
| OKLab | oklab(74.89% -0.0735 0.1404) |
| OKLCH | oklch(74.89% 0.159 117.6) |
| XYZ | xyz(33.7787, 43.4224, 9.1861) |
| Luminance | 0.4342 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sick Green
#9DB92C
ΔE00 1.83
Pea
#A4BF20
ΔE00 1.90
Gross Green
#A0BF16
ΔE00 2.50
Bright Olive
#9CBB04
ΔE00 2.55
Snot
#ACBB0D
ΔE00 2.65
Mustard Green
#A8B504
ΔE00 3.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A6BA2E #422EBA
analogous
#BA882E #A6BA2E #60BA2E
triadic
#A6BA2E #2EA6BA #BA2EA6
tetradic
#A6BA2E #2EBA88 #422EBA #BA2E60
square
#A6BA2E #2EBA88 #422EBA #BA2E60
split-complementary
#A6BA2E #2E60BA #882EBA
monochromatic
#4E5816 #7A8922 #A6BA2E #C1D451 #D3E082
Accessibility & contrast
On white
2.17
#A6BA2E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.68
#A6BA2E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A6BA2E
9.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A6BA2E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A6BA2E | 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)
#C7B00C
Deuteranopia (green-blind)
#C5B13B
Tritanopia (blue-blind)
#B0AFA0
Achromatopsia (no color)
#B0B0B0
Design tokens & code
CSS
--color: #a6ba2e; /* rgb */ color: rgb(166, 186, 46); /* oklch */ color: oklch(74.9% 0.159 117.6);
Tailwind
colors: {
custom: {
50: '#c4ce72',
500: '#a6ba2e',
950: '#000000',
},
}SCSS
$custom: #a6ba2e; $custom-light: #c4ce72; $custom-dark: #000000;
JSON
{
"hex": "#a6ba2e",
"rgb": {
"r": 166,
"g": 186,
"b": 46
},
"hsl": {
"h": 68.571,
"s": 60.345,
"l": 45.49
},
"oklch": {
"l": 0.74889,
"c": 0.15853,
"h": 117.6
},
"luminance": 0.43422
}Semantic roles & 50–950 ramp
primary
#A6BA2E
secondary
#867BC9
accent
#44E35B
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131308
muted
#82827B