#A6A829#A6A829
#A6A829 is a light, vivid yellow. Relative luminance 0.363; OKLCH L 70.8% C 0.142 H 110.5°. Best body text is #000000 at 8.25:1 contrast (WCAG AA passes).
Color values
| HEX | #A6A829 |
|---|---|
| RGB | rgb(166, 168, 41) |
| HSL | hsl(61, 61%, 41%) |
| HSV | hsv(61, 76%, 66%) |
| CMYK | cmyk(1.2%, 0%, 75.6%, 34.1%) |
| CIE-LAB | lab(66.73, -15.66, 60.61) |
| CIE-LCH | lch(66.73, 62.60, 104.49°) |
| OKLab | oklab(70.78% -0.0496 0.1329) |
| OKLCH | oklch(70.78% 0.142 110.5) |
| XYZ | xyz(30.1298, 36.2732, 7.5117) |
| Luminance | 0.3627 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 1.64
Puke
#A5A502
ΔE00 2.24
Pea Soup Green
#94A617
ΔE00 4.05
Puke Green
#9AAE07
ΔE00 4.31
Mustard Green
#A8B504
ΔE00 4.56
Barf Green
#94AC02
ΔE00 5.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A6A829 #2B29A8
analogous
#A86A29 #A6A829 #66A829
triadic
#A6A829 #29A6A8 #A829A6
tetradic
#A6A829 #29A86A #2B29A8 #A82966
square
#A6A829 #29A86A #2B29A8 #A82966
split-complementary
#A6A829 #2966A8 #6A29A8
monochromatic
#454611 #75771D #A6A829 #CED03E #DADC6F
Accessibility & contrast
On white
2.54
#A6A829 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.25
#A6A829 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A6A829
8.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A6A829 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A6A829 | 1.00 | 2.54 | 8.25 | 8.25 |
| #FFFFFF | 2.54 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.25 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.25 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B6A00A
Deuteranopia (green-blind)
#B7A434
Tritanopia (blue-blind)
#B29D90
Achromatopsia (no color)
#A2A2A2
Design tokens & code
CSS
--color: #a6a829; /* rgb */ color: rgb(166, 168, 41); /* oklch */ color: oklch(70.8% 0.142 110.5);
Tailwind
colors: {
custom: {
50: '#c4c16d',
500: '#a6a829',
950: '#000000',
},
}SCSS
$custom: #a6a829; $custom-light: #c4c16d; $custom-dark: #000000;
JSON
{
"hex": "#a6a829",
"rgb": {
"r": 166,
"g": 168,
"b": 41
},
"hsl": {
"h": 60.945,
"s": 60.766,
"l": 40.98
},
"oklch": {
"l": 0.7078,
"c": 0.14188,
"h": 110.5
},
"luminance": 0.36272
}Semantic roles & 50–950 ramp
primary
#A6A829
secondary
#6B6AC3
accent
#44E446
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131208
muted
#82817B