#A8A533#A8A533
#A8A533 is a light, vivid yellow. Relative luminance 0.355; OKLCH L 70.4% C 0.132 H 107.9°. Best body text is #000000 at 8.09:1 contrast (WCAG AA passes).
Color values
| HEX | #A8A533 |
|---|---|
| RGB | rgb(168, 165, 51) |
| HSL | hsl(58, 53%, 43%) |
| HSV | hsv(58, 70%, 66%) |
| CMYK | cmyk(0%, 1.8%, 69.6%, 34.1%) |
| CIE-LAB | lab(66.12, -12.76, 56.48) |
| CIE-LCH | lch(66.12, 57.90, 102.73°) |
| OKLab | oklab(70.35% -0.0406 0.1259) |
| OKLCH | oklch(70.35% 0.132 107.9) |
| XYZ | xyz(30.2022, 35.4751, 8.3878) |
| Luminance | 0.3547 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 2.51
Puke
#A5A502
ΔE00 3.07
Pea Soup Green
#94A617
ΔE00 5.29
Pea Soup
#929901
ΔE00 5.37
Baby Poop Green
#8F9805
ΔE00 5.89
Puke Green
#9AAE07
ΔE00 5.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A8A533 #3336A8
analogous
#A86B33 #A8A533 #70A833
triadic
#A8A533 #33A8A5 #A533A8
tetradic
#A8A533 #33A86B #3336A8 #A83370
square
#A8A533 #33A86B #3336A8 #A83370
split-complementary
#A8A533 #3370A8 #6B33A8
monochromatic
#4A4916 #797725 #A8A533 #C9C64F #D8D57E
Accessibility & contrast
On white
2.59
#A8A533 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.09
#A8A533 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A8A533
8.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A8A533 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A8A533 | 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)
#B39E21
Deuteranopia (green-blind)
#B5A33B
Tritanopia (blue-blind)
#B49A8E
Achromatopsia (no color)
#A1A1A1
Design tokens & code
CSS
--color: #a8a533; /* rgb */ color: rgb(168, 165, 51); /* oklch */ color: oklch(70.4% 0.132 107.9);
Tailwind
colors: {
custom: {
50: '#c5bf72',
500: '#a8a533',
950: '#000000',
},
}SCSS
$custom: #a8a533; $custom-light: #c5bf72; $custom-dark: #000000;
JSON
{
"hex": "#a8a533",
"rgb": {
"r": 168,
"g": 165,
"b": 51
},
"hsl": {
"h": 58.462,
"s": 53.425,
"l": 42.941
},
"oklch": {
"l": 0.70352,
"c": 0.13233,
"h": 107.9
},
"luminance": 0.35474
}Semantic roles & 50–950 ramp
primary
#A8A533
secondary
#7678C1
accent
#4FDD4B
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#131208
muted
#82817B