#A7B021#A7B021
#A7B021 is a light, vivid yellow. Relative luminance 0.394; OKLCH L 72.6% C 0.154 H 113.5°. Best body text is #000000 at 8.88:1 contrast (WCAG AA passes).
Color values
| HEX | #A7B021 |
|---|---|
| RGB | rgb(167, 176, 33) |
| HSL | hsl(64, 68%, 41%) |
| HSV | hsv(64, 81%, 69%) |
| CMYK | cmyk(5.1%, 0%, 81.3%, 31%) |
| CIE-LAB | lab(69.02, -19.60, 65.09) |
| CIE-LCH | lch(69.02, 67.98, 106.76°) |
| OKLab | oklab(72.63% -0.0612 0.141) |
| OKLCH | oklch(72.63% 0.154 113.5) |
| XYZ | xyz(31.7372, 39.3767, 7.3672) |
| Luminance | 0.3938 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 1.98
Puke Green
#9AAE07
ΔE00 2.68
Snot
#ACBB0D
ΔE00 3.30
Vomit
#A2A415
ΔE00 3.59
Puke
#A5A502
ΔE00 3.72
Barf Green
#94AC02
ΔE00 3.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A7B021 #2A21B0
analogous
#B07121 #A7B021 #5FB021
triadic
#A7B021 #21A7B0 #B021A7
tetradic
#A7B021 #21B071 #2A21B0 #B0215F
square
#A7B021 #21B071 #2A21B0 #B0215F
split-complementary
#A7B021 #215FB0 #7121B0
monochromatic
#45490E #767C17 #A7B021 #CFD935 #DBE369
Accessibility & contrast
On white
2.37
#A7B021 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.88
#A7B021 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A7B021
8.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A7B021 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A7B021 | 1.00 | 2.37 | 8.88 | 8.88 |
| #FFFFFF | 2.37 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.88 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.88 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BEA700
Deuteranopia (green-blind)
#BEAA2F
Tritanopia (blue-blind)
#B3A596
Achromatopsia (no color)
#A8A8A8
Design tokens & code
CSS
--color: #a7b021; /* rgb */ color: rgb(167, 176, 33); /* oklch */ color: oklch(72.6% 0.154 113.5);
Tailwind
colors: {
custom: {
50: '#c5c76b',
500: '#a7b021',
950: '#000000',
},
}SCSS
$custom: #a7b021; $custom-light: #c5c76b; $custom-dark: #000000;
JSON
{
"hex": "#a7b021",
"rgb": {
"r": 167,
"g": 176,
"b": 33
},
"hsl": {
"h": 63.776,
"s": 68.421,
"l": 40.98
},
"oklch": {
"l": 0.72626,
"c": 0.15372,
"h": 113.5
},
"luminance": 0.39376
}Semantic roles & 50–950 ramp
primary
#A7B021
secondary
#6B64C8
accent
#3DEB48
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131307
muted
#82827A