#A5B728#A5B728
#A5B728 is a light, vivid yellow. Relative luminance 0.420; OKLCH L 74.1% C 0.159 H 116.9°. Best body text is #000000 at 9.40:1 contrast (WCAG AA passes).
Color values
| HEX | #A5B728 |
|---|---|
| RGB | rgb(165, 183, 40) |
| HSL | hsl(68, 64%, 44%) |
| HSV | hsv(68, 78%, 72%) |
| CMYK | cmyk(9.8%, 0%, 78.1%, 28.2%) |
| CIE-LAB | lab(70.88, -23.67, 64.70) |
| CIE-LCH | lch(70.88, 68.89, 110.09°) |
| OKLab | oklab(74.09% -0.0718 0.1415) |
| OKLCH | oklch(74.09% 0.159 116.9) |
| XYZ | xyz(32.8344, 42.0199, 8.3880) |
| Luminance | 0.4202 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sick Green
#9DB92C
ΔE00 2.24
Mustard Green
#A8B504
ΔE00 2.29
Snot
#ACBB0D
ΔE00 2.42
Pea
#A4BF20
ΔE00 2.52
Bright Olive
#9CBB04
ΔE00 2.74
Booger Green
#96B403
ΔE00 2.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A5B728 #3A28B7
analogous
#B78128 #A5B728 #5DB728
triadic
#A5B728 #28A5B7 #B728A5
tetradic
#A5B728 #28B781 #3A28B7 #B7285D
square
#A5B728 #28B781 #3A28B7 #B7285D
split-complementary
#A5B728 #285DB7 #8128B7
monochromatic
#4A5312 #78851D #A5B728 #C4D646 #D4E178
Accessibility & contrast
On white
2.23
#A5B728 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.40
#A5B728 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A5B728
9.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A5B728 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A5B728 | 1.00 | 2.23 | 9.40 | 9.40 |
| #FFFFFF | 2.23 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.40 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.40 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C4AD00
Deuteranopia (green-blind)
#C2AE36
Tritanopia (blue-blind)
#B0AC9D
Achromatopsia (no color)
#ADADAD
Design tokens & code
CSS
--color: #a5b728; /* rgb */ color: rgb(165, 183, 40); /* oklch */ color: oklch(74.1% 0.159 116.9);
Tailwind
colors: {
custom: {
50: '#c3cc6f',
500: '#a5b728',
950: '#000000',
},
}SCSS
$custom: #a5b728; $custom-light: #c3cc6f; $custom-dark: #000000;
JSON
{
"hex": "#a5b728",
"rgb": {
"r": 165,
"g": 183,
"b": 40
},
"hsl": {
"h": 67.552,
"s": 64.126,
"l": 43.725
},
"oklch": {
"l": 0.74092,
"c": 0.15867,
"h": 116.9
},
"luminance": 0.4202
}Semantic roles & 50–950 ramp
primary
#A5B728
secondary
#7D72C9
accent
#41E756
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B