#A6942A#A6942A
#A6942A is a light, vivid yellow. Relative luminance 0.295; OKLCH L 66.4% C 0.123 H 99.2°. Best body text is #000000 at 6.89:1 contrast (WCAG AA passes).
Color values
| HEX | #A6942A |
|---|---|
| RGB | rgb(166, 148, 42) |
| HSL | hsl(51, 60%, 41%) |
| HSV | hsv(51, 75%, 65%) |
| CMYK | cmyk(0%, 10.8%, 74.7%, 34.9%) |
| CIE-LAB | lab(61.18, -5.07, 55.04) |
| CIE-LCH | lch(61.18, 55.27, 95.27°) |
| OKLab | oklab(66.36% -0.0197 0.1213) |
| OKLCH | oklch(66.36% 0.123 99.2) |
| XYZ | xyz(26.7350, 29.4553, 6.4673) |
| Luminance | 0.2945 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poo
#AB9004
ΔE00 3.52
Baby Shit Brown
#AD900D
ΔE00 3.77
Brown Yellow
#B29705
ΔE00 3.98
Dark Gold
#B59410
ΔE00 4.84
Dark Mustard
#A88905
ΔE00 5.09
Yellow Brown
#B79400
ΔE00 5.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A6942A #2A3CA6
analogous
#A6562A #A6942A #7AA62A
triadic
#A6942A #2AA694 #942AA6
tetradic
#A6942A #2AA656 #2A3CA6 #A62A7A
square
#A6942A #2AA656 #2A3CA6 #A62A7A
split-complementary
#A6942A #2A7AA6 #562AA6
monochromatic
#443D11 #75681E #A6942A #CEBA3F #DBCB70
Accessibility & contrast
On white
3.05
#A6942A on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.89
#A6942A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A6942A
6.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A6942A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A6942A | 1.00 | 3.05 | 6.89 | 6.89 |
| #FFFFFF | 3.05 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.89 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.89 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A39017
Deuteranopia (green-blind)
#A89631
Tritanopia (blue-blind)
#B3897F
Achromatopsia (no color)
#949494
Design tokens & code
CSS
--color: #a6942a; /* rgb */ color: rgb(166, 148, 42); /* oklch */ color: oklch(66.4% 0.123 99.2);
Tailwind
colors: {
custom: {
50: '#c4b36b',
500: '#a6942a',
950: '#000000',
},
}SCSS
$custom: #a6942a; $custom-light: #c4b36b; $custom-dark: #000000;
JSON
{
"hex": "#a6942a",
"rgb": {
"r": 166,
"g": 148,
"b": 42
},
"hsl": {
"h": 51.29,
"s": 59.615,
"l": 40.784
},
"oklch": {
"l": 0.66365,
"c": 0.1229,
"h": 99.2
},
"luminance": 0.29454
}Semantic roles & 50–950 ramp
primary
#A6942A
secondary
#6A77C2
accent
#5CE345
background
#FCFAF6
surface
#F8F5EC
border
#D1CFC7
text
#131007
muted
#827F7A