#2F7130#2F7130
#2F7130 is a mid, moderate green. Relative luminance 0.126; OKLCH L 49.0% C 0.119 H 143.7°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).
Color values
| HEX | #2F7130 |
|---|---|
| RGB | rgb(47, 113, 48) |
| HSL | hsl(121, 41%, 31%) |
| HSV | hsv(121, 58%, 44%) |
| CMYK | cmyk(58.4%, 0%, 57.5%, 55.7%) |
| CIE-LAB | lab(42.20, -35.34, 29.53) |
| CIE-LCH | lch(42.20, 46.05, 140.12°) |
| OKLab | oklab(48.98% -0.096 0.0704) |
| OKLCH | oklch(48.98% 0.119 143.7) |
| XYZ | xyz(7.6105, 12.6273, 4.8320) |
| Luminance | 0.1263 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 3.91
Tree Green
#2A7E19
ΔE00 6.50
Jungle Green
#048243
ΔE00 6.91
Darkgreen
#006400
ΔE00 6.93
Forest Green
#2D5A27
ΔE00 7.84
Pine
#2B5D34
ΔE00 8.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F7130 #712F70
analogous
#4F712F #2F7130 #2F7151
triadic
#2F7130 #302F71 #71302F
tetradic
#2F7130 #2F4F71 #712F70 #71512F
square
#2F7130 #2F4F71 #712F70 #71512F
split-complementary
#2F7130 #512F71 #712F4F
monochromatic
#0B1B0B #1D461E #2F7130 #419C42 #5EBC60
Accessibility & contrast
On white
5.96
#2F7130 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.53
#2F7130 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2F7130
5.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F7130 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F7130 | 1.00 | 5.96 | 3.53 | 5.96 |
| #FFFFFF | 5.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#73672A
Deuteranopia (green-blind)
#6B6135
Tritanopia (blue-blind)
#246E62
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #2f7130; /* rgb */ color: rgb(47, 113, 48); /* oklch */ color: oklch(49.0% 0.119 143.7);
Tailwind
colors: {
custom: {
50: '#6e9a6a',
500: '#2f7130',
950: '#000000',
},
}SCSS
$custom: #2f7130; $custom-light: #6e9a6a; $custom-dark: #000000;
JSON
{
"hex": "#2f7130",
"rgb": {
"r": 47,
"g": 113,
"b": 48
},
"hsl": {
"h": 120.909,
"s": 41.25,
"l": 31.373
},
"oklch": {
"l": 0.48979,
"c": 0.11905,
"h": 143.7
},
"luminance": 0.12628
}Semantic roles & 50–950 ramp
primary
#2F7130
secondary
#A25AA1
accent
#57CFD1
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#080E06
muted
#7B7E7A