#7AB540#7AB540
#7AB540 is a light, vivid yellow-green. Relative luminance 0.376; OKLCH L 70.8% C 0.161 H 132.1°. Best body text is #000000 at 8.51:1 contrast (WCAG AA passes).
Color values
| HEX | #7AB540 |
|---|---|
| RGB | rgb(122, 181, 64) |
| HSL | hsl(90, 48%, 48%) |
| HSV | hsv(90, 65%, 71%) |
| CMYK | cmyk(32.6%, 0%, 64.6%, 29%) |
| CIE-LAB | lab(67.69, -38.36, 51.84) |
| CIE-LCH | lch(67.69, 64.49, 126.50°) |
| OKLab | oklab(70.85% -0.1076 0.1191) |
| OKLCH | oklch(70.85% 0.161 132.1) |
| XYZ | xyz(25.4750, 37.5546, 10.7560) |
| Luminance | 0.3755 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Nasty Green
#70B23F
ΔE00 1.67
Turtle Green
#75B84F
ΔE00 2.55
Leaf
#71AA34
ΔE00 3.23
Grass
#5CAC2D
ΔE00 4.46
Kermit Green
#5CB200
ΔE00 4.78
Asparagus
#77AB56
ΔE00 5.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7AB540 #7B40B5
analogous
#B4B540 #7AB540 #40B540
triadic
#7AB540 #407AB5 #B5407A
tetradic
#7AB540 #40B4B5 #7B40B5 #B54040
square
#7AB540 #40B4B5 #7B40B5 #B54040
split-complementary
#7AB540 #4040B5 #B540B4
monochromatic
#3D5B20 #5C8830 #7AB540 #99CA68 #B7DA96
Accessibility & contrast
On white
2.47
#7AB540 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.51
#7AB540 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #7AB540
8.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7AB540 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7AB540 | 1.00 | 2.47 | 8.51 | 8.51 |
| #FFFFFF | 2.47 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.51 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.51 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BCA831
Deuteranopia (green-blind)
#B4A349
Tritanopia (blue-blind)
#7BAE9D
Achromatopsia (no color)
#A5A5A5
Design tokens & code
CSS
--color: #7ab540; /* rgb */ color: rgb(122, 181, 64); /* oklch */ color: oklch(70.8% 0.161 132.1);
Tailwind
colors: {
custom: {
50: '#a4cb7a',
500: '#7ab540',
950: '#000000',
},
}SCSS
$custom: #7ab540; $custom-light: #a4cb7a; $custom-dark: #000000;
JSON
{
"hex": "#7ab540",
"rgb": {
"r": 122,
"g": 181,
"b": 64
},
"hsl": {
"h": 90.256,
"s": 47.755,
"l": 48.039
},
"oklch": {
"l": 0.70847,
"c": 0.16052,
"h": 132.1
},
"luminance": 0.37555
}Semantic roles & 50–950 ramp
primary
#7AB540
secondary
#A98BC5
accent
#50D794
background
#FAFCF7
surface
#F4F8EE
border
#CED1C9
text
#10130A
muted
#7F827C