#A78F1F#A78F1F
#A78F1F 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 | #A78F1F |
|---|---|
| RGB | rgb(167, 143, 31) |
| HSL | hsl(49, 69%, 39%) |
| HSV | hsv(49, 81%, 65%) |
| CMYK | cmyk(0%, 14.4%, 81.4%, 34.5%) |
| CIE-LAB | lab(59.85, -2.35, 57.65) |
| CIE-LCH | lch(59.85, 57.70, 92.33°) |
| OKLab | oklab(65.32% -0.0132 0.1246) |
| OKLCH | oklch(65.32% 0.125 96) |
| XYZ | xyz(26.0076, 27.9608, 5.3232) |
| Luminance | 0.2796 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poo
#AB9004
ΔE00 1.88
Baby Shit Brown
#AD900D
ΔE00 1.98
Dark Mustard
#A88905
ΔE00 2.79
Yellowy Brown
#AE8B0C
ΔE00 3.42
Brown Yellow
#B29705
ΔE00 3.54
Dark Gold
#B59410
ΔE00 3.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A78F1F #1F37A7
analogous
#A74B1F #A78F1F #7BA71F
triadic
#A78F1F #1FA78F #8F1FA7
tetradic
#A78F1F #1FA74B #1F37A7 #A71F7B
square
#A78F1F #1FA74B #1F37A7 #A71F7B
split-complementary
#A78F1F #1F7BA7 #4B1FA7
monochromatic
#40370C #736315 #A78F1F #D8B92B #E1CA5F
Accessibility & contrast
On white
3.19
#A78F1F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.59
#A78F1F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A78F1F
6.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A78F1F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A78F1F | 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)
#9F8C00
Deuteranopia (green-blind)
#A59327
Tritanopia (blue-blind)
#B5837A
Achromatopsia (no color)
#909090
Design tokens & code
CSS
--color: #a78f1f; /* rgb */ color: rgb(167, 143, 31); /* oklch */ color: oklch(65.3% 0.125 96.0);
Tailwind
colors: {
custom: {
50: '#c5af66',
500: '#a78f1f',
950: '#000000',
},
}SCSS
$custom: #a78f1f; $custom-light: #c5af66; $custom-dark: #000000;
JSON
{
"hex": "#a78f1f",
"rgb": {
"r": 167,
"g": 143,
"b": 31
},
"hsl": {
"h": 49.412,
"s": 68.687,
"l": 38.824
},
"oklch": {
"l": 0.65316,
"c": 0.12528,
"h": 96
},
"luminance": 0.27959
}Semantic roles & 50–950 ramp
primary
#A78F1F
secondary
#5C6FC6
accent
#5BEC3C
background
#FCFAF6
surface
#F9F4EB
border
#D2CEC6
text
#141006
muted
#827F7A