#A4B540#A4B540
#A4B540 is a light, vivid yellow. Relative luminance 0.413; OKLCH L 73.7% C 0.142 H 117.1°. Best body text is #000000 at 9.26:1 contrast (WCAG AA passes).
Color values
| HEX | #A4B540 |
|---|---|
| RGB | rgb(164, 181, 64) |
| HSL | hsl(69, 48%, 48%) |
| HSV | hsv(69, 65%, 71%) |
| CMYK | cmyk(9.4%, 0%, 64.6%, 29%) |
| CIE-LAB | lab(70.39, -21.82, 55.53) |
| CIE-LCH | lch(70.39, 59.66, 111.45°) |
| OKLab | oklab(73.73% -0.0644 0.1261) |
| OKLCH | oklch(73.73% 0.142 117.1) |
| XYZ | xyz(32.7598, 41.3108, 11.0975) |
| Luminance | 0.4131 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Booger
#9BB53C
ΔE00 1.98
Sick Green
#9DB92C
ΔE00 2.80
Sickly Green
#94B21C
ΔE00 3.68
Avocado (survey)
#90B134
ΔE00 3.86
Puke Green
#9AAE07
ΔE00 4.11
Icky Green
#8FAE22
ΔE00 4.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A4B540 #5140B5
analogous
#B58B40 #A4B540 #69B540
triadic
#A4B540 #40A4B5 #B540A4
tetradic
#A4B540 #40B58B #5140B5 #B54069
square
#A4B540 #40B58B #5140B5 #B54069
split-complementary
#A4B540 #4069B5 #8B40B5
monochromatic
#525B20 #7B8830 #A4B540 #BCCA68 #D0DA96
Accessibility & contrast
On white
2.27
#A4B540 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.26
#A4B540 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A4B540
9.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A4B540 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A4B540 | 1.00 | 2.27 | 9.26 | 9.26 |
| #FFFFFF | 2.27 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.26 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.26 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C1AC31
Deuteranopia (green-blind)
#BFAD48
Tritanopia (blue-blind)
#AEAB9D
Achromatopsia (no color)
#ACACAC
Design tokens & code
CSS
--color: #a4b540; /* rgb */ color: rgb(164, 181, 64); /* oklch */ color: oklch(73.7% 0.142 117.1);
Tailwind
colors: {
custom: {
50: '#c2cb7b',
500: '#a4b540',
950: '#000000',
},
}SCSS
$custom: #a4b540; $custom-light: #c2cb7b; $custom-dark: #000000;
JSON
{
"hex": "#a4b540",
"rgb": {
"r": 164,
"g": 181,
"b": 64
},
"hsl": {
"h": 68.718,
"s": 47.755,
"l": 48.039
},
"oklch": {
"l": 0.73726,
"c": 0.14162,
"h": 117.1
},
"luminance": 0.4131
}Semantic roles & 50–950 ramp
primary
#A4B540
secondary
#948BC5
accent
#50D764
background
#FCFCF7
surface
#F8F8EE
border
#D1D1C9
text
#13130A
muted
#82827C