#A6A337#A6A337
#A6A337 is a light, vivid yellow. Relative luminance 0.346; OKLCH L 69.8% C 0.128 H 107.7°. Best body text is #000000 at 7.92:1 contrast (WCAG AA passes).
Color values
| HEX | #A6A337 |
|---|---|
| RGB | rgb(166, 163, 55) |
| HSL | hsl(58, 50%, 43%) |
| HSV | hsv(58, 67%, 65%) |
| CMYK | cmyk(0%, 1.8%, 66.9%, 34.9%) |
| CIE-LAB | lab(65.42, -12.36, 54.13) |
| CIE-LCH | lch(65.42, 55.52, 102.86°) |
| OKLab | oklab(69.76% -0.0389 0.1217) |
| OKLCH | oklch(69.76% 0.128 107.7) |
| XYZ | xyz(29.5137, 34.5781, 8.7333) |
| Luminance | 0.3458 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 3.02
Puke
#A5A502
ΔE00 3.72
Pea Soup
#929901
ΔE00 5.19
Pea Soup Green
#94A617
ΔE00 5.42
Baby Poop Green
#8F9805
ΔE00 5.64
Khaki (survey)
#AAA662
ΔE00 6.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A6A337 #373AA6
analogous
#A66B37 #A6A337 #71A637
triadic
#A6A337 #37A6A3 #A337A6
tetradic
#A6A337 #37A66B #373AA6 #A63771
square
#A6A337 #37A66B #373AA6 #A63771
split-complementary
#A6A337 #3771A6 #6B37A6
monochromatic
#4A4919 #787628 #A6A337 #C6C354 #D6D382
Accessibility & contrast
On white
2.65
#A6A337 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.92
#A6A337 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A6A337
7.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A6A337 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A6A337 | 1.00 | 2.65 | 7.92 | 7.92 |
| #FFFFFF | 2.65 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.92 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.92 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B09D28
Deuteranopia (green-blind)
#B2A13E
Tritanopia (blue-blind)
#B2998D
Achromatopsia (no color)
#9F9F9F
Design tokens & code
CSS
--color: #a6a337; /* rgb */ color: rgb(166, 163, 55); /* oklch */ color: oklch(69.8% 0.128 107.7);
Tailwind
colors: {
custom: {
50: '#c3be74',
500: '#a6a337',
950: '#000000',
},
}SCSS
$custom: #a6a337; $custom-light: #c3be74; $custom-dark: #000000;
JSON
{
"hex": "#a6a337",
"rgb": {
"r": 166,
"g": 163,
"b": 55
},
"hsl": {
"h": 58.378,
"s": 50.226,
"l": 43.333
},
"oklch": {
"l": 0.69763,
"c": 0.1278,
"h": 107.7
},
"luminance": 0.34577
}Semantic roles & 50–950 ramp
primary
#A6A337
secondary
#7A7CBF
accent
#52DA4E
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#131208
muted
#82817B