#A78F20#A78F20
#A78F20 is a light, vivid yellow. Relative luminance 0.280; OKLCH L 65.3% C 0.125 H 96.0°. Best body text is #000000 at 6.59:1 contrast (WCAG AA passes).
Color values
| HEX | #A78F20 |
|---|---|
| RGB | rgb(167, 143, 32) |
| HSL | hsl(49, 68%, 39%) |
| HSV | hsv(49, 81%, 65%) |
| CMYK | cmyk(0%, 14.4%, 80.8%, 34.5%) |
| CIE-LAB | lab(59.86, -2.31, 57.34) |
| CIE-LCH | lch(59.86, 57.38, 92.31°) |
| OKLab | oklab(65.32% -0.013 0.1241) |
| OKLCH | oklch(65.32% 0.125 96) |
| XYZ | xyz(26.0210, 27.9662, 5.3937) |
| Luminance | 0.2797 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poo
#AB9004
ΔE00 1.95
Baby Shit Brown
#AD900D
ΔE00 2.03
Dark Mustard
#A88905
ΔE00 2.82
Yellowy Brown
#AE8B0C
ΔE00 3.43
Brown Yellow
#B29705
ΔE00 3.59
Dark Gold
#B59410
ΔE00 3.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A78F20 #2038A7
analogous
#A74C20 #A78F20 #7CA720
triadic
#A78F20 #20A78F #8F20A7
tetradic
#A78F20 #20A74C #2038A7 #A7207C
square
#A78F20 #20A74C #2038A7 #A7207C
split-complementary
#A78F20 #207CA7 #4C20A7
monochromatic
#40370C #746316 #A78F20 #D7B92D #E1CA61
Accessibility & contrast
On white
3.19
#A78F20 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.59
#A78F20 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A78F20
6.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A78F20 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A78F20 | 1.00 | 3.19 | 6.59 | 6.59 |
| #FFFFFF | 3.19 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.59 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.59 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9F8C02
Deuteranopia (green-blind)
#A59328
Tritanopia (blue-blind)
#B5837A
Achromatopsia (no color)
#909090
Design tokens & code
CSS
--color: #a78f20; /* rgb */ color: rgb(167, 143, 32); /* oklch */ color: oklch(65.3% 0.125 96.0);
Tailwind
colors: {
custom: {
50: '#c5af66',
500: '#a78f20',
950: '#000000',
},
}SCSS
$custom: #a78f20; $custom-light: #c5af66; $custom-dark: #000000;
JSON
{
"hex": "#a78f20",
"rgb": {
"r": 167,
"g": 143,
"b": 32
},
"hsl": {
"h": 49.333,
"s": 67.839,
"l": 39.02
},
"oklch": {
"l": 0.65321,
"c": 0.12481,
"h": 96
},
"luminance": 0.27965
}Semantic roles & 50–950 ramp
primary
#A78F20
secondary
#5D70C5
accent
#5CEB3D
background
#FCFAF6
surface
#F9F4EB
border
#D2CEC6
text
#141006
muted
#827F7A