#A7B22A#A7B22A
#A7B22A is a light, vivid yellow. Relative luminance 0.402; OKLCH L 73.1% C 0.152 H 114.3°. Best body text is #000000 at 9.04:1 contrast (WCAG AA passes).
Color values
| HEX | #A7B22A |
|---|---|
| RGB | rgb(167, 178, 42) |
| HSL | hsl(65, 62%, 43%) |
| HSV | hsv(65, 76%, 70%) |
| CMYK | cmyk(6.2%, 0%, 76.4%, 30.2%) |
| CIE-LAB | lab(69.63, -20.26, 62.99) |
| CIE-LCH | lch(69.63, 66.17, 107.83°) |
| OKLab | oklab(73.12% -0.0623 0.1381) |
| OKLCH | oklch(73.12% 0.152 114.3) |
| XYZ | xyz(32.2756, 40.2241, 8.2538) |
| Luminance | 0.4022 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 2.18
Puke Green
#9AAE07
ΔE00 2.72
Snot
#ACBB0D
ΔE00 3.14
Barf Green
#94AC02
ΔE00 3.75
Sick Green
#9DB92C
ΔE00 3.83
Booger Green
#96B403
ΔE00 3.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A7B22A #352AB2
analogous
#B2792A #A7B22A #63B22A
triadic
#A7B22A #2AA7B2 #B22AA7
tetradic
#A7B22A #2AB279 #352AB2 #B22A63
square
#A7B22A #2AB279 #352AB2 #B22A63
split-complementary
#A7B22A #2A63B2 #792AB2
monochromatic
#4A4F13 #79801E #A7B22A #C8D346 #D7DF77
Accessibility & contrast
On white
2.32
#A7B22A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.04
#A7B22A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A7B22A
9.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A7B22A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A7B22A | 1.00 | 2.32 | 9.04 | 9.04 |
| #FFFFFF | 2.32 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.04 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.04 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BFA905
Deuteranopia (green-blind)
#BFAB36
Tritanopia (blue-blind)
#B2A799
Achromatopsia (no color)
#AAAAAA
Design tokens & code
CSS
--color: #a7b22a; /* rgb */ color: rgb(167, 178, 42); /* oklch */ color: oklch(73.1% 0.152 114.3);
Tailwind
colors: {
custom: {
50: '#c5c86f',
500: '#a7b22a',
950: '#000000',
},
}SCSS
$custom: #a7b22a; $custom-light: #c5c86f; $custom-dark: #000000;
JSON
{
"hex": "#a7b22a",
"rgb": {
"r": 167,
"g": 178,
"b": 42
},
"hsl": {
"h": 64.853,
"s": 61.818,
"l": 43.137
},
"oklch": {
"l": 0.73124,
"c": 0.15155,
"h": 114.3
},
"luminance": 0.40223
}Semantic roles & 50–950 ramp
primary
#A7B22A
secondary
#7871C7
accent
#43E550
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B