#A6A334#A6A334
#A6A334 is a light, vivid yellow. Relative luminance 0.345; OKLCH L 69.7% C 0.130 H 107.8°. Best body text is #000000 at 7.91:1 contrast (WCAG AA passes).
Color values
| HEX | #A6A334 |
|---|---|
| RGB | rgb(166, 163, 52) |
| HSL | hsl(58, 52%, 43%) |
| HSV | hsv(58, 69%, 65%) |
| CMYK | cmyk(0%, 1.8%, 68.7%, 34.9%) |
| CIE-LAB | lab(65.40, -12.53, 55.31) |
| CIE-LCH | lch(65.40, 56.72, 102.77°) |
| OKLab | oklab(69.74% -0.0398 0.1237) |
| OKLCH | oklch(69.74% 0.13 107.8) |
| XYZ | xyz(29.4440, 34.5503, 8.3660) |
| Luminance | 0.3455 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 2.71
Puke
#A5A502
ΔE00 3.39
Pea Soup
#929901
ΔE00 5.03
Pea Soup Green
#94A617
ΔE00 5.31
Baby Poop Green
#8F9805
ΔE00 5.51
Puke Green
#9AAE07
ΔE00 6.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A6A334 #3437A6
analogous
#A66A34 #A6A334 #70A634
triadic
#A6A334 #34A6A3 #A334A6
tetradic
#A6A334 #34A66A #3437A6 #A63470
square
#A6A334 #34A66A #3437A6 #A63470
split-complementary
#A6A334 #3470A6 #6A34A6
monochromatic
#494717 #777525 #A6A334 #C8C54F #D7D47E
Accessibility & contrast
On white
2.65
#A6A334 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.91
#A6A334 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A6A334
7.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A6A334 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A6A334 | 1.00 | 2.65 | 7.91 | 7.91 |
| #FFFFFF | 2.65 | 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)
#B09D23
Deuteranopia (green-blind)
#B2A13C
Tritanopia (blue-blind)
#B2988D
Achromatopsia (no color)
#9F9F9F
Design tokens & code
CSS
--color: #a6a334; /* rgb */ color: rgb(166, 163, 52); /* oklch */ color: oklch(69.7% 0.130 107.8);
Tailwind
colors: {
custom: {
50: '#c4be72',
500: '#a6a334',
950: '#000000',
},
}SCSS
$custom: #a6a334; $custom-light: #c4be72; $custom-dark: #000000;
JSON
{
"hex": "#a6a334",
"rgb": {
"r": 166,
"g": 163,
"b": 52
},
"hsl": {
"h": 58.421,
"s": 52.294,
"l": 42.745
},
"oklch": {
"l": 0.69739,
"c": 0.12995,
"h": 107.8
},
"luminance": 0.34549
}Semantic roles & 50–950 ramp
primary
#A6A334
secondary
#7678C0
accent
#50DC4C
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#131208
muted
#82817B