#A5B328#A5B328
#A5B328 is a light, vivid yellow. Relative luminance 0.404; OKLCH L 73.2% C 0.154 H 115.5°. Best body text is #000000 at 9.08:1 contrast (WCAG AA passes).
Color values
| HEX | #A5B328 |
|---|---|
| RGB | rgb(165, 179, 40) |
| HSL | hsl(66, 63%, 43%) |
| HSV | hsv(66, 78%, 70%) |
| CMYK | cmyk(7.8%, 0%, 77.7%, 29.8%) |
| CIE-LAB | lab(69.75, -21.69, 63.67) |
| CIE-LCH | lch(69.75, 67.26, 108.82°) |
| OKLab | oklab(73.18% -0.0664 0.1393) |
| OKLCH | oklch(73.18% 0.154 115.5) |
| XYZ | xyz(32.0211, 40.3933, 8.1169) |
| Luminance | 0.4039 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 2.10
Puke Green
#9AAE07
ΔE00 2.37
Snot
#ACBB0D
ΔE00 2.93
Sick Green
#9DB92C
ΔE00 3.18
Booger Green
#96B403
ΔE00 3.34
Barf Green
#94AC02
ΔE00 3.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A5B328 #3628B3
analogous
#B37B28 #A5B328 #60B328
triadic
#A5B328 #28A5B3 #B328A5
tetradic
#A5B328 #28B37B #3628B3 #B32860
square
#A5B328 #28B37B #3628B3 #B32860
split-complementary
#A5B328 #2860B3 #7B28B3
monochromatic
#494F12 #77811D #A5B328 #C6D543 #D5E075
Accessibility & contrast
On white
2.31
#A5B328 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.08
#A5B328 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A5B328
9.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A5B328 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A5B328 | 1.00 | 2.31 | 9.08 | 9.08 |
| #FFFFFF | 2.31 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.08 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.08 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C0AA00
Deuteranopia (green-blind)
#BFAB35
Tritanopia (blue-blind)
#B0A899
Achromatopsia (no color)
#AAAAAA
Design tokens & code
CSS
--color: #a5b328; /* rgb */ color: rgb(165, 179, 40); /* oklch */ color: oklch(73.2% 0.154 115.5);
Tailwind
colors: {
custom: {
50: '#c3c96e',
500: '#a5b328',
950: '#000000',
},
}SCSS
$custom: #a5b328; $custom-light: #c3c96e; $custom-dark: #000000;
JSON
{
"hex": "#a5b328",
"rgb": {
"r": 165,
"g": 179,
"b": 40
},
"hsl": {
"h": 66.043,
"s": 63.47,
"l": 42.941
},
"oklch": {
"l": 0.73179,
"c": 0.15429,
"h": 115.5
},
"luminance": 0.40393
}Semantic roles & 50–950 ramp
primary
#A5B328
secondary
#786FC8
accent
#41E652
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B