#A4B415#A4B415
#A4B415 is a light, vivid yellow. Relative luminance 0.406; OKLCH L 73.3% C 0.163 H 116.1°. Best body text is #000000 at 9.12:1 contrast (WCAG AA passes).
Color values
| HEX | #A4B415 |
|---|---|
| RGB | rgb(164, 180, 21) |
| HSL | hsl(66, 79%, 39%) |
| HSV | hsv(66, 88%, 71%) |
| CMYK | cmyk(8.9%, 0%, 88.3%, 29.4%) |
| CIE-LAB | lab(69.89, -23.21, 68.46) |
| CIE-LCH | lch(69.89, 72.29, 108.73°) |
| OKLab | oklab(73.25% -0.0717 0.1465) |
| OKLCH | oklch(73.25% 0.163 116.1) |
| XYZ | xyz(31.7674, 40.5897, 6.8704) |
| Luminance | 0.4059 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 1.17
Puke Green
#9AAE07
ΔE00 2.12
Snot
#ACBB0D
ΔE00 2.17
Booger Green
#96B403
ΔE00 2.91
Bright Olive
#9CBB04
ΔE00 3.16
Barf Green
#94AC02
ΔE00 3.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A4B415 #2515B4
analogous
#B47515 #A4B415 #54B415
triadic
#A4B415 #15A4B4 #B415A4
tetradic
#A4B415 #15B475 #2515B4 #B41554
square
#A4B415 #15B475 #2515B4 #B41554
split-complementary
#A4B415 #1554B4 #7515B4
monochromatic
#404608 #727D0F #A4B415 #D1E521 #DDEC58
Accessibility & contrast
On white
2.30
#A4B415 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.12
#A4B415 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A4B415
9.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A4B415 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A4B415 | 1.00 | 2.30 | 9.12 | 9.12 |
| #FFFFFF | 2.30 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.12 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.12 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C1AA00
Deuteranopia (green-blind)
#C0AC29
Tritanopia (blue-blind)
#AFA999
Achromatopsia (no color)
#ABABAB
Design tokens & code
CSS
--color: #a4b415; /* rgb */ color: rgb(164, 180, 21); /* oklch */ color: oklch(73.3% 0.163 116.1);
Tailwind
colors: {
custom: {
50: '#c3ca67',
500: '#a4b415',
950: '#000000',
},
}SCSS
$custom: #a4b415; $custom-light: #c3ca67; $custom-dark: #000000;
JSON
{
"hex": "#a4b415",
"rgb": {
"r": 164,
"g": 180,
"b": 21
},
"hsl": {
"h": 66.038,
"s": 79.104,
"l": 39.412
},
"oklch": {
"l": 0.7325,
"c": 0.16312,
"h": 116.1
},
"luminance": 0.40589
}Semantic roles & 50–950 ramp
primary
#A4B415
secondary
#6256CF
accent
#32F646
background
#FCFCF6
surface
#F8F8EB
border
#D1D1C6
text
#131307
muted
#82827A