#AA871B#AA871B
#AA871B is a light, vivid yellow. Relative luminance 0.260; OKLCH L 63.9% C 0.123 H 88.9°. Best body text is #000000 at 6.19:1 contrast (WCAG AA passes).
Color values
| HEX | #AA871B |
|---|---|
| RGB | rgb(170, 135, 27) |
| HSL | hsl(45, 73%, 39%) |
| HSV | hsv(45, 84%, 67%) |
| CMYK | cmyk(0%, 20.6%, 84.1%, 33.3%) |
| CIE-LAB | lab(57.99, 3.29, 57.39) |
| CIE-LCH | lch(57.99, 57.48, 86.72°) |
| OKLab | oklab(63.91% 0.0024 0.123) |
| OKLCH | oklch(63.91% 0.123 88.9) |
| XYZ | xyz(25.4410, 25.9549, 4.7065) |
| Luminance | 0.2595 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Yellowy Brown
#AE8B0C
ΔE00 1.93
Dark Mustard
#A88905
ΔE00 2.14
Diarrhea
#9F8303
ΔE00 3.16
Baby Shit Brown
#AD900D
ΔE00 3.81
Mustard Brown
#AC7E04
ΔE00 4.06
Baby Poo
#AB9004
ΔE00 4.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AA871B #1B3EAA
analogous
#AA3F1B #AA871B #85AA1B
triadic
#AA871B #1BAA87 #871BAA
tetradic
#AA871B #1BAA3F #1B3EAA #AA1B85
square
#AA871B #1BAA3F #1B3EAA #AA1B85
split-complementary
#AA871B #1B85AA #3F1BAA
monochromatic
#40330A #755D13 #AA871B #DCB026 #E5C35B
Accessibility & contrast
On white
3.39
#AA871B on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.19
#AA871B on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #AA871B
6.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AA871B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AA871B | 1.00 | 3.39 | 6.19 | 6.19 |
| #FFFFFF | 3.39 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.19 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.19 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#988600
Deuteranopia (green-blind)
#A08F22
Tritanopia (blue-blind)
#B97A73
Achromatopsia (no color)
#8B8B8B
Design tokens & code
CSS
--color: #aa871b; /* rgb */ color: rgb(170, 135, 27); /* oklch */ color: oklch(63.9% 0.123 88.9);
Tailwind
colors: {
custom: {
50: '#c8a963',
500: '#aa871b',
950: '#000000',
},
}SCSS
$custom: #aa871b; $custom-light: #c8a963; $custom-dark: #000000;
JSON
{
"hex": "#aa871b",
"rgb": {
"r": 170,
"g": 135,
"b": 27
},
"hsl": {
"h": 45.315,
"s": 72.589,
"l": 38.627
},
"oklch": {
"l": 0.63913,
"c": 0.123,
"h": 88.9
},
"luminance": 0.25953
}Semantic roles & 50–950 ramp
primary
#AA871B
secondary
#5874C9
accent
#65EF39
background
#FCFAF6
surface
#F9F4EB
border
#D2CEC6
text
#140F06
muted
#827F7A