#AAA251#AAA251
#AAA251 is a light, moderate yellow. Relative luminance 0.350; OKLCH L 70.2% C 0.104 H 103.6°. Best body text is #000000 at 8.00:1 contrast (WCAG AA passes).
Color values
| HEX | #AAA251 |
|---|---|
| RGB | rgb(170, 162, 81) |
| HSL | hsl(55, 35%, 49%) |
| HSV | hsv(55, 52%, 67%) |
| CMYK | cmyk(0%, 4.7%, 52.4%, 33.3%) |
| CIE-LAB | lab(65.73, -8.19, 42.68) |
| CIE-LCH | lch(65.73, 43.46, 100.86°) |
| OKLab | oklab(70.18% -0.0244 0.1006) |
| OKLCH | oklch(70.18% 0.104 103.6) |
| XYZ | xyz(30.9840, 34.9818, 12.9030) |
| Luminance | 0.3498 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Khaki (survey)
#AAA662
ΔE00 2.96
Darkkhaki
#BDB76B
ΔE00 6.11
Vomit
#A2A415
ΔE00 6.89
Dark Khaki
#9B8F55
ΔE00 7.07
Puke
#A5A502
ΔE00 7.49
Sandy Brown
#C4A661
ΔE00 7.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AAA251 #5159AA
analogous
#AA7651 #AAA251 #86AA51
triadic
#AAA251 #51AAA2 #A251AA
tetradic
#AAA251 #51AA76 #5159AA #AA5186
square
#AAA251 #51AA76 #5159AA #AA5186
split-complementary
#AAA251 #5186AA #7651AA
monochromatic
#57532A #817B3D #AAA251 #BFB979 #D3CFA2
Accessibility & contrast
On white
2.63
#AAA251 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.00
#AAA251 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AAA251
8.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AAA251 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AAA251 | 1.00 | 2.63 | 8.00 | 8.00 |
| #FFFFFF | 2.63 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.00 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.00 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AE9D4A
Deuteranopia (green-blind)
#B1A255
Tritanopia (blue-blind)
#B5998F
Achromatopsia (no color)
#A0A0A0
Design tokens & code
CSS
--color: #aaa251; /* rgb */ color: rgb(170, 162, 81); /* oklch */ color: oklch(70.2% 0.104 103.6);
Tailwind
colors: {
custom: {
50: '#c5bd84',
500: '#aaa251',
950: '#000000',
},
}SCSS
$custom: #aaa251; $custom-light: #c5bd84; $custom-dark: #000000;
JSON
{
"hex": "#aaa251",
"rgb": {
"r": 170,
"g": 162,
"b": 81
},
"hsl": {
"h": 54.607,
"s": 35.458,
"l": 49.216
},
"oklch": {
"l": 0.70177,
"c": 0.10355,
"h": 103.6
},
"luminance": 0.34981
}Semantic roles & 50–950 ramp
primary
#AAA251
secondary
#979AC0
accent
#66CB5C
background
#FCFBF8
surface
#F8F6EF
border
#D1D0CA
text
#13120B
muted
#82817C