#A5B321#A5B321
#A5B321 is a light, vivid yellow. Relative luminance 0.403; OKLCH L 73.1% C 0.158 H 115.4°. Best body text is #000000 at 9.07:1 contrast (WCAG AA passes).
Color values
| HEX | #A5B321 |
|---|---|
| RGB | rgb(165, 179, 33) |
| HSL | hsl(66, 69%, 42%) |
| HSV | hsv(66, 82%, 70%) |
| CMYK | cmyk(7.8%, 0%, 81.6%, 29.8%) |
| CIE-LAB | lab(69.72, -21.96, 65.64) |
| CIE-LCH | lch(69.72, 69.21, 108.49°) |
| OKLab | oklab(73.15% -0.0676 0.1423) |
| OKLCH | oklch(73.15% 0.158 115.4) |
| XYZ | xyz(31.9126, 40.3499, 7.5457) |
| Luminance | 0.4035 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 1.61
Puke Green
#9AAE07
ΔE00 2.21
Snot
#ACBB0D
ΔE00 2.61
Booger Green
#96B403
ΔE00 3.26
Barf Green
#94AC02
ΔE00 3.31
Sick Green
#9DB92C
ΔE00 3.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A5B321 #2F21B3
analogous
#B37821 #A5B321 #5CB321
triadic
#A5B321 #21A5B3 #B321A5
tetradic
#A5B321 #21B378 #2F21B3 #B3215C
square
#A5B321 #21B378 #2F21B3 #B3215C
split-complementary
#A5B321 #215CB3 #7821B3
monochromatic
#464C0E #757F17 #A5B321 #CBDA37 #D8E46B
Accessibility & contrast
On white
2.32
#A5B321 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.07
#A5B321 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A5B321
9.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A5B321 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A5B321 | 1.00 | 2.32 | 9.07 | 9.07 |
| #FFFFFF | 2.32 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.07 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.07 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C0A900
Deuteranopia (green-blind)
#BFAB30
Tritanopia (blue-blind)
#B0A899
Achromatopsia (no color)
#AAAAAA
Design tokens & code
CSS
--color: #a5b321; /* rgb */ color: rgb(165, 179, 33); /* oklch */ color: oklch(73.1% 0.158 115.4);
Tailwind
colors: {
custom: {
50: '#c4c96b',
500: '#a5b321',
950: '#000000',
},
}SCSS
$custom: #a5b321; $custom-light: #c4c96b; $custom-dark: #000000;
JSON
{
"hex": "#a5b321",
"rgb": {
"r": 165,
"g": 179,
"b": 33
},
"hsl": {
"h": 65.753,
"s": 68.868,
"l": 41.569
},
"oklch": {
"l": 0.73145,
"c": 0.15752,
"h": 115.4
},
"luminance": 0.40349
}Semantic roles & 50–950 ramp
primary
#A5B321
secondary
#7066CA
accent
#3CEC4D
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131307
muted
#82827A