#A7B52C#A7B52C
#A7B52C is a light, vivid yellow. Relative luminance 0.414; OKLCH L 73.8% C 0.154 H 115.4°. Best body text is #000000 at 9.29:1 contrast (WCAG AA passes).
Color values
| HEX | #A7B52C |
|---|---|
| RGB | rgb(167, 181, 44) |
| HSL | hsl(66, 61%, 44%) |
| HSV | hsv(66, 76%, 71%) |
| CMYK | cmyk(7.7%, 0%, 75.7%, 29%) |
| CIE-LAB | lab(70.49, -21.67, 63.14) |
| CIE-LCH | lch(70.49, 66.76, 108.94°) |
| OKLab | oklab(73.82% -0.066 0.1388) |
| OKLCH | oklch(73.82% 0.154 115.4) |
| XYZ | xyz(32.9158, 41.4456, 8.6482) |
| Luminance | 0.4144 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 2.18
Snot
#ACBB0D
ΔE00 2.67
Puke Green
#9AAE07
ΔE00 2.88
Sick Green
#9DB92C
ΔE00 3.01
Pea
#A4BF20
ΔE00 3.42
Booger Green
#96B403
ΔE00 3.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A7B52C #3A2CB5
analogous
#B57F2C #A7B52C #63B52C
triadic
#A7B52C #2CA7B5 #B52CA7
tetradic
#A7B52C #2CB57F #3A2CB5 #B52C63
square
#A7B52C #2CB57F #3A2CB5 #B52C63
split-complementary
#A7B52C #2C63B5 #7F2CB5
monochromatic
#4C5314 #7A8420 #A7B52C #C5D34B #D5DF7C
Accessibility & contrast
On white
2.26
#A7B52C on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.29
#A7B52C on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A7B52C
9.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A7B52C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A7B52C | 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)
#C2AC09
Deuteranopia (green-blind)
#C1AD38
Tritanopia (blue-blind)
#B2AA9B
Achromatopsia (no color)
#ACACAC
Design tokens & code
CSS
--color: #a7b52c; /* rgb */ color: rgb(167, 181, 44); /* oklch */ color: oklch(73.8% 0.154 115.4);
Tailwind
colors: {
custom: {
50: '#c5cb70',
500: '#a7b52c',
950: '#000000',
},
}SCSS
$custom: #a7b52c; $custom-light: #c5cb70; $custom-dark: #000000;
JSON
{
"hex": "#a7b52c",
"rgb": {
"r": 167,
"g": 181,
"b": 44
},
"hsl": {
"h": 66.131,
"s": 60.889,
"l": 44.118
},
"oklch": {
"l": 0.73816,
"c": 0.15372,
"h": 115.4
},
"luminance": 0.41445
}Semantic roles & 50–950 ramp
primary
#A7B52C
secondary
#7E75C8
accent
#44E454
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B