#A6A538#A6A538
#A6A538 is a light, vivid yellow. Relative luminance 0.353; OKLCH L 70.2% C 0.129 H 108.8°. Best body text is #000000 at 8.06:1 contrast (WCAG AA passes).
Color values
| HEX | #A6A538 |
|---|---|
| RGB | rgb(166, 165, 56) |
| HSL | hsl(59, 50%, 44%) |
| HSV | hsv(59, 66%, 65%) |
| CMYK | cmyk(0%, 0.6%, 66.3%, 34.9%) |
| CIE-LAB | lab(65.98, -13.34, 54.30) |
| CIE-LCH | lch(65.98, 55.91, 103.81°) |
| OKLab | oklab(70.22% -0.0416 0.1222) |
| OKLCH | oklch(70.22% 0.129 108.8) |
| XYZ | xyz(29.8958, 35.3037, 8.9801) |
| Luminance | 0.3530 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 2.90
Puke
#A5A502
ΔE00 3.66
Pea Soup Green
#94A617
ΔE00 4.98
Pea Soup
#929901
ΔE00 5.34
Baby Poop Green
#8F9805
ΔE00 5.77
Puke Green
#9AAE07
ΔE00 5.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A6A538 #3839A6
analogous
#A66E38 #A6A538 #70A638
triadic
#A6A538 #38A6A5 #A538A6
tetradic
#A6A538 #38A66E #3839A6 #A63870
square
#A6A538 #38A66E #3839A6 #A63870
split-complementary
#A6A538 #3870A6 #6E38A6
monochromatic
#4A4A19 #787829 #A6A538 #C6C555 #D5D483
Accessibility & contrast
On white
2.61
#A6A538 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.06
#A6A538 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A6A538
8.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A6A538 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A6A538 | 1.00 | 2.61 | 8.06 | 8.06 |
| #FFFFFF | 2.61 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.06 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.06 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B29E29
Deuteranopia (green-blind)
#B4A23F
Tritanopia (blue-blind)
#B29B8F
Achromatopsia (no color)
#A0A0A0
Design tokens & code
CSS
--color: #a6a538; /* rgb */ color: rgb(166, 165, 56); /* oklch */ color: oklch(70.2% 0.129 108.8);
Tailwind
colors: {
custom: {
50: '#c3bf75',
500: '#a6a538',
950: '#000000',
},
}SCSS
$custom: #a6a538; $custom-light: #c3bf75; $custom-dark: #000000;
JSON
{
"hex": "#a6a538",
"rgb": {
"r": 166,
"g": 165,
"b": 56
},
"hsl": {
"h": 59.455,
"s": 49.55,
"l": 43.529
},
"oklch": {
"l": 0.70217,
"c": 0.12913,
"h": 108.8
},
"luminance": 0.35303
}Semantic roles & 50–950 ramp
primary
#A6A538
secondary
#7B7BBF
accent
#50D94F
background
#FCFBF7
surface
#F8F7ED
border
#D1D0C8
text
#131209
muted
#82817B