#A78B23#A78B23
#A78B23 is a light, vivid yellow. Relative luminance 0.268; OKLCH L 64.5% C 0.121 H 92.9°. Best body text is #000000 at 6.36:1 contrast (WCAG AA passes).
Color values
| HEX | #A78B23 |
|---|---|
| RGB | rgb(167, 139, 35) |
| HSL | hsl(47, 65%, 40%) |
| HSV | hsv(47, 79%, 65%) |
| CMYK | cmyk(0%, 16.8%, 79%, 34.5%) |
| CIE-LAB | lab(58.79, -0.01, 55.37) |
| CIE-LCH | lch(58.79, 55.37, 90.01°) |
| OKLab | oklab(64.48% -0.0061 0.1205) |
| OKLCH | oklch(64.48% 0.121 92.9) |
| XYZ | xyz(25.4738, 26.8036, 5.4217) |
| Luminance | 0.2680 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dark Mustard
#A88905
ΔE00 2.00
Yellowy Brown
#AE8B0C
ΔE00 2.53
Baby Shit Brown
#AD900D
ΔE00 2.67
Baby Poo
#AB9004
ΔE00 2.94
Diarrhea
#9F8303
ΔE00 3.14
Dark Gold
#B59410
ΔE00 4.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A78B23 #233FA7
analogous
#A74923 #A78B23 #81A723
triadic
#A78B23 #23A78B #8B23A7
tetradic
#A78B23 #23A749 #233FA7 #A72381
square
#A78B23 #23A749 #233FA7 #A72381
split-complementary
#A78B23 #2381A7 #4923A7
monochromatic
#42370E #746118 #A78B23 #D4B233 #DFC566
Accessibility & contrast
On white
3.30
#A78B23 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.36
#A78B23 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A78B23
6.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A78B23 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A78B23 | 1.00 | 3.30 | 6.36 | 6.36 |
| #FFFFFF | 3.30 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.36 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.36 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9B890C
Deuteranopia (green-blind)
#A2912A
Tritanopia (blue-blind)
#B57F77
Achromatopsia (no color)
#8D8D8D
Design tokens & code
CSS
--color: #a78b23; /* rgb */ color: rgb(167, 139, 35); /* oklch */ color: oklch(64.5% 0.121 92.9);
Tailwind
colors: {
custom: {
50: '#c5ac67',
500: '#a78b23',
950: '#000000',
},
}SCSS
$custom: #a78b23; $custom-light: #c5ac67; $custom-dark: #000000;
JSON
{
"hex": "#a78b23",
"rgb": {
"r": 167,
"g": 139,
"b": 35
},
"hsl": {
"h": 47.273,
"s": 65.347,
"l": 39.608
},
"oklch": {
"l": 0.64484,
"c": 0.12069,
"h": 92.9
},
"luminance": 0.26802
}Semantic roles & 50–950 ramp
primary
#A78B23
secondary
#6176C4
accent
#63E83F
background
#FCFAF6
surface
#F9F4EB
border
#D2CEC6
text
#131006
muted
#827F7A