#A7B72E#A7B72E
#A7B72E is a light, vivid yellow. Relative luminance 0.423; OKLCH L 74.3% C 0.155 H 116.2°. Best body text is #000000 at 9.46:1 contrast (WCAG AA passes).
Color values
| HEX | #A7B72E |
|---|---|
| RGB | rgb(167, 183, 46) |
| HSL | hsl(67, 60%, 45%) |
| HSV | hsv(67, 75%, 72%) |
| CMYK | cmyk(8.7%, 0%, 74.9%, 28.2%) |
| CIE-LAB | lab(71.06, -22.57, 63.03) |
| CIE-LCH | lch(71.06, 66.95, 109.70°) |
| OKLab | oklab(74.28% -0.0684 0.1389) |
| OKLCH | oklch(74.28% 0.155 116.2) |
| XYZ | xyz(33.3639, 42.2802, 8.9876) |
| Luminance | 0.4228 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 2.46
Sick Green
#9DB92C
ΔE00 2.52
Snot
#ACBB0D
ΔE00 2.58
Pea
#A4BF20
ΔE00 2.85
Puke Green
#9AAE07
ΔE00 3.18
Bright Olive
#9CBB04
ΔE00 3.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A7B72E #3E2EB7
analogous
#B7822E #A7B72E #63B72E
triadic
#A7B72E #2EA7B7 #B72EA7
tetradic
#A7B72E #2EB782 #3E2EB7 #B72E63
square
#A7B72E #2EB782 #3E2EB7 #B72E63
split-complementary
#A7B72E #2E63B7 #822EB7
monochromatic
#4E5515 #7A8622 #A7B72E #C3D34F #D4DF80
Accessibility & contrast
On white
2.22
#A7B72E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.46
#A7B72E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A7B72E
9.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A7B72E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A7B72E | 1.00 | 2.22 | 9.46 | 9.46 |
| #FFFFFF | 2.22 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.46 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.46 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C4AD0E
Deuteranopia (green-blind)
#C3AF3A
Tritanopia (blue-blind)
#B2AC9D
Achromatopsia (no color)
#AEAEAE
Design tokens & code
CSS
--color: #a7b72e; /* rgb */ color: rgb(167, 183, 46); /* oklch */ color: oklch(74.3% 0.155 116.2);
Tailwind
colors: {
custom: {
50: '#c5cc71',
500: '#a7b72e',
950: '#000000',
},
}SCSS
$custom: #a7b72e; $custom-light: #c5cc71; $custom-dark: #000000;
JSON
{
"hex": "#a7b72e",
"rgb": {
"r": 167,
"g": 183,
"b": 46
},
"hsl": {
"h": 67.007,
"s": 59.825,
"l": 44.902
},
"oklch": {
"l": 0.74283,
"c": 0.15483,
"h": 116.2
},
"luminance": 0.4228
}Semantic roles & 50–950 ramp
primary
#A7B72E
secondary
#8279C8
accent
#45E357
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B