#A7B52E#A7B52E
#A7B52E is a light, vivid yellow. Relative luminance 0.415; OKLCH L 73.8% C 0.153 H 115.5°. Best body text is #000000 at 9.29:1 contrast (WCAG AA passes).
Color values
| HEX | #A7B52E |
|---|---|
| RGB | rgb(167, 181, 46) |
| HSL | hsl(66, 59%, 45%) |
| HSV | hsv(66, 75%, 71%) |
| CMYK | cmyk(7.7%, 0%, 74.6%, 29%) |
| CIE-LAB | lab(70.50, -21.58, 62.50) |
| CIE-LCH | lch(70.50, 66.12, 109.05°) |
| OKLab | oklab(73.83% -0.0656 0.1378) |
| OKLCH | oklch(73.83% 0.153 115.5) |
| XYZ | xyz(32.9543, 41.4610, 8.8510) |
| Luminance | 0.4146 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 2.35
Snot
#ACBB0D
ΔE00 2.81
Puke Green
#9AAE07
ΔE00 2.95
Sick Green
#9DB92C
ΔE00 2.97
Pea
#A4BF20
ΔE00 3.46
Booger
#9BB53C
ΔE00 3.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A7B52E #3C2EB5
analogous
#B57F2E #A7B52E #64B52E
triadic
#A7B52E #2EA7B5 #B52EA7
tetradic
#A7B52E #2EB57F #3C2EB5 #B52E64
square
#A7B52E #2EB57F #3C2EB5 #B52E64
split-complementary
#A7B52E #2E64B5 #7F2EB5
monochromatic
#4D5315 #7A8422 #A7B52E #C4D24E #D5DE7F
Accessibility & contrast
On white
2.26
#A7B52E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.29
#A7B52E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A7B52E
9.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A7B52E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A7B52E | 1.00 | 2.26 | 9.29 | 9.29 |
| #FFFFFF | 2.26 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.29 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.29 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C2AC10
Deuteranopia (green-blind)
#C1AD3A
Tritanopia (blue-blind)
#B2AA9B
Achromatopsia (no color)
#ACACAC
Design tokens & code
CSS
--color: #a7b52e; /* rgb */ color: rgb(167, 181, 46); /* oklch */ color: oklch(73.8% 0.153 115.5);
Tailwind
colors: {
custom: {
50: '#c5cb71',
500: '#a7b52e',
950: '#000000',
},
}SCSS
$custom: #a7b52e; $custom-light: #c5cb71; $custom-dark: #000000;
JSON
{
"hex": "#a7b52e",
"rgb": {
"r": 167,
"g": 181,
"b": 46
},
"hsl": {
"h": 66.222,
"s": 59.471,
"l": 44.51
},
"oklch": {
"l": 0.73828,
"c": 0.15262,
"h": 115.5
},
"luminance": 0.4146
}Semantic roles & 50–950 ramp
primary
#A7B52E
secondary
#8078C7
accent
#45E355
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B