#A7B22E#A7B22E
#A7B22E is a light, vivid yellow. Relative luminance 0.403; OKLCH L 73.1% C 0.149 H 114.3°. Best body text is #000000 at 9.05:1 contrast (WCAG AA passes).
Color values
| HEX | #A7B22E |
|---|---|
| RGB | rgb(167, 178, 46) |
| HSL | hsl(65, 59%, 44%) |
| HSV | hsv(65, 74%, 70%) |
| CMYK | cmyk(6.2%, 0%, 74.2%, 30.2%) |
| CIE-LAB | lab(69.65, -20.08, 61.70) |
| CIE-LCH | lch(69.65, 64.88, 108.03°) |
| OKLab | oklab(73.15% -0.0615 0.1361) |
| OKLCH | oklch(73.15% 0.149 114.3) |
| XYZ | xyz(32.3508, 40.2542, 8.6499) |
| Luminance | 0.4025 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 2.50
Puke Green
#9AAE07
ΔE00 2.87
Snot
#ACBB0D
ΔE00 3.37
Sick Green
#9DB92C
ΔE00 3.77
Barf Green
#94AC02
ΔE00 3.84
Booger
#9BB53C
ΔE00 3.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A7B22E #392EB2
analogous
#B27B2E #A7B22E #65B22E
triadic
#A7B22E #2EA7B2 #B22EA7
tetradic
#A7B22E #2EB27B #392EB2 #B22E65
square
#A7B22E #2EB27B #392EB2 #B22E65
split-complementary
#A7B22E #2E65B2 #7B2EB2
monochromatic
#4C5115 #798121 #A7B22E #C6D14C #D5DD7D
Accessibility & contrast
On white
2.32
#A7B22E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.05
#A7B22E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A7B22E
9.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A7B22E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A7B22E | 1.00 | 2.32 | 9.05 | 9.05 |
| #FFFFFF | 2.32 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.05 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.05 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BFA911
Deuteranopia (green-blind)
#BFAB39
Tritanopia (blue-blind)
#B2A799
Achromatopsia (no color)
#AAAAAA
Design tokens & code
CSS
--color: #a7b22e; /* rgb */ color: rgb(167, 178, 46); /* oklch */ color: oklch(73.1% 0.149 114.3);
Tailwind
colors: {
custom: {
50: '#c5c871',
500: '#a7b22e',
950: '#000000',
},
}SCSS
$custom: #a7b22e; $custom-light: #c5c871; $custom-dark: #000000;
JSON
{
"hex": "#a7b22e",
"rgb": {
"r": 167,
"g": 178,
"b": 46
},
"hsl": {
"h": 65,
"s": 58.929,
"l": 43.922
},
"oklch": {
"l": 0.73148,
"c": 0.14934,
"h": 114.3
},
"luminance": 0.40254
}Semantic roles & 50–950 ramp
primary
#A7B22E
secondary
#7D76C6
accent
#46E253
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B