#A78E2B#A78E2B
#A78E2B is a light, moderate yellow. Relative luminance 0.277; OKLCH L 65.2% C 0.118 H 94.4°. Best body text is #000000 at 6.55:1 contrast (WCAG AA passes).
Color values
| HEX | #A78E2B |
|---|---|
| RGB | rgb(167, 142, 43) |
| HSL | hsl(48, 59%, 41%) |
| HSV | hsv(48, 74%, 65%) |
| CMYK | cmyk(0%, 15%, 74.3%, 34.5%) |
| CIE-LAB | lab(59.65, -1.31, 53.21) |
| CIE-LCH | lch(59.65, 53.23, 91.41°) |
| OKLab | oklab(65.18% -0.009 0.1176) |
| OKLCH | oklch(65.18% 0.118 94.4) |
| XYZ | xyz(26.0468, 27.7374, 6.2669) |
| Luminance | 0.2774 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Shit Brown
#AD900D
ΔE00 2.89
Baby Poo
#AB9004
ΔE00 3.07
Dark Mustard
#A88905
ΔE00 3.13
Yellowy Brown
#AE8B0C
ΔE00 3.54
Dark Gold
#B59410
ΔE00 4.18
Diarrhea
#9F8303
ΔE00 4.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A78E2B #2B44A7
analogous
#A7502B #A78E2B #82A72B
triadic
#A78E2B #2BA78E #8E2BA7
tetradic
#A78E2B #2BA750 #2B44A7 #A72B82
square
#A78E2B #2BA750 #2B44A7 #A72B82
split-complementary
#A78E2B #2B82A7 #502BA7
monochromatic
#463B12 #76651E #A78E2B #CEB241 #DBC572
Accessibility & contrast
On white
3.21
#A78E2B on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.55
#A78E2B on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A78E2B
6.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A78E2B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A78E2B | 1.00 | 3.21 | 6.55 | 6.55 |
| #FFFFFF | 3.21 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.55 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.55 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9D8B1B
Deuteranopia (green-blind)
#A49331
Tritanopia (blue-blind)
#B5827A
Achromatopsia (no color)
#909090
Design tokens & code
CSS
--color: #a78e2b; /* rgb */ color: rgb(167, 142, 43); /* oklch */ color: oklch(65.2% 0.118 94.4);
Tailwind
colors: {
custom: {
50: '#c5ae6b',
500: '#a78e2b',
950: '#000000',
},
}SCSS
$custom: #a78e2b; $custom-light: #c5ae6b; $custom-dark: #000000;
JSON
{
"hex": "#a78e2b",
"rgb": {
"r": 167,
"g": 142,
"b": 43
},
"hsl": {
"h": 47.903,
"s": 59.048,
"l": 41.176
},
"oklch": {
"l": 0.65178,
"c": 0.11792,
"h": 94.4
},
"luminance": 0.27736
}Semantic roles & 50–950 ramp
primary
#A78E2B
secondary
#6C7DC2
accent
#65E246
background
#FCFAF6
surface
#F8F4EC
border
#D1CEC7
text
#131007
muted
#827F7A