#A78C23#A78C23
#A78C23 is a light, vivid yellow. Relative luminance 0.271; OKLCH L 64.7% C 0.121 H 93.6°. Best body text is #000000 at 6.42:1 contrast (WCAG AA passes).
Color values
| HEX | #A78C23 |
|---|---|
| RGB | rgb(167, 140, 35) |
| HSL | hsl(48, 65%, 40%) |
| HSV | hsv(48, 79%, 65%) |
| CMYK | cmyk(0%, 16.2%, 79%, 34.5%) |
| CIE-LAB | lab(59.06, -0.56, 55.62) |
| CIE-LCH | lch(59.06, 55.62, 90.58°) |
| OKLab | oklab(64.7% -0.0077 0.1211) |
| OKLCH | oklch(64.7% 0.121 93.6) |
| XYZ | xyz(25.6193, 27.0945, 5.4701) |
| Luminance | 0.2709 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dark Mustard
#A88905
ΔE00 2.13
Baby Shit Brown
#AD900D
ΔE00 2.44
Baby Poo
#AB9004
ΔE00 2.66
Yellowy Brown
#AE8B0C
ΔE00 2.70
Diarrhea
#9F8303
ΔE00 3.35
Dark Gold
#B59410
ΔE00 3.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A78C23 #233EA7
analogous
#A74A23 #A78C23 #80A723
triadic
#A78C23 #23A78C #8C23A7
tetradic
#A78C23 #23A74A #233EA7 #A72380
square
#A78C23 #23A74A #233EA7 #A72380
split-complementary
#A78C23 #2380A7 #4A23A7
monochromatic
#42370E #746218 #A78C23 #D4B333 #DFC666
Accessibility & contrast
On white
3.27
#A78C23 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.42
#A78C23 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A78C23
6.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A78C23 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A78C23 | 1.00 | 3.27 | 6.42 | 6.42 |
| #FFFFFF | 3.27 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.42 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.42 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9C890C
Deuteranopia (green-blind)
#A3922A
Tritanopia (blue-blind)
#B58078
Achromatopsia (no color)
#8E8E8E
Design tokens & code
CSS
--color: #a78c23; /* rgb */ color: rgb(167, 140, 35); /* oklch */ color: oklch(64.7% 0.121 93.6);
Tailwind
colors: {
custom: {
50: '#c5ad67',
500: '#a78c23',
950: '#000000',
},
}SCSS
$custom: #a78c23; $custom-light: #c5ad67; $custom-dark: #000000;
JSON
{
"hex": "#a78c23",
"rgb": {
"r": 167,
"g": 140,
"b": 35
},
"hsl": {
"h": 47.727,
"s": 65.347,
"l": 39.608
},
"oklch": {
"l": 0.64697,
"c": 0.12131,
"h": 93.6
},
"luminance": 0.27093
}Semantic roles & 50–950 ramp
primary
#A78C23
secondary
#6176C4
accent
#62E83F
background
#FCFAF6
surface
#F9F4EB
border
#D2CEC6
text
#131006
muted
#827F7A