#A6B729#A6B729
#A6B729 is a light, vivid yellow. Relative luminance 0.421; OKLCH L 74.2% C 0.158 H 116.5°. Best body text is #000000 at 9.43:1 contrast (WCAG AA passes).
Color values
| HEX | #A6B729 |
|---|---|
| RGB | rgb(166, 183, 41) |
| HSL | hsl(67, 63%, 44%) |
| HSV | hsv(67, 78%, 72%) |
| CMYK | cmyk(9.3%, 0%, 77.6%, 28.2%) |
| CIE-LAB | lab(70.96, -23.21, 64.50) |
| CIE-LCH | lch(70.96, 68.55, 109.79°) |
| OKLab | oklab(74.18% -0.0705 0.1412) |
| OKLCH | oklch(74.18% 0.158 116.5) |
| XYZ | xyz(33.0605, 42.1345, 8.4886) |
| Luminance | 0.4213 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 2.21
Snot
#ACBB0D
ΔE00 2.34
Sick Green
#9DB92C
ΔE00 2.43
Pea
#A4BF20
ΔE00 2.64
Bright Olive
#9CBB04
ΔE00 2.93
Puke Green
#9AAE07
ΔE00 2.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A6B729 #3A29B7
analogous
#B78129 #A6B729 #5FB729
triadic
#A6B729 #29A6B7 #B729A6
tetradic
#A6B729 #29B781 #3A29B7 #B7295F
square
#A6B729 #29B781 #3A29B7 #B7295F
split-complementary
#A6B729 #295FB7 #8129B7
monochromatic
#4B5313 #79851E #A6B729 #C5D647 #D5E179
Accessibility & contrast
On white
2.23
#A6B729 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.43
#A6B729 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A6B729
9.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A6B729 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A6B729 | 1.00 | 2.23 | 9.43 | 9.43 |
| #FFFFFF | 2.23 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.43 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.43 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C4AD00
Deuteranopia (green-blind)
#C2AF36
Tritanopia (blue-blind)
#B1AC9D
Achromatopsia (no color)
#AEAEAE
Design tokens & code
CSS
--color: #a6b729; /* rgb */ color: rgb(166, 183, 41); /* oklch */ color: oklch(74.2% 0.158 116.5);
Tailwind
colors: {
custom: {
50: '#c4cc6f',
500: '#a6b729',
950: '#000000',
},
}SCSS
$custom: #a6b729; $custom-light: #c4cc6f; $custom-dark: #000000;
JSON
{
"hex": "#a6b729",
"rgb": {
"r": 166,
"g": 183,
"b": 41
},
"hsl": {
"h": 67.183,
"s": 63.393,
"l": 43.922
},
"oklch": {
"l": 0.74175,
"c": 0.15781,
"h": 116.5
},
"luminance": 0.42134
}Semantic roles & 50–950 ramp
primary
#A6B729
secondary
#7D73C9
accent
#41E655
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B