#A6B52B#A6B52B
#A6B52B is a light, vivid yellow. Relative luminance 0.413; OKLCH L 73.7% C 0.155 H 115.8°. Best body text is #000000 at 9.27:1 contrast (WCAG AA passes).
Color values
| HEX | #A6B52B |
|---|---|
| RGB | rgb(166, 181, 43) |
| HSL | hsl(67, 62%, 44%) |
| HSV | hsv(67, 76%, 71%) |
| CMYK | cmyk(8.3%, 0%, 76.2%, 29%) |
| CIE-LAB | lab(70.41, -22.14, 63.36) |
| CIE-LCH | lch(70.41, 67.12, 109.26°) |
| OKLab | oklab(73.73% -0.0674 0.1391) |
| OKLCH | oklch(73.73% 0.155 115.8) |
| XYZ | xyz(32.6867, 41.3297, 8.5405) |
| Luminance | 0.4133 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 2.21
Snot
#ACBB0D
ΔE00 2.69
Puke Green
#9AAE07
ΔE00 2.74
Sick Green
#9DB92C
ΔE00 2.81
Pea
#A4BF20
ΔE00 3.28
Booger Green
#96B403
ΔE00 3.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A6B52B #3A2BB5
analogous
#B57F2B #A6B52B #61B52B
triadic
#A6B52B #2BA6B5 #B52BA6
tetradic
#A6B52B #2BB57F #3A2BB5 #B52B61
square
#A6B52B #2BB57F #3A2BB5 #B52B61
split-complementary
#A6B52B #2B61B5 #7F2BB5
monochromatic
#4B5214 #79841F #A6B52B #C5D449 #D5E07B
Accessibility & contrast
On white
2.27
#A6B52B on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.27
#A6B52B on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A6B52B
9.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A6B52B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A6B52B | 1.00 | 2.27 | 9.27 | 9.27 |
| #FFFFFF | 2.27 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.27 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.27 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C2AB06
Deuteranopia (green-blind)
#C1AD37
Tritanopia (blue-blind)
#B1AA9B
Achromatopsia (no color)
#ACACAC
Design tokens & code
CSS
--color: #a6b52b; /* rgb */ color: rgb(166, 181, 43); /* oklch */ color: oklch(73.7% 0.155 115.8);
Tailwind
colors: {
custom: {
50: '#c4cb70',
500: '#a6b52b',
950: '#000000',
},
}SCSS
$custom: #a6b52b; $custom-light: #c4cb70; $custom-dark: #000000;
JSON
{
"hex": "#a6b52b",
"rgb": {
"r": 166,
"g": 181,
"b": 43
},
"hsl": {
"h": 66.522,
"s": 61.607,
"l": 43.922
},
"oklch": {
"l": 0.73731,
"c": 0.1546,
"h": 115.8
},
"luminance": 0.41329
}Semantic roles & 50–950 ramp
primary
#A6B52B
secondary
#7D74C8
accent
#43E555
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B