#AAA841#AAA841
#AAA841 is a light, vivid yellow. Relative luminance 0.369; OKLCH L 71.3% C 0.125 H 108.1°. Best body text is #000000 at 8.39:1 contrast (WCAG AA passes).
Color values
| HEX | #AAA841 |
|---|---|
| RGB | rgb(170, 168, 65) |
| HSL | hsl(59, 45%, 46%) |
| HSV | hsv(59, 62%, 67%) |
| CMYK | cmyk(0%, 1.2%, 61.8%, 33.3%) |
| CIE-LAB | lab(67.23, -12.60, 51.87) |
| CIE-LCH | lch(67.23, 53.38, 103.65°) |
| OKLab | oklab(71.31% -0.0388 0.1184) |
| OKLCH | oklch(71.31% 0.125 108.1) |
| XYZ | xyz(31.5353, 36.9339, 10.4678) |
| Luminance | 0.3693 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 3.93
Puke
#A5A502
ΔE00 4.53
Khaki (survey)
#AAA662
ΔE00 5.52
Pea Soup Green
#94A617
ΔE00 5.76
Puke Green
#9AAE07
ΔE00 6.32
Darkkhaki
#BDB76B
ΔE00 6.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AAA841 #4143AA
analogous
#AA7341 #AAA841 #77AA41
triadic
#AAA841 #41AAA8 #A841AA
tetradic
#AAA841 #41AA73 #4143AA #AA4177
square
#AAA841 #41AA73 #4143AA #AA4177
split-complementary
#AAA841 #4177AA #7341AA
monochromatic
#51501F #7E7C30 #AAA841 #C4C264 #D5D391
Accessibility & contrast
On white
2.50
#AAA841 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.39
#AAA841 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AAA841
8.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AAA841 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AAA841 | 1.00 | 2.50 | 8.39 | 8.39 |
| #FFFFFF | 2.50 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.39 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.39 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B5A235
Deuteranopia (green-blind)
#B7A547
Tritanopia (blue-blind)
#B69E92
Achromatopsia (no color)
#A4A4A4
Design tokens & code
CSS
--color: #aaa841; /* rgb */ color: rgb(170, 168, 65); /* oklch */ color: oklch(71.3% 0.125 108.1);
Tailwind
colors: {
custom: {
50: '#c6c17a',
500: '#aaa841',
950: '#000000',
},
}SCSS
$custom: #aaa841; $custom-light: #c6c17a; $custom-dark: #000000;
JSON
{
"hex": "#aaa841",
"rgb": {
"r": 170,
"g": 168,
"b": 65
},
"hsl": {
"h": 58.857,
"s": 44.681,
"l": 46.078
},
"oklch": {
"l": 0.71313,
"c": 0.12458,
"h": 108.1
},
"luminance": 0.36933
}Semantic roles & 50–950 ramp
primary
#AAA841
secondary
#8788C0
accent
#56D453
background
#FCFBF7
surface
#F8F7EE
border
#D1D0C9
text
#131209
muted
#82817B