#AA9827#AA9827
#AA9827 is a light, vivid yellow. Relative luminance 0.311; OKLCH L 67.6% C 0.128 H 99.8°. Best body text is #000000 at 7.23:1 contrast (WCAG AA passes).
Color values
| HEX | #AA9827 |
|---|---|
| RGB | rgb(170, 152, 39) |
| HSL | hsl(52, 63%, 41%) |
| HSV | hsv(52, 77%, 67%) |
| CMYK | cmyk(0%, 10.6%, 77.1%, 33.3%) |
| CIE-LAB | lab(62.63, -5.56, 57.62) |
| CIE-LCH | lch(62.63, 57.89, 95.51°) |
| OKLab | oklab(67.6% -0.0217 0.126) |
| OKLCH | oklch(67.6% 0.128 99.8) |
| XYZ | xyz(28.1734, 31.1504, 6.4477) |
| Luminance | 0.3115 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Brown Yellow
#B29705
ΔE00 3.26
Baby Poo
#AB9004
ΔE00 3.69
Baby Shit Brown
#AD900D
ΔE00 3.96
Dark Gold
#B59410
ΔE00 4.57
Yellow Brown
#B79400
ΔE00 5.25
Ocher
#BF9B0C
ΔE00 5.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AA9827 #2739AA
analogous
#AA5627 #AA9827 #7AAA27
triadic
#AA9827 #27AA98 #9827AA
tetradic
#AA9827 #27AA56 #2739AA #AA277A
square
#AA9827 #27AA56 #2739AA #AA277A
split-complementary
#AA9827 #277AAA #5627AA
monochromatic
#463F10 #786B1C #AA9827 #D2BE3C #DECE6E
Accessibility & contrast
On white
2.90
#AA9827 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.23
#AA9827 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AA9827
7.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AA9827 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AA9827 | 1.00 | 2.90 | 7.23 | 7.23 |
| #FFFFFF | 2.90 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.23 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.23 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A7940F
Deuteranopia (green-blind)
#AC9A2F
Tritanopia (blue-blind)
#B88C83
Achromatopsia (no color)
#979797
Design tokens & code
CSS
--color: #aa9827; /* rgb */ color: rgb(170, 152, 39); /* oklch */ color: oklch(67.6% 0.128 99.8);
Tailwind
colors: {
custom: {
50: '#c7b56a',
500: '#aa9827',
950: '#000000',
},
}SCSS
$custom: #aa9827; $custom-light: #c7b56a; $custom-dark: #000000;
JSON
{
"hex": "#aa9827",
"rgb": {
"r": 170,
"g": 152,
"b": 39
},
"hsl": {
"h": 51.756,
"s": 62.679,
"l": 40.98
},
"oklch": {
"l": 0.676,
"c": 0.12788,
"h": 99.8
},
"luminance": 0.31149
}Semantic roles & 50–950 ramp
primary
#AA9827
secondary
#6975C4
accent
#59E642
background
#FCFBF6
surface
#F9F6EC
border
#D2D0C7
text
#141107
muted
#82807A