#A5B529#A5B529
#A5B529 is a light, vivid yellow. Relative luminance 0.412; OKLCH L 73.6% C 0.156 H 116.2°. Best body text is #000000 at 9.24:1 contrast (WCAG AA passes).
Color values
| HEX | #A5B529 |
|---|---|
| RGB | rgb(165, 181, 41) |
| HSL | hsl(67, 63%, 44%) |
| HSV | hsv(67, 77%, 71%) |
| CMYK | cmyk(8.8%, 0%, 77.3%, 29%) |
| CIE-LAB | lab(70.32, -22.64, 63.88) |
| CIE-LCH | lch(70.32, 67.78, 109.52°) |
| OKLab | oklab(73.64% -0.0689 0.1399) |
| OKLCH | oklch(73.64% 0.156 116.2) |
| XYZ | xyz(32.4420, 41.2077, 8.3422) |
| Luminance | 0.4121 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 2.18
Puke Green
#9AAE07
ΔE00 2.59
Sick Green
#9DB92C
ΔE00 2.65
Snot
#ACBB0D
ΔE00 2.67
Booger Green
#96B403
ΔE00 3.06
Pea
#A4BF20
ΔE00 3.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A5B529 #3929B5
analogous
#B57F29 #A5B529 #5FB529
triadic
#A5B529 #29A5B5 #B529A5
tetradic
#A5B529 #29B57F #3929B5 #B5295F
square
#A5B529 #29B57F #3929B5 #B5295F
split-complementary
#A5B529 #295FB5 #7F29B5
monochromatic
#4A5112 #78831E #A5B529 #C5D546 #D4E078
Accessibility & contrast
On white
2.27
#A5B529 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.24
#A5B529 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A5B529
9.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A5B529 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A5B529 | 1.00 | 2.27 | 9.24 | 9.24 |
| #FFFFFF | 2.27 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.24 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.24 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C2AB00
Deuteranopia (green-blind)
#C1AD36
Tritanopia (blue-blind)
#B0AA9B
Achromatopsia (no color)
#ACACAC
Design tokens & code
CSS
--color: #a5b529; /* rgb */ color: rgb(165, 181, 41); /* oklch */ color: oklch(73.6% 0.156 116.2);
Tailwind
colors: {
custom: {
50: '#c3cb6f',
500: '#a5b529',
950: '#000000',
},
}SCSS
$custom: #a5b529; $custom-light: #c3cb6f; $custom-dark: #000000;
JSON
{
"hex": "#a5b529",
"rgb": {
"r": 165,
"g": 181,
"b": 41
},
"hsl": {
"h": 66.857,
"s": 63.063,
"l": 43.529
},
"oklch": {
"l": 0.73641,
"c": 0.15597,
"h": 116.2
},
"luminance": 0.41207
}Semantic roles & 50–950 ramp
primary
#A5B529
secondary
#7B72C8
accent
#42E654
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B