#A9B321#A9B321
#A9B321 is a light, vivid yellow. Relative luminance 0.408; OKLCH L 73.5% C 0.156 H 113.8°. Best body text is #000000 at 9.16:1 contrast (WCAG AA passes).
Color values
| HEX | #A9B321 |
|---|---|
| RGB | rgb(169, 179, 33) |
| HSL | hsl(64, 69%, 42%) |
| HSV | hsv(64, 82%, 70%) |
| CMYK | cmyk(5.6%, 0%, 81.6%, 29.8%) |
| CIE-LAB | lab(70.03, -20.24, 66.03) |
| CIE-LCH | lch(70.03, 69.06, 107.04°) |
| OKLab | oklab(73.47% -0.0631 0.143) |
| OKLCH | oklch(73.47% 0.156 113.8) |
| XYZ | xyz(32.7579, 40.7857, 7.5854) |
| Luminance | 0.4078 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 1.39
Snot
#ACBB0D
ΔE00 2.50
Puke Green
#9AAE07
ΔE00 2.93
Barf Green
#94AC02
ΔE00 4.08
Booger Green
#96B403
ΔE00 4.17
Sick Green
#9DB92C
ΔE00 4.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A9B321 #2B21B3
analogous
#B37421 #A9B321 #60B321
triadic
#A9B321 #21A9B3 #B321A9
tetradic
#A9B321 #21B374 #2B21B3 #B32160
square
#A9B321 #21B374 #2B21B3 #B32160
split-complementary
#A9B321 #2160B3 #7421B3
monochromatic
#474C0E #787F17 #A9B321 #CFDA37 #DBE46B
Accessibility & contrast
On white
2.29
#A9B321 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.16
#A9B321 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A9B321
9.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A9B321 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A9B321 | 1.00 | 2.29 | 9.16 | 9.16 |
| #FFFFFF | 2.29 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.16 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.16 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C1AA00
Deuteranopia (green-blind)
#C1AC30
Tritanopia (blue-blind)
#B5A899
Achromatopsia (no color)
#ABABAB
Design tokens & code
CSS
--color: #a9b321; /* rgb */ color: rgb(169, 179, 33); /* oklch */ color: oklch(73.5% 0.156 113.8);
Tailwind
colors: {
custom: {
50: '#c6c96b',
500: '#a9b321',
950: '#000000',
},
}SCSS
$custom: #a9b321; $custom-light: #c6c96b; $custom-dark: #000000;
JSON
{
"hex": "#a9b321",
"rgb": {
"r": 169,
"g": 179,
"b": 33
},
"hsl": {
"h": 64.11,
"s": 68.868,
"l": 41.569
},
"oklch": {
"l": 0.73468,
"c": 0.15624,
"h": 113.8
},
"luminance": 0.40785
}Semantic roles & 50–950 ramp
primary
#A9B321
secondary
#6D66CA
accent
#3CEC48
background
#FCFCF6
surface
#F9F8EC
border
#D2D1C7
text
#141307
muted
#82827A