#A6A524#A6A524
#A6A524 is a light, vivid yellow. Relative luminance 0.351; OKLCH L 70.1% C 0.141 H 109.1°. Best body text is #000000 at 8.03:1 contrast (WCAG AA passes).
Color values
| HEX | #A6A524 |
|---|---|
| RGB | rgb(166, 165, 36) |
| HSL | hsl(60, 64%, 40%) |
| HSV | hsv(60, 78%, 65%) |
| CMYK | cmyk(0%, 0.6%, 78.3%, 34.9%) |
| CIE-LAB | lab(65.86, -14.32, 61.41) |
| CIE-LCH | lch(65.86, 63.06, 103.13°) |
| OKLab | oklab(70.08% -0.0463 0.1337) |
| OKLCH | oklch(70.08% 0.141 109.1) |
| XYZ | xyz(29.5006, 35.1456, 6.8985) |
| Luminance | 0.3514 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 1.17
Puke
#A5A502
ΔE00 1.68
Pea Soup Green
#94A617
ΔE00 4.61
Pea Soup
#929901
ΔE00 4.71
Puke Green
#9AAE07
ΔE00 5.14
Baby Poop Green
#8F9805
ΔE00 5.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A6A524 #2425A6
analogous
#A66424 #A6A524 #66A624
triadic
#A6A524 #24A6A5 #A524A6
tetradic
#A6A524 #24A664 #2425A6 #A62466
square
#A6A524 #24A664 #2425A6 #A62466
split-complementary
#A6A524 #2466A6 #6424A6
monochromatic
#41410E #747319 #A6A524 #D3D234 #DEDD66
Accessibility & contrast
On white
2.62
#A6A524 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.03
#A6A524 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A6A524
8.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A6A524 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A6A524 | 1.00 | 2.62 | 8.03 | 8.03 |
| #FFFFFF | 2.62 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.03 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.03 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B39E00
Deuteranopia (green-blind)
#B5A22F
Tritanopia (blue-blind)
#B29A8D
Achromatopsia (no color)
#A0A0A0
Design tokens & code
CSS
--color: #a6a524; /* rgb */ color: rgb(166, 165, 36); /* oklch */ color: oklch(70.1% 0.141 109.1);
Tailwind
colors: {
custom: {
50: '#c4bf6b',
500: '#a6a524',
950: '#000000',
},
}SCSS
$custom: #a6a524; $custom-light: #c4bf6b; $custom-dark: #000000;
JSON
{
"hex": "#a6a524",
"rgb": {
"r": 166,
"g": 165,
"b": 36
},
"hsl": {
"h": 59.538,
"s": 64.356,
"l": 39.608
},
"oklch": {
"l": 0.7008,
"c": 0.14149,
"h": 109.1
},
"luminance": 0.35145
}Semantic roles & 50–950 ramp
primary
#A6A524
secondary
#6263C4
accent
#42E740
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131207
muted
#82817A