#2F7F41#2F7F41
#2F7F41 is a mid, vivid green. Relative luminance 0.162; OKLCH L 53.2% C 0.123 H 148.1°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).
Color values
| HEX | #2F7F41 |
|---|---|
| RGB | rgb(47, 127, 65) |
| HSL | hsl(134, 46%, 34%) |
| HSV | hsv(134, 63%, 50%) |
| CMYK | cmyk(63%, 0%, 48.8%, 50.2%) |
| CIE-LAB | lab(47.19, -38.59, 26.57) |
| CIE-LCH | lch(47.19, 46.85, 145.45°) |
| OKLab | oklab(53.16% -0.1043 0.0648) |
| OKLCH | oklch(53.16% 0.123 148.1) |
| XYZ | xyz(9.7151, 16.1638, 7.6079) |
| Luminance | 0.1616 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 1.97
Jungle Green
#048243
ΔE00 2.72
Sea Green
#2E8B57
ΔE00 5.44
Tree Green
#2A7E19
ΔE00 6.49
Dark Sage
#598556
ΔE00 6.89
Dark Sea Green
#11875D
ΔE00 6.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F7F41 #7F2F6D
analogous
#457F2F #2F7F41 #2F7F69
triadic
#2F7F41 #412F7F #7F412F
tetradic
#2F7F41 #2F457F #7F2F6D #7F692F
square
#2F7F41 #2F457F #7F2F6D #7F692F
split-complementary
#2F7F41 #692F7F #7F2F45
monochromatic
#0E2613 #1E522A #2F7F41 #40AC58 #63C579
Accessibility & contrast
On white
4.96
#2F7F41 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.23
#2F7F41 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2F7F41
4.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F7F41 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F7F41 | 1.00 | 4.96 | 4.23 | 4.96 |
| #FFFFFF | 4.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.23 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#80743C
Deuteranopia (green-blind)
#766D45
Tritanopia (blue-blind)
#197C70
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #2f7f41; /* rgb */ color: rgb(47, 127, 65); /* oklch */ color: oklch(53.2% 0.123 148.1);
Tailwind
colors: {
custom: {
50: '#71a577',
500: '#2f7f41',
950: '#000000',
},
}SCSS
$custom: #2f7f41; $custom-light: #71a577; $custom-dark: #000000;
JSON
{
"hex": "#2f7f41",
"rgb": {
"r": 47,
"g": 127,
"b": 65
},
"hsl": {
"h": 133.5,
"s": 45.977,
"l": 34.118
},
"oklch": {
"l": 0.53165,
"c": 0.12277,
"h": 148.1
},
"luminance": 0.16165
}Semantic roles & 50–950 ramp
primary
#2F7F41
secondary
#AC5E9B
accent
#52B8D6
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#080F08
muted
#7B7F7B