#A8A02B#A8A02B
#A8A02B is a light, vivid yellow. Relative luminance 0.336; OKLCH L 69.2% C 0.133 H 105.4°. Best body text is #000000 at 7.73:1 contrast (WCAG AA passes).
Color values
| HEX | #A8A02B |
|---|---|
| RGB | rgb(168, 160, 43) |
| HSL | hsl(56, 59%, 41%) |
| HSV | hsv(56, 74%, 66%) |
| CMYK | cmyk(0%, 4.8%, 74.4%, 34.1%) |
| CIE-LAB | lab(64.68, -10.54, 58.06) |
| CIE-LCH | lch(64.68, 59.01, 100.28°) |
| OKLab | oklab(69.19% -0.0352 0.1278) |
| OKLCH | oklch(69.19% 0.133 105.4) |
| XYZ | xyz(29.1565, 33.6420, 7.2428) |
| Luminance | 0.3364 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 3.09
Puke
#A5A502
ΔE00 3.33
Pea Soup
#929901
ΔE00 5.15
Baby Poop Green
#8F9805
ΔE00 5.75
Brown Yellow
#B29705
ΔE00 6.04
Muddy Yellow
#BFAC05
ΔE00 6.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A8A02B #2B33A8
analogous
#A8622B #A8A02B #72A82B
triadic
#A8A02B #2BA8A0 #A02BA8
tetradic
#A8A02B #2BA862 #2B33A8 #A82B72
square
#A8A02B #2BA862 #2B33A8 #A82B72
split-complementary
#A8A02B #2B72A8 #622BA8
monochromatic
#474312 #77721F #A8A02B #CFC642 #DBD472
Accessibility & contrast
On white
2.72
#A8A02B on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.73
#A8A02B on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A8A02B
7.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A8A02B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A8A02B | 1.00 | 2.72 | 7.73 | 7.73 |
| #FFFFFF | 2.72 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.73 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.73 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AE9A14
Deuteranopia (green-blind)
#B19F34
Tritanopia (blue-blind)
#B5958A
Achromatopsia (no color)
#9D9D9D
Design tokens & code
CSS
--color: #a8a02b; /* rgb */ color: rgb(168, 160, 43); /* oklch */ color: oklch(69.2% 0.133 105.4);
Tailwind
colors: {
custom: {
50: '#c5bb6d',
500: '#a8a02b',
950: '#000000',
},
}SCSS
$custom: #a8a02b; $custom-light: #c5bb6d; $custom-dark: #000000;
JSON
{
"hex": "#a8a02b",
"rgb": {
"r": 168,
"g": 160,
"b": 43
},
"hsl": {
"h": 56.16,
"s": 59.242,
"l": 41.373
},
"oklch": {
"l": 0.69188,
"c": 0.13258,
"h": 105.4
},
"luminance": 0.33641
}Semantic roles & 50–950 ramp
primary
#A8A02B
secondary
#6C72C2
accent
#4FE245
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131108
muted
#82807B