#A78E27#A78E27
#A78E27 is a light, vivid yellow. Relative luminance 0.277; OKLCH L 65.1% C 0.120 H 94.7°. Best body text is #000000 at 6.54:1 contrast (WCAG AA passes).
Color values
| HEX | #A78E27 |
|---|---|
| RGB | rgb(167, 142, 39) |
| HSL | hsl(48, 62%, 40%) |
| HSV | hsv(48, 77%, 65%) |
| CMYK | cmyk(0%, 15%, 76.6%, 34.5%) |
| CIE-LAB | lab(59.63, -1.49, 54.71) |
| CIE-LCH | lch(59.63, 54.73, 91.56°) |
| OKLab | oklab(65.15% -0.0099 0.12) |
| OKLCH | oklch(65.15% 0.12 94.7) |
| XYZ | xyz(25.9770, 27.7094, 5.8993) |
| Luminance | 0.2771 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Shit Brown
#AD900D
ΔE00 2.52
Baby Poo
#AB9004
ΔE00 2.65
Dark Mustard
#A88905
ΔE00 2.84
Yellowy Brown
#AE8B0C
ΔE00 3.34
Dark Gold
#B59410
ΔE00 3.94
Diarrhea
#9F8303
ΔE00 4.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A78E27 #2740A7
analogous
#A74E27 #A78E27 #80A727
triadic
#A78E27 #27A78E #8E27A7
tetradic
#A78E27 #27A74E #2740A7 #A72780
square
#A78E27 #27A74E #2740A7 #A72780
split-complementary
#A78E27 #2780A7 #4E27A7
monochromatic
#443A10 #75641B #A78E27 #D1B43A #DDC76C
Accessibility & contrast
On white
3.21
#A78E27 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.54
#A78E27 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A78E27
6.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A78E27 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A78E27 | 1.00 | 3.21 | 6.54 | 6.54 |
| #FFFFFF | 3.21 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.54 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.54 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9D8B14
Deuteranopia (green-blind)
#A4932D
Tritanopia (blue-blind)
#B5827A
Achromatopsia (no color)
#909090
Design tokens & code
CSS
--color: #a78e27; /* rgb */ color: rgb(167, 142, 39); /* oklch */ color: oklch(65.1% 0.120 94.7);
Tailwind
colors: {
custom: {
50: '#c5ae69',
500: '#a78e27',
950: '#000000',
},
}SCSS
$custom: #a78e27; $custom-light: #c5ae69; $custom-dark: #000000;
JSON
{
"hex": "#a78e27",
"rgb": {
"r": 167,
"g": 142,
"b": 39
},
"hsl": {
"h": 48.281,
"s": 62.136,
"l": 40.392
},
"oklch": {
"l": 0.65149,
"c": 0.12036,
"h": 94.7
},
"luminance": 0.27708
}Semantic roles & 50–950 ramp
primary
#A78E27
secondary
#6779C3
accent
#62E543
background
#FCFAF6
surface
#F9F4EB
border
#D2CEC6
text
#131007
muted
#827F7A