#A7BB42#A7BB42
#A7BB42 is a light, vivid yellow. Relative luminance 0.441; OKLCH L 75.3% C 0.146 H 118.1°. Best body text is #000000 at 9.83:1 contrast (WCAG AA passes).
Color values
| HEX | #A7BB42 |
|---|---|
| RGB | rgb(167, 187, 66) |
| HSL | hsl(70, 48%, 50%) |
| HSV | hsv(70, 65%, 73%) |
| CMYK | cmyk(10.7%, 0%, 64.7%, 26.7%) |
| CIE-LAB | lab(72.33, -23.40, 56.81) |
| CIE-LCH | lch(72.33, 61.44, 112.39°) |
| OKLab | oklab(75.34% -0.0688 0.129) |
| OKLCH | oklch(75.34% 0.146 118.1) |
| XYZ | xyz(34.6907, 44.1498, 11.8474) |
| Luminance | 0.4415 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sick Green
#9DB92C
ΔE00 2.36
Booger
#9BB53C
ΔE00 2.38
Pea
#A4BF20
ΔE00 3.23
Gross Green
#A0BF16
ΔE00 3.75
Light Olive Green
#A4BE5C
ΔE00 3.88
Bright Olive
#9CBB04
ΔE00 4.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A7BB42 #5642BB
analogous
#BB9242 #A7BB42 #6BBB42
triadic
#A7BB42 #42A7BB #BB42A7
tetradic
#A7BB42 #42BB92 #5642BB #BB426B
square
#A7BB42 #42BB92 #5642BB #BB426B
split-complementary
#A7BB42 #426BBB #9242BB
monochromatic
#566122 #7F8E32 #A7BB42 #BCCC6E #D1DC9C
Accessibility & contrast
On white
2.14
#A7BB42 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.83
#A7BB42 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A7BB42
9.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A7BB42 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A7BB42 | 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)
#C7B132
Deuteranopia (green-blind)
#C5B24B
Tritanopia (blue-blind)
#B1B1A2
Achromatopsia (no color)
#B1B1B1
Design tokens & code
CSS
--color: #a7bb42; /* rgb */ color: rgb(167, 187, 66); /* oklch */ color: oklch(75.3% 0.146 118.1);
Tailwind
colors: {
custom: {
50: '#c4cf7c',
500: '#a7bb42',
950: '#000000',
},
}SCSS
$custom: #a7bb42; $custom-light: #c4cf7c; $custom-dark: #000000;
JSON
{
"hex": "#a7bb42",
"rgb": {
"r": 167,
"g": 187,
"b": 66
},
"hsl": {
"h": 69.917,
"s": 47.826,
"l": 49.608
},
"oklch": {
"l": 0.75341,
"c": 0.14625,
"h": 118.1
},
"luminance": 0.44149
}Semantic roles & 50–950 ramp
primary
#A7BB42
secondary
#9A91C8
accent
#50D767
background
#FCFCF7
surface
#F8F9EE
border
#D1D2C9
text
#13130A
muted
#82827C