#7BAF2F#7BAF2F
#7BAF2F is a light, vivid yellow-green. Relative luminance 0.351; OKLCH L 69.3% C 0.164 H 129.4°. Best body text is #000000 at 8.02:1 contrast (WCAG AA passes).
Color values
| HEX | #7BAF2F |
|---|---|
| RGB | rgb(123, 175, 47) |
| HSL | hsl(84, 58%, 44%) |
| HSV | hsv(84, 73%, 69%) |
| CMYK | cmyk(29.7%, 0%, 73.1%, 31.4%) |
| CIE-LAB | lab(65.81, -36.54, 56.61) |
| CIE-LCH | lch(65.81, 67.38, 122.84°) |
| OKLab | oklab(69.29% -0.1041 0.1267) |
| OKLCH | oklch(69.29% 0.164 129.4) |
| XYZ | xyz(24.0114, 35.0755, 8.1939) |
| Luminance | 0.3508 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Leaf
#71AA34
ΔE00 2.38
Nasty Green
#70B23F
ΔE00 3.24
Avocado (survey)
#90B134
ΔE00 3.78
Avocado Green
#87A922
ΔE00 3.79
Dark Lime
#84B701
ΔE00 4.19
Kermit Green
#5CB200
ΔE00 4.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7BAF2F #632FAF
analogous
#AFA32F #7BAF2F #3BAF2F
triadic
#7BAF2F #2F7BAF #AF2F7B
tetradic
#7BAF2F #2FAFA3 #632FAF #AF2F3B
square
#7BAF2F #2FAFA3 #632FAF #AF2F3B
split-complementary
#7BAF2F #2F3BAF #A32FAF
monochromatic
#374F15 #597F22 #7BAF2F #9ACF4C #B5DC7C
Accessibility & contrast
On white
2.62
#7BAF2F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.02
#7BAF2F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #7BAF2F
8.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7BAF2F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7BAF2F | 1.00 | 2.62 | 8.02 | 8.02 |
| #FFFFFF | 2.62 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.02 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.02 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B7A217
Deuteranopia (green-blind)
#B09F3B
Tritanopia (blue-blind)
#7FA796
Achromatopsia (no color)
#A0A0A0
Design tokens & code
CSS
--color: #7baf2f; /* rgb */ color: rgb(123, 175, 47); /* oklch */ color: oklch(69.3% 0.164 129.4);
Tailwind
colors: {
custom: {
50: '#a5c770',
500: '#7baf2f',
950: '#000000',
},
}SCSS
$custom: #7baf2f; $custom-light: #a5c770; $custom-dark: #000000;
JSON
{
"hex": "#7baf2f",
"rgb": {
"r": 123,
"g": 175,
"b": 47
},
"hsl": {
"h": 84.375,
"s": 57.658,
"l": 43.529
},
"oklch": {
"l": 0.69289,
"c": 0.164,
"h": 129.4
},
"luminance": 0.35076
}Semantic roles & 50–950 ramp
primary
#7BAF2F
secondary
#9575C4
accent
#47E185
background
#FAFCF7
surface
#F4F8ED
border
#CED1C8
text
#101308
muted
#7F827B