#7BAB2C#7BAB2C
#7BAB2C is a light, vivid yellow-green. Relative luminance 0.335; OKLCH L 68.3% C 0.161 H 128.4°. Best body text is #000000 at 7.70:1 contrast (WCAG AA passes).
Color values
| HEX | #7BAB2C |
|---|---|
| RGB | rgb(123, 171, 44) |
| HSL | hsl(83, 59%, 42%) |
| HSV | hsv(83, 74%, 67%) |
| CMYK | cmyk(28.1%, 0%, 74.3%, 32.9%) |
| CIE-LAB | lab(64.58, -34.91, 56.47) |
| CIE-LCH | lch(64.58, 66.39, 121.72°) |
| OKLab | oklab(68.28% -0.0999 0.126) |
| OKLCH | oklch(68.28% 0.161 128.4) |
| XYZ | xyz(23.1859, 33.5181, 7.6304) |
| Luminance | 0.3352 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Leaf
#71AA34
ΔE00 2.28
Avocado Green
#87A922
ΔE00 3.06
Avocado (survey)
#90B134
ΔE00 3.79
Nasty Green
#70B23F
ΔE00 4.01
Icky Green
#8FAE22
ΔE00 4.30
Leaf Green
#5CA904
ΔE00 4.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7BAB2C #5C2CAB
analogous
#AB9C2C #7BAB2C #3CAB2C
triadic
#7BAB2C #2C7BAB #AB2C7B
tetradic
#7BAB2C #2CAB9C #5C2CAB #AB2C3C
square
#7BAB2C #2CAB9C #5C2CAB #AB2C3C
split-complementary
#7BAB2C #2C3CAB #9C2CAB
monochromatic
#354A13 #587A1F #7BAB2C #9BCF45 #B5DC76
Accessibility & contrast
On white
2.73
#7BAB2C on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.70
#7BAB2C on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #7BAB2C
7.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7BAB2C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7BAB2C | 1.00 | 2.73 | 7.70 | 7.70 |
| #FFFFFF | 2.73 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.70 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.70 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B49F12
Deuteranopia (green-blind)
#AD9C38
Tritanopia (blue-blind)
#7FA393
Achromatopsia (no color)
#9D9D9D
Design tokens & code
CSS
--color: #7bab2c; /* rgb */ color: rgb(123, 171, 44); /* oklch */ color: oklch(68.3% 0.161 128.4);
Tailwind
colors: {
custom: {
50: '#a5c46e',
500: '#7bab2c',
950: '#000000',
},
}SCSS
$custom: #7bab2c; $custom-light: #a5c46e; $custom-dark: #000000;
JSON
{
"hex": "#7bab2c",
"rgb": {
"r": 123,
"g": 171,
"b": 44
},
"hsl": {
"h": 82.677,
"s": 59.07,
"l": 42.157
},
"oklch": {
"l": 0.68283,
"c": 0.16077,
"h": 128.4
},
"luminance": 0.33519
}Semantic roles & 50–950 ramp
primary
#7BAB2C
secondary
#8F6FC3
accent
#46E281
background
#FAFCF6
surface
#F4F8EC
border
#CED1C7
text
#101208
muted
#7F817B