#A4B728#A4B728
#A4B728 is a light, vivid yellow. Relative luminance 0.419; OKLCH L 74.0% C 0.159 H 117.3°. Best body text is #000000 at 9.38:1 contrast (WCAG AA passes).
Color values
| HEX | #A4B728 |
|---|---|
| RGB | rgb(164, 183, 40) |
| HSL | hsl(68, 64%, 44%) |
| HSV | hsv(68, 78%, 72%) |
| CMYK | cmyk(10.4%, 0%, 78.1%, 28.2%) |
| CIE-LAB | lab(70.81, -24.09, 64.61) |
| CIE-LCH | lch(70.81, 68.95, 110.45°) |
| OKLab | oklab(74.01% -0.0729 0.1413) |
| OKLCH | oklch(74.01% 0.159 117.3) |
| XYZ | xyz(32.6272, 41.9131, 8.3783) |
| Luminance | 0.4191 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sick Green
#9DB92C
ΔE00 2.01
Pea
#A4BF20
ΔE00 2.44
Mustard Green
#A8B504
ΔE00 2.46
Snot
#ACBB0D
ΔE00 2.57
Bright Olive
#9CBB04
ΔE00 2.59
Booger Green
#96B403
ΔE00 2.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A4B728 #3B28B7
analogous
#B78228 #A4B728 #5CB728
triadic
#A4B728 #28A4B7 #B728A4
tetradic
#A4B728 #28B782 #3B28B7 #B7285C
square
#A4B728 #28B782 #3B28B7 #B7285C
split-complementary
#A4B728 #285CB7 #8228B7
monochromatic
#4A5312 #77851D #A4B728 #C3D646 #D3E178
Accessibility & contrast
On white
2.24
#A4B728 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.38
#A4B728 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A4B728
9.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A4B728 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A4B728 | 1.00 | 2.24 | 9.38 | 9.38 |
| #FFFFFF | 2.24 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.38 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.38 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C4AD00
Deuteranopia (green-blind)
#C2AE36
Tritanopia (blue-blind)
#AEAC9D
Achromatopsia (no color)
#ADADAD
Design tokens & code
CSS
--color: #a4b728; /* rgb */ color: rgb(164, 183, 40); /* oklch */ color: oklch(74.0% 0.159 117.3);
Tailwind
colors: {
custom: {
50: '#c3cc6f',
500: '#a4b728',
950: '#000000',
},
}SCSS
$custom: #a4b728; $custom-light: #c3cc6f; $custom-dark: #000000;
JSON
{
"hex": "#a4b728",
"rgb": {
"r": 164,
"g": 183,
"b": 40
},
"hsl": {
"h": 67.972,
"s": 64.126,
"l": 43.725
},
"oklch": {
"l": 0.74014,
"c": 0.15902,
"h": 117.3
},
"luminance": 0.41913
}Semantic roles & 50–950 ramp
primary
#A4B728
secondary
#7D72C9
accent
#41E757
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B