#A9A42B#A9A42B
#A9A42B is a light, vivid yellow. Relative luminance 0.352; OKLCH L 70.2% C 0.136 H 107.0°. Best body text is #000000 at 8.03:1 contrast (WCAG AA passes).
Color values
| HEX | #A9A42B |
|---|---|
| RGB | rgb(169, 164, 43) |
| HSL | hsl(58, 59%, 42%) |
| HSV | hsv(58, 75%, 66%) |
| CMYK | cmyk(0%, 3%, 74.6%, 33.7%) |
| CIE-LAB | lab(65.87, -12.19, 59.22) |
| CIE-LCH | lch(65.87, 60.46, 101.63°) |
| OKLab | oklab(70.16% -0.0399 0.1303) |
| OKLCH | oklch(70.16% 0.136 107) |
| XYZ | xyz(30.0749, 35.1614, 7.4876) |
| Luminance | 0.3516 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 2.23
Puke
#A5A502
ΔE00 2.49
Pea Soup
#929901
ΔE00 5.27
Pea Soup Green
#94A617
ΔE00 5.66
Muddy Yellow
#BFAC05
ΔE00 5.76
Baby Poop Green
#8F9805
ΔE00 5.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A9A42B #2B30A9
analogous
#A9652B #A9A42B #6FA92B
triadic
#A9A42B #2BA9A4 #A42BA9
tetradic
#A9A42B #2BA965 #2B30A9 #A92B6F
square
#A9A42B #2BA965 #2B30A9 #A92B6F
split-complementary
#A9A42B #2B6FA9 #652BA9
monochromatic
#474512 #78751F #A9A42B #CFC942 #DBD773
Accessibility & contrast
On white
2.61
#A9A42B on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.03
#A9A42B on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A9A42B
8.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A9A42B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A9A42B | 1.00 | 2.61 | 8.03 | 8.03 |
| #FFFFFF | 2.61 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.03 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.03 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B29E12
Deuteranopia (green-blind)
#B5A234
Tritanopia (blue-blind)
#B6998D
Achromatopsia (no color)
#A0A0A0
Design tokens & code
CSS
--color: #a9a42b; /* rgb */ color: rgb(169, 164, 43); /* oklch */ color: oklch(70.2% 0.136 107.0);
Tailwind
colors: {
custom: {
50: '#c6be6e',
500: '#a9a42b',
950: '#000000',
},
}SCSS
$custom: #a9a42b; $custom-light: #c6be6e; $custom-dark: #000000;
JSON
{
"hex": "#a9a42b",
"rgb": {
"r": 169,
"g": 164,
"b": 43
},
"hsl": {
"h": 57.619,
"s": 59.434,
"l": 41.569
},
"oklch": {
"l": 0.70163,
"c": 0.13622,
"h": 107
},
"luminance": 0.3516
}Semantic roles & 50–950 ramp
primary
#A9A42B
secondary
#6D70C3
accent
#4BE345
background
#FCFBF6
surface
#F9F6EC
border
#D2D0C7
text
#131208
muted
#82817B