#A6B529#A6B529
#A6B529 is a light, vivid yellow. Relative luminance 0.413; OKLCH L 73.7% C 0.156 H 115.8°. Best body text is #000000 at 9.26:1 contrast (WCAG AA passes).
Color values
| HEX | #A6B529 |
|---|---|
| RGB | rgb(166, 181, 41) |
| HSL | hsl(66, 63%, 44%) |
| HSV | hsv(66, 77%, 71%) |
| CMYK | cmyk(8.3%, 0%, 77.3%, 29%) |
| CIE-LAB | lab(70.40, -22.22, 63.98) |
| CIE-LCH | lch(70.40, 67.73, 109.15°) |
| OKLab | oklab(73.72% -0.0678 0.1401) |
| OKLCH | oklch(73.72% 0.156 115.8) |
| XYZ | xyz(32.6509, 41.3153, 8.3520) |
| Luminance | 0.4132 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 2.05
Snot
#ACBB0D
ΔE00 2.56
Puke Green
#9AAE07
ΔE00 2.68
Sick Green
#9DB92C
ΔE00 2.86
Booger Green
#96B403
ΔE00 3.25
Pea
#A4BF20
ΔE00 3.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A6B529 #3829B5
analogous
#B57E29 #A6B529 #60B529
triadic
#A6B529 #29A6B5 #B529A6
tetradic
#A6B529 #29B57E #3829B5 #B52960
square
#A6B529 #29B57E #3829B5 #B52960
split-complementary
#A6B529 #2960B5 #7E29B5
monochromatic
#4A5112 #78831E #A6B529 #C6D546 #D5E078
Accessibility & contrast
On white
2.27
#A6B529 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.26
#A6B529 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A6B529
9.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A6B529 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A6B529 | 1.00 | 2.27 | 9.26 | 9.26 |
| #FFFFFF | 2.27 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.26 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.26 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C2AB00
Deuteranopia (green-blind)
#C1AD36
Tritanopia (blue-blind)
#B1AA9B
Achromatopsia (no color)
#ACACAC
Design tokens & code
CSS
--color: #a6b529; /* rgb */ color: rgb(166, 181, 41); /* oklch */ color: oklch(73.7% 0.156 115.8);
Tailwind
colors: {
custom: {
50: '#c4cb6f',
500: '#a6b529',
950: '#000000',
},
}SCSS
$custom: #a6b529; $custom-light: #c4cb6f; $custom-dark: #000000;
JSON
{
"hex": "#a6b529",
"rgb": {
"r": 166,
"g": 181,
"b": 41
},
"hsl": {
"h": 66.429,
"s": 63.063,
"l": 43.529
},
"oklch": {
"l": 0.7372,
"c": 0.15563,
"h": 115.8
},
"luminance": 0.41315
}Semantic roles & 50–950 ramp
primary
#A6B529
secondary
#7B72C8
accent
#42E653
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B