#A5B428#A5B428
#A5B428 is a light, vivid yellow. Relative luminance 0.408; OKLCH L 73.4% C 0.155 H 115.8°. Best body text is #000000 at 9.16:1 contrast (WCAG AA passes).
Color values
| HEX | #A5B428 |
|---|---|
| RGB | rgb(165, 180, 40) |
| HSL | hsl(66, 64%, 43%) |
| HSV | hsv(66, 78%, 71%) |
| CMYK | cmyk(8.3%, 0%, 77.8%, 29.4%) |
| CIE-LAB | lab(70.03, -22.19, 63.93) |
| CIE-LCH | lch(70.03, 67.67, 109.14°) |
| OKLab | oklab(73.41% -0.0677 0.1398) |
| OKLCH | oklch(73.41% 0.155 115.8) |
| XYZ | xyz(32.2222, 40.7956, 8.1840) |
| Luminance | 0.4079 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 2.08
Puke Green
#9AAE07
ΔE00 2.44
Snot
#ACBB0D
ΔE00 2.75
Sick Green
#9DB92C
ΔE00 2.92
Booger Green
#96B403
ΔE00 3.17
Sickly Green
#94B21C
ΔE00 3.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A5B428 #3728B4
analogous
#B47D28 #A5B428 #5FB428
triadic
#A5B428 #28A5B4 #B428A5
tetradic
#A5B428 #28B47D #3728B4 #B4285F
square
#A5B428 #28B47D #3728B4 #B4285F
split-complementary
#A5B428 #285FB4 #7D28B4
monochromatic
#495012 #77821D #A5B428 #C6D544 #D5E176
Accessibility & contrast
On white
2.29
#A5B428 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.16
#A5B428 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A5B428
9.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A5B428 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A5B428 | 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)
#C0AC35
Tritanopia (blue-blind)
#B0A99A
Achromatopsia (no color)
#ABABAB
Design tokens & code
CSS
--color: #a5b428; /* rgb */ color: rgb(165, 180, 40); /* oklch */ color: oklch(73.4% 0.155 115.8);
Tailwind
colors: {
custom: {
50: '#c3ca6e',
500: '#a5b428',
950: '#000000',
},
}SCSS
$custom: #a5b428; $custom-light: #c3ca6e; $custom-dark: #000000;
JSON
{
"hex": "#a5b428",
"rgb": {
"r": 165,
"g": 180,
"b": 40
},
"hsl": {
"h": 66.429,
"s": 63.636,
"l": 43.137
},
"oklch": {
"l": 0.73407,
"c": 0.15537,
"h": 115.8
},
"luminance": 0.40795
}Semantic roles & 50–950 ramp
primary
#A5B428
secondary
#7970C8
accent
#41E753
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B