#A78A23#A78A23
#A78A23 is a light, vivid yellow. Relative luminance 0.265; OKLCH L 64.3% C 0.120 H 92.2°. Best body text is #000000 at 6.30:1 contrast (WCAG AA passes).
Color values
| HEX | #A78A23 |
|---|---|
| RGB | rgb(167, 138, 35) |
| HSL | hsl(47, 65%, 40%) |
| HSV | hsv(47, 79%, 65%) |
| CMYK | cmyk(0%, 17.4%, 79%, 34.5%) |
| CIE-LAB | lab(58.52, 0.54, 55.13) |
| CIE-LCH | lch(58.52, 55.13, 89.44°) |
| OKLab | oklab(64.27% -0.0046 0.12) |
| OKLCH | oklch(64.27% 0.12 92.2) |
| XYZ | xyz(25.3297, 26.5154, 5.3736) |
| Luminance | 0.2651 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dark Mustard
#A88905
ΔE00 1.96
Yellowy Brown
#AE8B0C
ΔE00 2.44
Baby Shit Brown
#AD900D
ΔE00 2.95
Diarrhea
#9F8303
ΔE00 2.98
Baby Poo
#AB9004
ΔE00 3.26
Dark Gold
#B59410
ΔE00 4.29
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A78A23 #2340A7
analogous
#A74823 #A78A23 #82A723
triadic
#A78A23 #23A78A #8A23A7
tetradic
#A78A23 #23A748 #2340A7 #A72382
square
#A78A23 #23A748 #2340A7 #A72382
split-complementary
#A78A23 #2382A7 #4823A7
monochromatic
#42360E #746018 #A78A23 #D4B133 #DFC466
Accessibility & contrast
On white
3.33
#A78A23 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.30
#A78A23 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A78A23
6.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A78A23 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A78A23 | 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)
#9A880D
Deuteranopia (green-blind)
#A19029
Tritanopia (blue-blind)
#B57E76
Achromatopsia (no color)
#8D8D8D
Design tokens & code
CSS
--color: #a78a23; /* rgb */ color: rgb(167, 138, 35); /* oklch */ color: oklch(64.3% 0.120 92.2);
Tailwind
colors: {
custom: {
50: '#c5ab67',
500: '#a78a23',
950: '#000000',
},
}SCSS
$custom: #a78a23; $custom-light: #c5ab67; $custom-dark: #000000;
JSON
{
"hex": "#a78a23",
"rgb": {
"r": 167,
"g": 138,
"b": 35
},
"hsl": {
"h": 46.818,
"s": 65.347,
"l": 39.608
},
"oklch": {
"l": 0.64271,
"c": 0.1201,
"h": 92.2
},
"luminance": 0.26514
}Semantic roles & 50–950 ramp
primary
#A78A23
secondary
#6177C4
accent
#65E83F
background
#FCFAF6
surface
#F9F4EB
border
#D2CEC6
text
#141006
muted
#827F7A