#A78E1F#A78E1F
#A78E1F is a light, vivid yellow. Relative luminance 0.277; OKLCH L 65.1% C 0.125 H 95.3°. Best body text is #000000 at 6.53:1 contrast (WCAG AA passes).
Color values
| HEX | #A78E1F |
|---|---|
| RGB | rgb(167, 142, 31) |
| HSL | hsl(49, 69%, 39%) |
| HSV | hsv(49, 81%, 65%) |
| CMYK | cmyk(0%, 15%, 81.4%, 34.5%) |
| CIE-LAB | lab(59.58, -1.80, 57.41) |
| CIE-LCH | lch(59.58, 57.44, 91.80°) |
| OKLab | oklab(65.1% -0.0116 0.1241) |
| OKLCH | oklch(65.1% 0.125 95.3) |
| XYZ | xyz(25.8581, 27.6619, 5.2734) |
| Luminance | 0.2766 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poo
#AB9004
ΔE00 1.95
Baby Shit Brown
#AD900D
ΔE00 1.95
Dark Mustard
#A88905
ΔE00 2.45
Yellowy Brown
#AE8B0C
ΔE00 3.10
Dark Gold
#B59410
ΔE00 3.60
Brown Yellow
#B29705
ΔE00 3.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A78E1F #1F38A7
analogous
#A74A1F #A78E1F #7CA71F
triadic
#A78E1F #1FA78E #8E1FA7
tetradic
#A78E1F #1FA74A #1F38A7 #A71F7C
square
#A78E1F #1FA74A #1F38A7 #A71F7C
split-complementary
#A78E1F #1F7CA7 #4A1FA7
monochromatic
#40360C #736215 #A78E1F #D8B82B #E1C95F
Accessibility & contrast
On white
3.21
#A78E1F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.53
#A78E1F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A78E1F
6.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A78E1F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A78E1F | 1.00 | 3.21 | 6.53 | 6.53 |
| #FFFFFF | 3.21 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.53 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.53 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9E8B00
Deuteranopia (green-blind)
#A49327
Tritanopia (blue-blind)
#B5827A
Achromatopsia (no color)
#8F8F8F
Design tokens & code
CSS
--color: #a78e1f; /* rgb */ color: rgb(167, 142, 31); /* oklch */ color: oklch(65.1% 0.125 95.3);
Tailwind
colors: {
custom: {
50: '#c5ae65',
500: '#a78e1f',
950: '#000000',
},
}SCSS
$custom: #a78e1f; $custom-light: #c5ae65; $custom-dark: #000000;
JSON
{
"hex": "#a78e1f",
"rgb": {
"r": 167,
"g": 142,
"b": 31
},
"hsl": {
"h": 48.971,
"s": 68.687,
"l": 38.824
},
"oklch": {
"l": 0.65101,
"c": 0.12462,
"h": 95.3
},
"luminance": 0.2766
}Semantic roles & 50–950 ramp
primary
#A78E1F
secondary
#5C6FC6
accent
#5CEC3C
background
#FCFAF6
surface
#F9F4EB
border
#D2CEC6
text
#141006
muted
#827F7A