#A6A333#A6A333
#A6A333 is a light, vivid yellow. Relative luminance 0.345; OKLCH L 69.7% C 0.131 H 107.8°. Best body text is #000000 at 7.91:1 contrast (WCAG AA passes).
Color values
| HEX | #A6A333 |
|---|---|
| RGB | rgb(166, 163, 51) |
| HSL | hsl(58, 53%, 43%) |
| HSV | hsv(58, 69%, 65%) |
| CMYK | cmyk(0%, 1.8%, 69.3%, 34.9%) |
| CIE-LAB | lab(65.39, -12.59, 55.70) |
| CIE-LCH | lch(65.39, 57.11, 102.73°) |
| OKLab | oklab(69.73% -0.04 0.1244) |
| OKLCH | oklch(69.73% 0.131 107.8) |
| XYZ | xyz(29.4217, 34.5413, 8.2486) |
| Luminance | 0.3454 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 2.61
Puke
#A5A502
ΔE00 3.28
Pea Soup
#929901
ΔE00 4.98
Pea Soup Green
#94A617
ΔE00 5.27
Baby Poop Green
#8F9805
ΔE00 5.47
Puke Green
#9AAE07
ΔE00 6.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A6A333 #3336A6
analogous
#A66A33 #A6A333 #6FA633
triadic
#A6A333 #33A6A3 #A333A6
tetradic
#A6A333 #33A66A #3336A6 #A6336F
square
#A6A333 #33A66A #3336A6 #A6336F
split-complementary
#A6A333 #336FA6 #6A33A6
monochromatic
#484716 #777525 #A6A333 #C9C54E #D7D57C
Accessibility & contrast
On white
2.66
#A6A333 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.91
#A6A333 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A6A333
7.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A6A333 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A6A333 | 1.00 | 2.66 | 7.91 | 7.91 |
| #FFFFFF | 2.66 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.91 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.91 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B09D22
Deuteranopia (green-blind)
#B2A13B
Tritanopia (blue-blind)
#B2988D
Achromatopsia (no color)
#9F9F9F
Design tokens & code
CSS
--color: #a6a333; /* rgb */ color: rgb(166, 163, 51); /* oklch */ color: oklch(69.7% 0.131 107.8);
Tailwind
colors: {
custom: {
50: '#c4be72',
500: '#a6a333',
950: '#000000',
},
}SCSS
$custom: #a6a333; $custom-light: #c4be72; $custom-dark: #000000;
JSON
{
"hex": "#a6a333",
"rgb": {
"r": 166,
"g": 163,
"b": 51
},
"hsl": {
"h": 58.435,
"s": 52.995,
"l": 42.549
},
"oklch": {
"l": 0.69731,
"c": 0.13064,
"h": 107.8
},
"luminance": 0.3454
}Semantic roles & 50–950 ramp
primary
#A6A333
secondary
#7577C0
accent
#4FDC4B
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#131208
muted
#82817B