#A78C25#A78C25
#A78C25 is a light, vivid yellow. Relative luminance 0.271; OKLCH L 64.7% C 0.120 H 93.5°. Best body text is #000000 at 6.42:1 contrast (WCAG AA passes).
Color values
| HEX | #A78C25 |
|---|---|
| RGB | rgb(167, 140, 37) |
| HSL | hsl(48, 64%, 40%) |
| HSV | hsv(48, 78%, 65%) |
| CMYK | cmyk(0%, 16.2%, 77.8%, 34.5%) |
| CIE-LAB | lab(59.07, -0.48, 54.92) |
| CIE-LCH | lch(59.07, 54.92, 90.50°) |
| OKLab | oklab(64.71% -0.0073 0.12) |
| OKLCH | oklch(64.71% 0.12 93.5) |
| XYZ | xyz(25.6498, 27.1067, 5.6310) |
| Luminance | 0.2711 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dark Mustard
#A88905
ΔE00 2.29
Baby Shit Brown
#AD900D
ΔE00 2.60
Yellowy Brown
#AE8B0C
ΔE00 2.80
Baby Poo
#AB9004
ΔE00 2.84
Diarrhea
#9F8303
ΔE00 3.44
Dark Gold
#B59410
ΔE00 4.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A78C25 #2540A7
analogous
#A74B25 #A78C25 #81A725
triadic
#A78C25 #25A78C #8C25A7
tetradic
#A78C25 #25A74B #2540A7 #A72581
square
#A78C25 #25A74B #2540A7 #A72581
split-complementary
#A78C25 #2581A7 #4B25A7
monochromatic
#43380F #75621A #A78C25 #D3B237 #DEC569
Accessibility & contrast
On white
3.27
#A78C25 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.42
#A78C25 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A78C25
6.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A78C25 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A78C25 | 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)
#9C8A10
Deuteranopia (green-blind)
#A2922B
Tritanopia (blue-blind)
#B58078
Achromatopsia (no color)
#8E8E8E
Design tokens & code
CSS
--color: #a78c25; /* rgb */ color: rgb(167, 140, 37); /* oklch */ color: oklch(64.7% 0.120 93.5);
Tailwind
colors: {
custom: {
50: '#c5ad68',
500: '#a78c25',
950: '#000000',
},
}SCSS
$custom: #a78c25; $custom-light: #c5ad68; $custom-dark: #000000;
JSON
{
"hex": "#a78c25",
"rgb": {
"r": 167,
"g": 140,
"b": 37
},
"hsl": {
"h": 47.538,
"s": 63.725,
"l": 40
},
"oklch": {
"l": 0.64709,
"c": 0.12021,
"h": 93.5
},
"luminance": 0.27105
}Semantic roles & 50–950 ramp
primary
#A78C25
secondary
#6478C4
accent
#63E741
background
#FCFAF6
surface
#F9F4EB
border
#D2CEC6
text
#131007
muted
#827F7A