#2F7337#2F7337
#2F7337 is a mid, moderate green. Relative luminance 0.131; OKLCH L 49.6% C 0.115 H 145.8°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).
Color values
| HEX | #2F7337 |
|---|---|
| RGB | rgb(47, 115, 55) |
| HSL | hsl(127, 42%, 32%) |
| HSV | hsv(127, 59%, 45%) |
| CMYK | cmyk(59.1%, 0%, 52.2%, 54.9%) |
| CIE-LAB | lab(42.97, -35.15, 26.74) |
| CIE-LCH | lch(42.97, 44.16, 142.74°) |
| OKLab | oklab(49.65% -0.0952 0.0647) |
| OKLCH | oklch(49.65% 0.115 145.8) |
| XYZ | xyz(7.9921, 13.1409, 5.7290) |
| Luminance | 0.1314 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 3.37
Jungle Green
#048243
ΔE00 5.94
Tree Green
#2A7E19
ΔE00 7.06
Pine
#2B5D34
ΔE00 8.04
Darkgreen
#006400
ΔE00 8.17
Forest Green
#2D5A27
ΔE00 8.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F7337 #732F6B
analogous
#49732F #2F7337 #2F7359
triadic
#2F7337 #372F73 #73372F
tetradic
#2F7337 #2F4973 #732F6B #73592F
square
#2F7337 #2F4973 #732F6B #73592F
split-complementary
#2F7337 #592F73 #732F49
monochromatic
#0B1C0D #1D4822 #2F7337 #419E4C #5FBE6A
Accessibility & contrast
On white
5.79
#2F7337 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.63
#2F7337 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2F7337
5.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F7337 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F7337 | 1.00 | 5.79 | 3.63 | 5.79 |
| #FFFFFF | 5.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.63 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#756932
Deuteranopia (green-blind)
#6C633B
Tritanopia (blue-blind)
#227065
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #2f7337; /* rgb */ color: rgb(47, 115, 55); /* oklch */ color: oklch(49.6% 0.115 145.8);
Tailwind
colors: {
custom: {
50: '#6f9c6f',
500: '#2f7337',
950: '#000000',
},
}SCSS
$custom: #2f7337; $custom-light: #6f9c6f; $custom-dark: #000000;
JSON
{
"hex": "#2f7337",
"rgb": {
"r": 47,
"g": 115,
"b": 55
},
"hsl": {
"h": 127.059,
"s": 41.975,
"l": 31.765
},
"oklch": {
"l": 0.4965,
"c": 0.11512,
"h": 145.8
},
"luminance": 0.13142
}Semantic roles & 50–950 ramp
primary
#2F7337
secondary
#A45A9B
accent
#56C3D2
background
#F6F9F6
surface
#ECF2EC
border
#C7CCC7
text
#080E07
muted
#7B7E7A