#A6BA2F#A6BA2F
#A6BA2F is a light, vivid yellow. Relative luminance 0.434; OKLCH L 74.9% C 0.158 H 117.7°. Best body text is #000000 at 9.69:1 contrast (WCAG AA passes).
Color values
| HEX | #A6BA2F |
|---|---|
| RGB | rgb(166, 186, 47) |
| HSL | hsl(69, 60%, 46%) |
| HSV | hsv(69, 75%, 73%) |
| CMYK | cmyk(10.8%, 0%, 74.7%, 27.1%) |
| CIE-LAB | lab(71.85, -24.41, 63.41) |
| CIE-LCH | lch(71.85, 67.95, 111.06°) |
| OKLab | oklab(74.9% -0.0733 0.1399) |
| OKLCH | oklch(74.9% 0.158 117.7) |
| XYZ | xyz(33.7987, 43.4304, 9.2912) |
| Luminance | 0.4343 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sick Green
#9DB92C
ΔE00 1.80
Pea
#A4BF20
ΔE00 1.95
Gross Green
#A0BF16
ΔE00 2.54
Bright Olive
#9CBB04
ΔE00 2.60
Snot
#ACBB0D
ΔE00 2.73
Mustard Green
#A8B504
ΔE00 3.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A6BA2F #432FBA
analogous
#BA882F #A6BA2F #60BA2F
triadic
#A6BA2F #2FA6BA #BA2FA6
tetradic
#A6BA2F #2FBA88 #432FBA #BA2F60
square
#A6BA2F #2FBA88 #432FBA #BA2F60
split-complementary
#A6BA2F #2F60BA #882FBA
monochromatic
#4F5816 #7A8923 #A6BA2F #C1D353 #D3E084
Accessibility & contrast
On white
2.17
#A6BA2F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.69
#A6BA2F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A6BA2F
9.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A6BA2F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A6BA2F | 1.00 | 2.17 | 9.69 | 9.69 |
| #FFFFFF | 2.17 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.69 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.69 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C7B00F
Deuteranopia (green-blind)
#C5B13B
Tritanopia (blue-blind)
#B0AFA0
Achromatopsia (no color)
#B0B0B0
Design tokens & code
CSS
--color: #a6ba2f; /* rgb */ color: rgb(166, 186, 47); /* oklch */ color: oklch(74.9% 0.158 117.7);
Tailwind
colors: {
custom: {
50: '#c4ce72',
500: '#a6ba2f',
950: '#000000',
},
}SCSS
$custom: #a6ba2f; $custom-light: #c4ce72; $custom-dark: #000000;
JSON
{
"hex": "#a6ba2f",
"rgb": {
"r": 166,
"g": 186,
"b": 47
},
"hsl": {
"h": 68.633,
"s": 59.657,
"l": 45.686
},
"oklch": {
"l": 0.74895,
"c": 0.15798,
"h": 117.7
},
"luminance": 0.4343
}Semantic roles & 50–950 ramp
primary
#A6BA2F
secondary
#877CC9
accent
#45E35C
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131309
muted
#82827B