#A78B27#A78B27
#A78B27 is a light, moderate yellow. Relative luminance 0.268; OKLCH L 64.5% C 0.118 H 92.5°. Best body text is #000000 at 6.37:1 contrast (WCAG AA passes).
Color values
| HEX | #A78B27 |
|---|---|
| RGB | rgb(167, 139, 39) |
| HSL | hsl(47, 62%, 40%) |
| HSV | hsv(47, 77%, 65%) |
| CMYK | cmyk(0%, 16.8%, 76.6%, 34.5%) |
| CIE-LAB | lab(58.82, 0.15, 53.95) |
| CIE-LCH | lch(58.82, 53.95, 89.84°) |
| OKLab | oklab(64.51% -0.0053 0.1183) |
| OKLCH | oklch(64.51% 0.118 92.5) |
| XYZ | xyz(25.5366, 26.8287, 5.7525) |
| Luminance | 0.2683 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dark Mustard
#A88905
ΔE00 2.37
Yellowy Brown
#AE8B0C
ΔE00 2.78
Baby Shit Brown
#AD900D
ΔE00 3.00
Baby Poo
#AB9004
ΔE00 3.31
Diarrhea
#9F8303
ΔE00 3.36
Dark Gold
#B59410
ΔE00 4.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A78B27 #2743A7
analogous
#A74B27 #A78B27 #83A727
triadic
#A78B27 #27A78B #8B27A7
tetradic
#A78B27 #27A74B #2743A7 #A72783
square
#A78B27 #27A74B #2743A7 #A72783
split-complementary
#A78B27 #2783A7 #4B27A7
monochromatic
#443810 #75621B #A78B27 #D1B03A #DDC46C
Accessibility & contrast
On white
3.30
#A78B27 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.37
#A78B27 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A78B27
6.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A78B27 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A78B27 | 1.00 | 3.30 | 6.37 | 6.37 |
| #FFFFFF | 3.30 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.37 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.37 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9B8915
Deuteranopia (green-blind)
#A2912D
Tritanopia (blue-blind)
#B57F78
Achromatopsia (no color)
#8D8D8D
Design tokens & code
CSS
--color: #a78b27; /* rgb */ color: rgb(167, 139, 39); /* oklch */ color: oklch(64.5% 0.118 92.5);
Tailwind
colors: {
custom: {
50: '#c5ac69',
500: '#a78b27',
950: '#000000',
},
}SCSS
$custom: #a78b27; $custom-light: #c5ac69; $custom-dark: #000000;
JSON
{
"hex": "#a78b27",
"rgb": {
"r": 167,
"g": 139,
"b": 39
},
"hsl": {
"h": 46.875,
"s": 62.136,
"l": 40.392
},
"oklch": {
"l": 0.6451,
"c": 0.11845,
"h": 92.5
},
"luminance": 0.26827
}Semantic roles & 50–950 ramp
primary
#A78B27
secondary
#677BC3
accent
#66E543
background
#FCFAF6
surface
#F9F4EB
border
#D2CEC6
text
#131007
muted
#827F7A