#A78B1E#A78B1E
#A78B1E is a light, vivid yellow. Relative luminance 0.268; OKLCH L 64.5% C 0.123 H 93.3°. Best body text is #000000 at 6.35:1 contrast (WCAG AA passes).
Color values
| HEX | #A78B1E |
|---|---|
| RGB | rgb(167, 139, 30) |
| HSL | hsl(48, 70%, 39%) |
| HSV | hsv(48, 82%, 65%) |
| CMYK | cmyk(0%, 16.8%, 82%, 34.5%) |
| CIE-LAB | lab(58.77, -0.19, 57.01) |
| CIE-LCH | lch(58.77, 57.01, 90.19°) |
| OKLab | oklab(64.46% -0.0071 0.123) |
| OKLCH | oklch(64.46% 0.123 93.3) |
| XYZ | xyz(25.4048, 26.7760, 5.0582) |
| Luminance | 0.2677 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dark Mustard
#A88905
ΔE00 1.61
Yellowy Brown
#AE8B0C
ΔE00 2.32
Baby Shit Brown
#AD900D
ΔE00 2.33
Baby Poo
#AB9004
ΔE00 2.56
Diarrhea
#9F8303
ΔE00 2.95
Dark Gold
#B59410
ΔE00 3.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A78B1E #1E3AA7
analogous
#A7461E #A78B1E #7EA71E
triadic
#A78B1E #1EA78B #8B1EA7
tetradic
#A78B1E #1EA746 #1E3AA7 #A71E7E
square
#A78B1E #1EA746 #1E3AA7 #A71E7E
split-complementary
#A78B1E #1E7EA7 #461EA7
monochromatic
#3F350B #736015 #A78B1E #D9B52A #E2C75D
Accessibility & contrast
On white
3.30
#A78B1E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.35
#A78B1E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A78B1E
6.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A78B1E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A78B1E | 1.00 | 3.30 | 6.35 | 6.35 |
| #FFFFFF | 3.30 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.35 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.35 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9B8900
Deuteranopia (green-blind)
#A29126
Tritanopia (blue-blind)
#B57F77
Achromatopsia (no color)
#8D8D8D
Design tokens & code
CSS
--color: #a78b1e; /* rgb */ color: rgb(167, 139, 30); /* oklch */ color: oklch(64.5% 0.123 93.3);
Tailwind
colors: {
custom: {
50: '#c5ac65',
500: '#a78b1e',
950: '#000000',
},
}SCSS
$custom: #a78b1e; $custom-light: #c5ac65; $custom-dark: #000000;
JSON
{
"hex": "#a78b1e",
"rgb": {
"r": 167,
"g": 139,
"b": 30
},
"hsl": {
"h": 47.737,
"s": 69.543,
"l": 38.627
},
"oklch": {
"l": 0.64455,
"c": 0.1232,
"h": 93.3
},
"luminance": 0.26774
}Semantic roles & 50–950 ramp
primary
#A78B1E
secondary
#5B71C6
accent
#60EC3B
background
#FCFAF6
surface
#F9F4EB
border
#D2CEC6
text
#141006
muted
#827F7A