#A7B41A#A7B41A
#A7B41A is a light, vivid yellow. Relative luminance 0.409; OKLCH L 73.5% C 0.161 H 114.9°. Best body text is #000000 at 9.19:1 contrast (WCAG AA passes).
Color values
| HEX | #A7B41A |
|---|---|
| RGB | rgb(167, 180, 26) |
| HSL | hsl(65, 75%, 40%) |
| HSV | hsv(65, 86%, 71%) |
| CMYK | cmyk(7.2%, 0%, 85.6%, 29.4%) |
| CIE-LAB | lab(70.13, -21.81, 67.74) |
| CIE-LCH | lch(70.13, 71.16, 107.84°) |
| OKLab | oklab(73.51% -0.0677 0.1456) |
| OKLCH | oklch(73.51% 0.161 114.9) |
| XYZ | xyz(32.4451, 40.9332, 7.1688) |
| Luminance | 0.4093 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 0.94
Snot
#ACBB0D
ΔE00 2.06
Puke Green
#9AAE07
ΔE00 2.57
Booger Green
#96B403
ΔE00 3.57
Bright Olive
#9CBB04
ΔE00 3.72
Pea
#A4BF20
ΔE00 3.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A7B41A #271AB4
analogous
#B4741A #A7B41A #5AB41A
triadic
#A7B41A #1AA7B4 #B41AA7
tetradic
#A7B41A #1AB474 #271AB4 #B41A5A
square
#A7B41A #1AB474 #271AB4 #B41A5A
split-complementary
#A7B41A #1A5AB4 #741AB4
monochromatic
#44490B #757F12 #A7B41A #D1E02B #DDE860
Accessibility & contrast
On white
2.29
#A7B41A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.19
#A7B41A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A7B41A
9.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A7B41A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A7B41A | 1.00 | 2.29 | 9.19 | 9.19 |
| #FFFFFF | 2.29 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.19 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.19 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C2AA00
Deuteranopia (green-blind)
#C1AD2C
Tritanopia (blue-blind)
#B3A999
Achromatopsia (no color)
#ABABAB
Design tokens & code
CSS
--color: #a7b41a; /* rgb */ color: rgb(167, 180, 26); /* oklch */ color: oklch(73.5% 0.161 114.9);
Tailwind
colors: {
custom: {
50: '#c5ca69',
500: '#a7b41a',
950: '#000000',
},
}SCSS
$custom: #a7b41a; $custom-light: #c5ca69; $custom-dark: #000000;
JSON
{
"hex": "#a7b41a",
"rgb": {
"r": 167,
"g": 180,
"b": 26
},
"hsl": {
"h": 65.065,
"s": 74.757,
"l": 40.392
},
"oklch": {
"l": 0.73505,
"c": 0.16055,
"h": 114.9
},
"luminance": 0.40933
}Semantic roles & 50–950 ramp
primary
#A7B41A
secondary
#675DCC
accent
#36F146
background
#FCFCF6
surface
#F9F8EC
border
#D2D1C7
text
#131307
muted
#82827A