#A7BB40#A7BB40
#A7BB40 is a light, vivid yellow. Relative luminance 0.441; OKLCH L 75.3% C 0.148 H 118.0°. Best body text is #000000 at 9.83:1 contrast (WCAG AA passes).
Color values
| HEX | #A7BB40 |
|---|---|
| RGB | rgb(167, 187, 64) |
| HSL | hsl(70, 49%, 49%) |
| HSV | hsv(70, 66%, 73%) |
| CMYK | cmyk(10.7%, 0%, 65.8%, 26.7%) |
| CIE-LAB | lab(72.31, -23.54, 57.61) |
| CIE-LCH | lch(72.31, 62.23, 112.22°) |
| OKLab | oklab(75.32% -0.0694 0.1304) |
| OKLCH | oklch(75.32% 0.148 118) |
| XYZ | xyz(34.6328, 44.1266, 11.5423) |
| Luminance | 0.4413 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sick Green
#9DB92C
ΔE00 2.23
Booger
#9BB53C
ΔE00 2.43
Pea
#A4BF20
ΔE00 3.02
Gross Green
#A0BF16
ΔE00 3.57
Bright Olive
#9CBB04
ΔE00 3.84
Sickly Green
#94B21C
ΔE00 4.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A7BB40 #5440BB
analogous
#BB9240 #A7BB40 #6ABB40
triadic
#A7BB40 #40A7BB #BB40A7
tetradic
#A7BB40 #40BB92 #5440BB #BB406A
square
#A7BB40 #40BB92 #5440BB #BB406A
split-complementary
#A7BB40 #406ABB #9240BB
monochromatic
#566021 #7E8D30 #A7BB40 #BDCD6C #D1DC99
Accessibility & contrast
On white
2.14
#A7BB40 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.83
#A7BB40 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A7BB40
9.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A7BB40 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A7BB40 | 1.00 | 2.14 | 9.83 | 9.83 |
| #FFFFFF | 2.14 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.83 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.83 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C7B12F
Deuteranopia (green-blind)
#C5B249
Tritanopia (blue-blind)
#B1B1A2
Achromatopsia (no color)
#B1B1B1
Design tokens & code
CSS
--color: #a7bb40; /* rgb */ color: rgb(167, 187, 64); /* oklch */ color: oklch(75.3% 0.148 118.0);
Tailwind
colors: {
custom: {
50: '#c4cf7b',
500: '#a7bb40',
950: '#000000',
},
}SCSS
$custom: #a7bb40; $custom-light: #c4cf7b; $custom-dark: #000000;
JSON
{
"hex": "#a7bb40",
"rgb": {
"r": 167,
"g": 187,
"b": 64
},
"hsl": {
"h": 69.756,
"s": 49.004,
"l": 49.216
},
"oklch": {
"l": 0.75324,
"c": 0.14774,
"h": 118
},
"luminance": 0.44126
}Semantic roles & 50–950 ramp
primary
#A7BB40
secondary
#988FC8
accent
#4FD966
background
#FCFCF7
surface
#F8F9EE
border
#D1D2C9
text
#13130A
muted
#82827C