#A8942A#A8942A
#A8942A is a light, vivid yellow. Relative luminance 0.297; OKLCH L 66.6% C 0.123 H 98.1°. Best body text is #000000 at 6.93:1 contrast (WCAG AA passes).
Color values
| HEX | #A8942A |
|---|---|
| RGB | rgb(168, 148, 42) |
| HSL | hsl(50, 60%, 41%) |
| HSV | hsv(50, 75%, 66%) |
| CMYK | cmyk(0%, 11.9%, 75%, 34.1%) |
| CIE-LAB | lab(61.37, -4.17, 55.28) |
| CIE-LCH | lch(61.37, 55.44, 94.32°) |
| OKLab | oklab(66.56% -0.0173 0.1217) |
| OKLCH | oklch(66.56% 0.123 98.1) |
| XYZ | xyz(27.1576, 29.6732, 6.4871) |
| Luminance | 0.2967 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poo
#AB9004
ΔE00 3.11
Baby Shit Brown
#AD900D
ΔE00 3.28
Brown Yellow
#B29705
ΔE00 3.57
Dark Gold
#B59410
ΔE00 4.27
Dark Mustard
#A88905
ΔE00 4.71
Yellow Brown
#B79400
ΔE00 5.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A8942A #2A3EA8
analogous
#A8552A #A8942A #7DA82A
triadic
#A8942A #2AA894 #942AA8
tetradic
#A8942A #2AA855 #2A3EA8 #A82A7D
square
#A8942A #2AA855 #2A3EA8 #A82A7D
split-complementary
#A8942A #2A7DA8 #552AA8
monochromatic
#463E12 #77691E #A8942A #CFB840 #DBCB71
Accessibility & contrast
On white
3.03
#A8942A on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.93
#A8942A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A8942A
6.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A8942A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A8942A | 1.00 | 3.03 | 6.93 | 6.93 |
| #FFFFFF | 3.03 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.93 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.93 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A39017
Deuteranopia (green-blind)
#A89731
Tritanopia (blue-blind)
#B5897F
Achromatopsia (no color)
#949494
Design tokens & code
CSS
--color: #a8942a; /* rgb */ color: rgb(168, 148, 42); /* oklch */ color: oklch(66.6% 0.123 98.1);
Tailwind
colors: {
custom: {
50: '#c6b36b',
500: '#a8942a',
950: '#000000',
},
}SCSS
$custom: #a8942a; $custom-light: #c6b36b; $custom-dark: #000000;
JSON
{
"hex": "#a8942a",
"rgb": {
"r": 168,
"g": 148,
"b": 42
},
"hsl": {
"h": 50.476,
"s": 60,
"l": 41.176
},
"oklch": {
"l": 0.6656,
"c": 0.12296,
"h": 98.1
},
"luminance": 0.29672
}Semantic roles & 50–950 ramp
primary
#A8942A
secondary
#6B79C3
accent
#5EE345
background
#FCFAF6
surface
#F9F5EC
border
#D2CFC7
text
#131007
muted
#827F7A