#7BAF2C#7BAF2C
#7BAF2C is a light, vivid yellow-green. Relative luminance 0.351; OKLCH L 69.3% C 0.166 H 129.2°. Best body text is #000000 at 8.01:1 contrast (WCAG AA passes).
Color values
| HEX | #7BAF2C |
|---|---|
| RGB | rgb(123, 175, 44) |
| HSL | hsl(84, 60%, 43%) |
| HSV | hsv(84, 75%, 69%) |
| CMYK | cmyk(29.7%, 0%, 74.9%, 31.4%) |
| CIE-LAB | lab(65.79, -36.72, 57.65) |
| CIE-LCH | lch(65.79, 68.35, 122.49°) |
| OKLab | oklab(69.27% -0.1048 0.1285) |
| OKLCH | oklch(69.27% 0.166 129.2) |
| XYZ | xyz(23.9529, 35.0521, 7.8861) |
| Luminance | 0.3505 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Leaf
#71AA34
ΔE00 2.58
Nasty Green
#70B23F
ΔE00 3.48
Avocado Green
#87A922
ΔE00 3.63
Avocado (survey)
#90B134
ΔE00 3.69
Dark Lime
#84B701
ΔE00 3.95
Kermit Green
#5CB200
ΔE00 4.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7BAF2C #602CAF
analogous
#AFA12C #7BAF2C #39AF2C
triadic
#7BAF2C #2C7BAF #AF2C7B
tetradic
#7BAF2C #2CAFA1 #602CAF #AF2C39
square
#7BAF2C #2CAFA1 #602CAF #AF2C39
split-complementary
#7BAF2C #2C39AF #A12CAF
monochromatic
#364D13 #597E20 #7BAF2C #9AD147 #B5DD78
Accessibility & contrast
On white
2.62
#7BAF2C on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.01
#7BAF2C on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #7BAF2C
8.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7BAF2C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7BAF2C | 1.00 | 2.62 | 8.01 | 8.01 |
| #FFFFFF | 2.62 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.01 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.01 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B7A210
Deuteranopia (green-blind)
#B09F39
Tritanopia (blue-blind)
#7FA796
Achromatopsia (no color)
#A0A0A0
Design tokens & code
CSS
--color: #7baf2c; /* rgb */ color: rgb(123, 175, 44); /* oklch */ color: oklch(69.3% 0.166 129.2);
Tailwind
colors: {
custom: {
50: '#a5c76f',
500: '#7baf2c',
950: '#000000',
},
}SCSS
$custom: #7baf2c; $custom-light: #a5c76f; $custom-dark: #000000;
JSON
{
"hex": "#7baf2c",
"rgb": {
"r": 123,
"g": 175,
"b": 44
},
"hsl": {
"h": 83.817,
"s": 59.817,
"l": 42.941
},
"oklch": {
"l": 0.69268,
"c": 0.16578,
"h": 129.2
},
"luminance": 0.35053
}Semantic roles & 50–950 ramp
primary
#7BAF2C
secondary
#9372C5
accent
#45E384
background
#FAFCF7
surface
#F4F8ED
border
#CED1C8
text
#101308
muted
#7F827B