#A78C1E#A78C1E
#A78C1E is a light, vivid yellow. Relative luminance 0.271; OKLCH L 64.7% C 0.124 H 94.0°. Best body text is #000000 at 6.41:1 contrast (WCAG AA passes).
Color values
| HEX | #A78C1E |
|---|---|
| RGB | rgb(167, 140, 30) |
| HSL | hsl(48, 70%, 39%) |
| HSV | hsv(48, 82%, 65%) |
| CMYK | cmyk(0%, 16.2%, 82%, 34.5%) |
| CIE-LAB | lab(59.04, -0.74, 57.25) |
| CIE-LCH | lch(59.04, 57.25, 90.74°) |
| OKLab | oklab(64.67% -0.0087 0.1235) |
| OKLCH | oklch(64.67% 0.124 94) |
| XYZ | xyz(25.5502, 27.0669, 5.1067) |
| Luminance | 0.2707 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dark Mustard
#A88905
ΔE00 1.82
Baby Shit Brown
#AD900D
ΔE00 2.10
Baby Poo
#AB9004
ΔE00 2.27
Yellowy Brown
#AE8B0C
ΔE00 2.52
Diarrhea
#9F8303
ΔE00 3.19
Dark Gold
#B59410
ΔE00 3.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A78C1E #1E39A7
analogous
#A7471E #A78C1E #7DA71E
triadic
#A78C1E #1EA78C #8C1EA7
tetradic
#A78C1E #1EA747 #1E39A7 #A71E7D
square
#A78C1E #1EA747 #1E39A7 #A71E7D
split-complementary
#A78C1E #1E7DA7 #471EA7
monochromatic
#3F350B #736115 #A78C1E #D9B62A #E2C85D
Accessibility & contrast
On white
3.27
#A78C1E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.41
#A78C1E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A78C1E
6.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A78C1E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A78C1E | 1.00 | 3.27 | 6.41 | 6.41 |
| #FFFFFF | 3.27 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.41 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.41 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9C8900
Deuteranopia (green-blind)
#A39126
Tritanopia (blue-blind)
#B58078
Achromatopsia (no color)
#8E8E8E
Design tokens & code
CSS
--color: #a78c1e; /* rgb */ color: rgb(167, 140, 30); /* oklch */ color: oklch(64.7% 0.124 94.0);
Tailwind
colors: {
custom: {
50: '#c5ad65',
500: '#a78c1e',
950: '#000000',
},
}SCSS
$custom: #a78c1e; $custom-light: #c5ad65; $custom-dark: #000000;
JSON
{
"hex": "#a78c1e",
"rgb": {
"r": 167,
"g": 140,
"b": 30
},
"hsl": {
"h": 48.175,
"s": 69.543,
"l": 38.627
},
"oklch": {
"l": 0.64668,
"c": 0.12382,
"h": 94
},
"luminance": 0.27065
}Semantic roles & 50–950 ramp
primary
#A78C1E
secondary
#5B70C6
accent
#5EEC3B
background
#FCFAF6
surface
#F9F4EB
border
#D2CEC6
text
#141006
muted
#827F7A