#A8871C#A8871C
#A8871C is a light, vivid yellow. Relative luminance 0.257; OKLCH L 63.7% C 0.122 H 90.0°. Best body text is #000000 at 6.15:1 contrast (WCAG AA passes).
Color values
| HEX | #A8871C |
|---|---|
| RGB | rgb(168, 135, 28) |
| HSL | hsl(46, 71%, 38%) |
| HSV | hsv(46, 83%, 66%) |
| CMYK | cmyk(0%, 19.6%, 83.3%, 34.1%) |
| CIE-LAB | lab(57.79, 2.41, 56.82) |
| CIE-LCH | lch(57.79, 56.87, 87.57°) |
| OKLab | oklab(63.7% 0 0.1221) |
| OKLCH | oklch(63.7% 0.122 90) |
| XYZ | xyz(25.0236, 25.7383, 4.7484) |
| Luminance | 0.2574 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dark Mustard
#A88905
ΔE00 1.88
Yellowy Brown
#AE8B0C
ΔE00 2.08
Diarrhea
#9F8303
ΔE00 2.70
Baby Shit Brown
#AD900D
ΔE00 3.64
Baby Poo
#AB9004
ΔE00 4.04
Mustard Brown
#AC7E04
ΔE00 4.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A8871C #1C3DA8
analogous
#A8411C #A8871C #83A81C
triadic
#A8871C #1CA887 #871CA8
tetradic
#A8871C #1CA841 #1C3DA8 #A81C83
square
#A8871C #1CA841 #1C3DA8 #A81C83
split-complementary
#A8871C #1C83A8 #411CA8
monochromatic
#3F330B #745D13 #A8871C #DBB026 #E4C35B
Accessibility & contrast
On white
3.42
#A8871C on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.15
#A8871C on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A8871C
6.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A8871C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A8871C | 1.00 | 3.42 | 6.15 | 6.15 |
| #FFFFFF | 3.42 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.15 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.15 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#988600
Deuteranopia (green-blind)
#A08F23
Tritanopia (blue-blind)
#B77B73
Achromatopsia (no color)
#8B8B8B
Design tokens & code
CSS
--color: #a8871c; /* rgb */ color: rgb(168, 135, 28); /* oklch */ color: oklch(63.7% 0.122 90.0);
Tailwind
colors: {
custom: {
50: '#c6a963',
500: '#a8871c',
950: '#000000',
},
}SCSS
$custom: #a8871c; $custom-light: #c6a963; $custom-dark: #000000;
JSON
{
"hex": "#a8871c",
"rgb": {
"r": 168,
"g": 135,
"b": 28
},
"hsl": {
"h": 45.857,
"s": 71.429,
"l": 38.431
},
"oklch": {
"l": 0.63704,
"c": 0.12209,
"h": 90
},
"luminance": 0.25737
}Semantic roles & 50–950 ramp
primary
#A8871C
secondary
#5873C7
accent
#64EE3A
background
#FCFAF6
surface
#F9F4EB
border
#D2CEC6
text
#140F06
muted
#827F7A