#A6871F#A6871F
#A6871F is a light, vivid yellow. Relative luminance 0.255; OKLCH L 63.5% C 0.120 H 90.9°. Best body text is #000000 at 6.11:1 contrast (WCAG AA passes).
Color values
| HEX | #A6871F |
|---|---|
| RGB | rgb(166, 135, 31) |
| HSL | hsl(46, 69%, 39%) |
| HSV | hsv(46, 81%, 65%) |
| CMYK | cmyk(0%, 18.7%, 81.3%, 34.9%) |
| CIE-LAB | lab(57.59, 1.60, 55.61) |
| CIE-LCH | lch(57.59, 55.64, 88.36°) |
| OKLab | oklab(63.51% -0.0019 0.1202) |
| OKLCH | oklch(63.51% 0.12 90.9) |
| XYZ | xyz(24.6387, 25.5355, 4.9272) |
| Luminance | 0.2553 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dark Mustard
#A88905
ΔE00 1.98
Diarrhea
#9F8303
ΔE00 2.44
Yellowy Brown
#AE8B0C
ΔE00 2.50
Baby Shit Brown
#AD900D
ΔE00 3.69
Baby Poo
#AB9004
ΔE00 4.01
Yellowish Brown
#9B7A01
ΔE00 4.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A6871F #1F3EA6
analogous
#A6431F #A6871F #81A61F
triadic
#A6871F #1FA687 #871FA6
tetradic
#A6871F #1FA643 #1F3EA6 #A61F81
square
#A6871F #1FA643 #1F3EA6 #A61F81
split-complementary
#A6871F #1F81A6 #431FA6
monochromatic
#3F330C #725D15 #A6871F #D7B02B #E1C35E
Accessibility & contrast
On white
3.44
#A6871F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.11
#A6871F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A6871F
6.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A6871F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A6871F | 1.00 | 3.44 | 6.11 | 6.11 |
| #FFFFFF | 3.44 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.11 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.11 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#978504
Deuteranopia (green-blind)
#9F8E26
Tritanopia (blue-blind)
#B47B74
Achromatopsia (no color)
#8A8A8A
Design tokens & code
CSS
--color: #a6871f; /* rgb */ color: rgb(166, 135, 31); /* oklch */ color: oklch(63.5% 0.120 90.9);
Tailwind
colors: {
custom: {
50: '#c5a965',
500: '#a6871f',
950: '#000000',
},
}SCSS
$custom: #a6871f; $custom-light: #c5a965; $custom-dark: #000000;
JSON
{
"hex": "#a6871f",
"rgb": {
"r": 166,
"g": 135,
"b": 31
},
"hsl": {
"h": 46.222,
"s": 68.528,
"l": 38.627
},
"oklch": {
"l": 0.63507,
"c": 0.12026,
"h": 90.9
},
"luminance": 0.25534
}Semantic roles & 50–950 ramp
primary
#A6871F
secondary
#5B74C5
accent
#65EB3C
background
#FCFAF6
surface
#F9F4EB
border
#D2CEC6
text
#140F06
muted
#827F7A