#A78A1F#A78A1F
#A78A1F is a light, vivid yellow. Relative luminance 0.265; OKLCH L 64.2% C 0.122 H 92.5°. Best body text is #000000 at 6.30:1 contrast (WCAG AA passes).
Color values
| HEX | #A78A1F |
|---|---|
| RGB | rgb(167, 138, 31) |
| HSL | hsl(47, 69%, 39%) |
| HSV | hsv(47, 81%, 65%) |
| CMYK | cmyk(0%, 17.4%, 81.4%, 34.5%) |
| CIE-LAB | lab(58.50, 0.39, 56.46) |
| CIE-LCH | lch(58.50, 56.46, 89.60°) |
| OKLab | oklab(64.25% -0.0054 0.122) |
| OKLCH | oklch(64.25% 0.122 92.5) |
| XYZ | xyz(25.2736, 26.4929, 5.0785) |
| Luminance | 0.2649 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dark Mustard
#A88905
ΔE00 1.60
Yellowy Brown
#AE8B0C
ΔE00 2.22
Baby Shit Brown
#AD900D
ΔE00 2.67
Diarrhea
#9F8303
ΔE00 2.79
Baby Poo
#AB9004
ΔE00 2.96
Dark Gold
#B59410
ΔE00 4.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A78A1F #1F3CA7
analogous
#A7461F #A78A1F #80A71F
triadic
#A78A1F #1FA78A #8A1FA7
tetradic
#A78A1F #1FA746 #1F3CA7 #A71F80
square
#A78A1F #1FA746 #1F3CA7 #A71F80
split-complementary
#A78A1F #1F80A7 #461FA7
monochromatic
#40350C #735F15 #A78A1F #D8B32B #E1C65F
Accessibility & contrast
On white
3.33
#A78A1F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.30
#A78A1F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A78A1F
6.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A78A1F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A78A1F | 1.00 | 3.33 | 6.30 | 6.30 |
| #FFFFFF | 3.33 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.30 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.30 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9A8802
Deuteranopia (green-blind)
#A19026
Tritanopia (blue-blind)
#B57E76
Achromatopsia (no color)
#8D8D8D
Design tokens & code
CSS
--color: #a78a1f; /* rgb */ color: rgb(167, 138, 31); /* oklch */ color: oklch(64.2% 0.122 92.5);
Tailwind
colors: {
custom: {
50: '#c5ab65',
500: '#a78a1f',
950: '#000000',
},
}SCSS
$custom: #a78a1f; $custom-light: #c5ab65; $custom-dark: #000000;
JSON
{
"hex": "#a78a1f",
"rgb": {
"r": 167,
"g": 138,
"b": 31
},
"hsl": {
"h": 47.206,
"s": 68.687,
"l": 38.824
},
"oklch": {
"l": 0.64248,
"c": 0.12213,
"h": 92.5
},
"luminance": 0.26491
}Semantic roles & 50–950 ramp
primary
#A78A1F
secondary
#5C73C6
accent
#62EC3C
background
#FCFAF6
surface
#F9F4EB
border
#D2CEC6
text
#141006
muted
#827F7A