#A78F2F#A78F2F
#A78F2F is a light, moderate yellow. Relative luminance 0.281; OKLCH L 65.4% C 0.116 H 94.7°. Best body text is #000000 at 6.61:1 contrast (WCAG AA passes).
Color values
| HEX | #A78F2F |
|---|---|
| RGB | rgb(167, 143, 47) |
| HSL | hsl(48, 56%, 42%) |
| HSV | hsv(48, 72%, 65%) |
| CMYK | cmyk(0%, 14.4%, 71.9%, 34.5%) |
| CIE-LAB | lab(59.95, -1.66, 51.90) |
| CIE-LCH | lch(59.95, 51.93, 91.83°) |
| OKLab | oklab(65.42% -0.0095 0.1156) |
| OKLCH | oklch(65.42% 0.116 94.7) |
| XYZ | xyz(26.2732, 28.0671, 6.7224) |
| Luminance | 0.2807 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Shit Brown
#AD900D
ΔE00 3.25
Baby Poo
#AB9004
ΔE00 3.41
Dark Mustard
#A88905
ΔE00 3.66
Yellowy Brown
#AE8B0C
ΔE00 4.01
Dark Gold
#B59410
ΔE00 4.42
Diarrhea
#9F8303
ΔE00 4.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A78F2F #2F47A7
analogous
#A7532F #A78F2F #83A72F
triadic
#A78F2F #2FA78F #8F2FA7
tetradic
#A78F2F #2FA753 #2F47A7 #A72F83
square
#A78F2F #2FA753 #2F47A7 #A72F83
split-complementary
#A78F2F #2F83A7 #532FA7
monochromatic
#473D14 #776622 #A78F2F #CBB148 #D9C578
Accessibility & contrast
On white
3.18
#A78F2F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.61
#A78F2F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A78F2F
6.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A78F2F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A78F2F | 1.00 | 3.18 | 6.61 | 6.61 |
| #FFFFFF | 3.18 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.61 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.61 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9E8C21
Deuteranopia (green-blind)
#A49434
Tritanopia (blue-blind)
#B4847C
Achromatopsia (no color)
#909090
Design tokens & code
CSS
--color: #a78f2f; /* rgb */ color: rgb(167, 143, 47); /* oklch */ color: oklch(65.4% 0.116 94.7);
Tailwind
colors: {
custom: {
50: '#c5af6e',
500: '#a78f2f',
950: '#000000',
},
}SCSS
$custom: #a78f2f; $custom-light: #c5af6e; $custom-dark: #000000;
JSON
{
"hex": "#a78f2f",
"rgb": {
"r": 167,
"g": 143,
"b": 47
},
"hsl": {
"h": 48,
"s": 56.075,
"l": 41.961
},
"oklch": {
"l": 0.65423,
"c": 0.11597,
"h": 94.7
},
"luminance": 0.28066
}Semantic roles & 50–950 ramp
primary
#A78F2F
secondary
#7181C1
accent
#67DF48
background
#FCFAF6
surface
#F8F4EC
border
#D1CEC7
text
#131007
muted
#827F7A