#A7861C#A7861C
#A7861C is a light, vivid yellow. Relative luminance 0.254; OKLCH L 63.4% C 0.121 H 89.8°. Best body text is #000000 at 6.07:1 contrast (WCAG AA passes).
Color values
| HEX | #A7861C |
|---|---|
| RGB | rgb(167, 134, 28) |
| HSL | hsl(46, 71%, 38%) |
| HSV | hsv(46, 83%, 65%) |
| CMYK | cmyk(0%, 19.8%, 83.2%, 34.5%) |
| CIE-LAB | lab(57.42, 2.51, 56.46) |
| CIE-LCH | lch(57.42, 56.52, 87.46°) |
| OKLab | oklab(63.39% 0.0004 0.1214) |
| OKLCH | oklch(63.39% 0.121 89.8) |
| XYZ | xyz(24.6726, 25.3512, 4.6921) |
| Luminance | 0.2535 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dark Mustard
#A88905
ΔE00 2.10
Yellowy Brown
#AE8B0C
ΔE00 2.40
Diarrhea
#9F8303
ΔE00 2.56
Baby Shit Brown
#AD900D
ΔE00 3.97
Mustard Brown
#AC7E04
ΔE00 4.32
Baby Poo
#AB9004
ΔE00 4.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A7861C #1C3DA7
analogous
#A7401C #A7861C #82A71C
triadic
#A7861C #1CA786 #861CA7
tetradic
#A7861C #1CA740 #1C3DA7 #A71C82
square
#A7861C #1CA740 #1C3DA7 #A71C82
split-complementary
#A7861C #1C82A7 #401CA7
monochromatic
#3E320A #735C13 #A7861C #DBB026 #E3C35A
Accessibility & contrast
On white
3.46
#A7861C on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.07
#A7861C on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A7861C
6.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A7861C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A7861C | 1.00 | 3.46 | 6.07 | 6.07 |
| #FFFFFF | 3.46 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.07 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.07 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#978500
Deuteranopia (green-blind)
#9F8E23
Tritanopia (blue-blind)
#B57A73
Achromatopsia (no color)
#8A8A8A
Design tokens & code
CSS
--color: #a7861c; /* rgb */ color: rgb(167, 134, 28); /* oklch */ color: oklch(63.4% 0.121 89.8);
Tailwind
colors: {
custom: {
50: '#c6a863',
500: '#a7861c',
950: '#000000',
},
}SCSS
$custom: #a7861c; $custom-light: #c6a863; $custom-dark: #000000;
JSON
{
"hex": "#a7861c",
"rgb": {
"r": 167,
"g": 134,
"b": 28
},
"hsl": {
"h": 45.755,
"s": 71.282,
"l": 38.235
},
"oklch": {
"l": 0.63387,
"c": 0.12136,
"h": 89.8
},
"luminance": 0.2535
}Semantic roles & 50–950 ramp
primary
#A7861C
secondary
#5872C7
accent
#65EE3A
background
#FCFAF6
surface
#F9F4EB
border
#D2CEC6
text
#140F06
muted
#827F7A