#A78A2A#A78A2A
#A78A2A is a light, moderate yellow. Relative luminance 0.266; OKLCH L 64.3% C 0.116 H 91.5°. Best body text is #000000 at 6.31:1 contrast (WCAG AA passes).
Color values
| HEX | #A78A2A |
|---|---|
| RGB | rgb(167, 138, 42) |
| HSL | hsl(46, 60%, 41%) |
| HSV | hsv(46, 75%, 65%) |
| CMYK | cmyk(0%, 17.4%, 74.9%, 34.5%) |
| CIE-LAB | lab(58.57, 0.84, 52.55) |
| CIE-LCH | lch(58.57, 52.56, 89.08°) |
| OKLab | oklab(64.32% -0.003 0.116) |
| OKLCH | oklch(64.32% 0.116 91.5) |
| XYZ | xyz(25.4442, 26.5612, 5.9767) |
| Luminance | 0.2656 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dark Mustard
#A88905
ΔE00 2.71
Yellowy Brown
#AE8B0C
ΔE00 2.98
Diarrhea
#9F8303
ΔE00 3.47
Baby Shit Brown
#AD900D
ΔE00 3.56
Baby Poo
#AB9004
ΔE00 3.92
Dark Gold
#B59410
ΔE00 4.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A78A2A #2A47A7
analogous
#A74B2A #A78A2A #85A72A
triadic
#A78A2A #2AA78A #8A2AA7
tetradic
#A78A2A #2AA74B #2A47A7 #A72A85
square
#A78A2A #2AA74B #2A47A7 #A72A85
split-complementary
#A78A2A #2A85A7 #4B2AA7
monochromatic
#453911 #76621E #A78A2A #CFAE3F #DBC270
Accessibility & contrast
On white
3.33
#A78A2A on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.31
#A78A2A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A78A2A
6.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A78A2A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A78A2A | 1.00 | 3.33 | 6.31 | 6.31 |
| #FFFFFF | 3.33 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.31 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.31 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9A881A
Deuteranopia (green-blind)
#A1902F
Tritanopia (blue-blind)
#B57E77
Achromatopsia (no color)
#8D8D8D
Design tokens & code
CSS
--color: #a78a2a; /* rgb */ color: rgb(167, 138, 42); /* oklch */ color: oklch(64.3% 0.116 91.5);
Tailwind
colors: {
custom: {
50: '#c5ab6a',
500: '#a78a2a',
950: '#000000',
},
}SCSS
$custom: #a78a2a; $custom-light: #c5ab6a; $custom-dark: #000000;
JSON
{
"hex": "#a78a2a",
"rgb": {
"r": 167,
"g": 138,
"b": 42
},
"hsl": {
"h": 46.08,
"s": 59.809,
"l": 40.98
},
"oklch": {
"l": 0.64319,
"c": 0.11602,
"h": 91.5
},
"luminance": 0.2656
}Semantic roles & 50–950 ramp
primary
#A78A2A
secondary
#6B7FC2
accent
#6AE345
background
#FCFAF6
surface
#F9F4EB
border
#D2CEC6
text
#131007
muted
#827F7A