#AA972F#AA972F
#AA972F is a light, vivid yellow. Relative luminance 0.309; OKLCH L 67.4% C 0.122 H 98.6°. Best body text is #000000 at 7.18:1 contrast (WCAG AA passes).
Color values
| HEX | #AA972F |
|---|---|
| RGB | rgb(170, 151, 47) |
| HSL | hsl(51, 57%, 43%) |
| HSV | hsv(51, 72%, 67%) |
| CMYK | cmyk(0%, 11.2%, 72.4%, 33.3%) |
| CIE-LAB | lab(62.41, -4.66, 54.44) |
| CIE-LCH | lch(62.41, 54.64, 94.89°) |
| OKLab | oklab(67.44% -0.0183 0.1208) |
| OKLCH | oklch(67.44% 0.122 98.6) |
| XYZ | xyz(28.1586, 30.8859, 7.1671) |
| Luminance | 0.3089 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Brown Yellow
#B29705
ΔE00 3.70
Baby Poo
#AB9004
ΔE00 3.82
Baby Shit Brown
#AD900D
ΔE00 3.94
Dark Gold
#B59410
ΔE00 4.58
Yellow Brown
#B79400
ΔE00 5.32
Dark Mustard
#A88905
ΔE00 5.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AA972F #2F42AA
analogous
#AA5A2F #AA972F #7FAA2F
triadic
#AA972F #2FAA97 #972FAA
tetradic
#AA972F #2FAA5A #2F42AA #AA2F7F
square
#AA972F #2FAA5A #2F42AA #AA2F7F
split-complementary
#AA972F #2F7FAA #5A2FAA
monochromatic
#4A4214 #7A6C22 #AA972F #CDB849 #DACB79
Accessibility & contrast
On white
2.93
#AA972F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.18
#AA972F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AA972F
7.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AA972F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AA972F | 1.00 | 2.93 | 7.18 | 7.18 |
| #FFFFFF | 2.93 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.18 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.18 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A6931F
Deuteranopia (green-blind)
#AB9A35
Tritanopia (blue-blind)
#B78C82
Achromatopsia (no color)
#979797
Design tokens & code
CSS
--color: #aa972f; /* rgb */ color: rgb(170, 151, 47); /* oklch */ color: oklch(67.4% 0.122 98.6);
Tailwind
colors: {
custom: {
50: '#c7b56e',
500: '#aa972f',
950: '#000000',
},
}SCSS
$custom: #aa972f; $custom-light: #c7b56e; $custom-dark: #000000;
JSON
{
"hex": "#aa972f",
"rgb": {
"r": 170,
"g": 151,
"b": 47
},
"hsl": {
"h": 50.732,
"s": 56.682,
"l": 42.549
},
"oklch": {
"l": 0.67439,
"c": 0.1222,
"h": 98.6
},
"luminance": 0.30885
}Semantic roles & 50–950 ramp
primary
#AA972F
secondary
#727FC2
accent
#5FE048
background
#FCFBF6
surface
#F9F6EC
border
#D2D0C7
text
#141108
muted
#82807B