#2F7F3A#2F7F3A
#2F7F3A is a mid, vivid green. Relative luminance 0.161; OKLCH L 53.0% C 0.130 H 146.0°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).
Color values
| HEX | #2F7F3A |
|---|---|
| RGB | rgb(47, 127, 58) |
| HSL | hsl(128, 46%, 34%) |
| HSV | hsv(128, 63%, 50%) |
| CMYK | cmyk(63%, 0%, 54.3%, 50.2%) |
| CIE-LAB | lab(47.09, -39.69, 30.19) |
| CIE-LCH | lch(47.09, 49.87, 142.75°) |
| OKLab | oklab(53.05% -0.1074 0.0726) |
| OKLCH | oklch(53.05% 0.13 146) |
| XYZ | xyz(9.5248, 16.0877, 6.6055) |
| Luminance | 0.1609 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 1.26
Jungle Green
#048243
ΔE00 3.43
Tree Green
#2A7E19
ΔE00 5.03
Forestgreen (CSS)
#228B22
ΔE00 6.29
Sea Green
#2E8B57
ΔE00 6.44
Green
#008000
ΔE00 6.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F7F3A #7F2F74
analogous
#4C7F2F #2F7F3A #2F7F62
triadic
#2F7F3A #3A2F7F #7F3A2F
tetradic
#2F7F3A #2F4C7F #7F2F74 #7F622F
square
#2F7F3A #2F4C7F #7F2F74 #7F622F
split-complementary
#2F7F3A #622F7F #7F2F4C
monochromatic
#0E2611 #1E5226 #2F7F3A #40AC4E #63C571
Accessibility & contrast
On white
4.98
#2F7F3A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.22
#2F7F3A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2F7F3A
4.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F7F3A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F7F3A | 1.00 | 4.98 | 4.22 | 4.98 |
| #FFFFFF | 4.98 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.22 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.98 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#817434
Deuteranopia (green-blind)
#776D3F
Tritanopia (blue-blind)
#1C7C6F
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #2f7f3a; /* rgb */ color: rgb(47, 127, 58); /* oklch */ color: oklch(53.0% 0.130 146.0);
Tailwind
colors: {
custom: {
50: '#71a572',
500: '#2f7f3a',
950: '#000000',
},
}SCSS
$custom: #2f7f3a; $custom-light: #71a572; $custom-dark: #000000;
JSON
{
"hex": "#2f7f3a",
"rgb": {
"r": 47,
"g": 127,
"b": 58
},
"hsl": {
"h": 128.25,
"s": 45.977,
"l": 34.118
},
"oklch": {
"l": 0.5305,
"c": 0.12961,
"h": 146
},
"luminance": 0.16089
}Semantic roles & 50–950 ramp
primary
#2F7F3A
secondary
#AC5EA1
accent
#52C4D6
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#080F08
muted
#7B7F7B