#A8A532#A8A532
#A8A532 is a light, vivid yellow. Relative luminance 0.355; OKLCH L 70.3% C 0.133 H 107.9°. Best body text is #000000 at 8.09:1 contrast (WCAG AA passes).
Color values
| HEX | #A8A532 |
|---|---|
| RGB | rgb(168, 165, 50) |
| HSL | hsl(58, 54%, 43%) |
| HSV | hsv(58, 70%, 66%) |
| CMYK | cmyk(0%, 1.8%, 70.2%, 34.1%) |
| CIE-LAB | lab(66.11, -12.81, 56.86) |
| CIE-LCH | lch(66.11, 58.29, 102.70°) |
| OKLab | oklab(70.34% -0.0409 0.1266) |
| OKLCH | oklch(70.34% 0.133 107.9) |
| XYZ | xyz(30.1804, 35.4664, 8.2729) |
| Luminance | 0.3547 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 2.42
Puke
#A5A502
ΔE00 2.96
Pea Soup Green
#94A617
ΔE00 5.26
Pea Soup
#929901
ΔE00 5.33
Baby Poop Green
#8F9805
ΔE00 5.86
Puke Green
#9AAE07
ΔE00 5.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A8A532 #3235A8
analogous
#A86A32 #A8A532 #70A832
triadic
#A8A532 #32A8A5 #A532A8
tetradic
#A8A532 #32A86A #3235A8 #A83270
square
#A8A532 #32A86A #3235A8 #A83270
split-complementary
#A8A532 #3270A8 #6A32A8
monochromatic
#4A4816 #797724 #A8A532 #CAC74D #D8D67C
Accessibility & contrast
On white
2.59
#A8A532 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.09
#A8A532 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A8A532
8.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A8A532 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A8A532 | 1.00 | 2.59 | 8.09 | 8.09 |
| #FFFFFF | 2.59 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.09 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.09 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B39E1F
Deuteranopia (green-blind)
#B5A33A
Tritanopia (blue-blind)
#B49A8E
Achromatopsia (no color)
#A1A1A1
Design tokens & code
CSS
--color: #a8a532; /* rgb */ color: rgb(168, 165, 50); /* oklch */ color: oklch(70.3% 0.133 107.9);
Tailwind
colors: {
custom: {
50: '#c5bf71',
500: '#a8a532',
950: '#000000',
},
}SCSS
$custom: #a8a532; $custom-light: #c5bf71; $custom-dark: #000000;
JSON
{
"hex": "#a8a532",
"rgb": {
"r": 168,
"g": 165,
"b": 50
},
"hsl": {
"h": 58.475,
"s": 54.128,
"l": 42.745
},
"oklch": {
"l": 0.70344,
"c": 0.133,
"h": 107.9
},
"luminance": 0.35465
}Semantic roles & 50–950 ramp
primary
#A8A532
secondary
#7577C1
accent
#4EDD4A
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#131208
muted
#82817B