#A4B538#A4B538
#A4B538 is a light, vivid yellow. Relative luminance 0.412; OKLCH L 73.7% C 0.147 H 116.9°. Best body text is #000000 at 9.25:1 contrast (WCAG AA passes).
Color values
| HEX | #A4B538 |
|---|---|
| RGB | rgb(164, 181, 56) |
| HSL | hsl(68, 53%, 46%) |
| HSV | hsv(68, 69%, 71%) |
| CMYK | cmyk(9.4%, 0%, 69.1%, 29%) |
| CIE-LAB | lab(70.33, -22.32, 58.67) |
| CIE-LCH | lch(70.33, 62.77, 110.83°) |
| OKLab | oklab(73.66% -0.0666 0.1315) |
| OKLCH | oklch(73.66% 0.147 116.9) |
| XYZ | xyz(32.5483, 41.2262, 9.9834) |
| Luminance | 0.4123 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Booger
#9BB53C
ΔE00 2.27
Sick Green
#9DB92C
ΔE00 2.40
Sickly Green
#94B21C
ΔE00 3.25
Puke Green
#9AAE07
ΔE00 3.39
Booger Green
#96B403
ΔE00 3.57
Pea
#A4BF20
ΔE00 3.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A4B538 #4938B5
analogous
#B58838 #A4B538 #66B538
triadic
#A4B538 #38A4B5 #B538A4
tetradic
#A4B538 #38B588 #4938B5 #B53866
square
#A4B538 #38B588 #4938B5 #B53866
split-complementary
#A4B538 #3866B5 #8838B5
monochromatic
#4F581B #7A862A #A4B538 #BECD5D #D1DB8C
Accessibility & contrast
On white
2.27
#A4B538 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.25
#A4B538 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A4B538
9.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A4B538 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A4B538 | 1.00 | 2.27 | 9.25 | 9.25 |
| #FFFFFF | 2.27 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.25 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.25 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C1AB24
Deuteranopia (green-blind)
#C0AD42
Tritanopia (blue-blind)
#AEAB9C
Achromatopsia (no color)
#ACACAC
Design tokens & code
CSS
--color: #a4b538; /* rgb */ color: rgb(164, 181, 56); /* oklch */ color: oklch(73.7% 0.147 116.9);
Tailwind
colors: {
custom: {
50: '#c2cb76',
500: '#a4b538',
950: '#000000',
},
}SCSS
$custom: #a4b538; $custom-light: #c2cb76; $custom-dark: #000000;
JSON
{
"hex": "#a4b538",
"rgb": {
"r": 164,
"g": 181,
"b": 56
},
"hsl": {
"h": 68.16,
"s": 52.743,
"l": 46.471
},
"oklch": {
"l": 0.7366,
"c": 0.14741,
"h": 116.9
},
"luminance": 0.41226
}Semantic roles & 50–950 ramp
primary
#A4B538
secondary
#8C83C6
accent
#4CDC5F
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131309
muted
#82827B