#2F7440#2F7440
#2F7440 is a mid, moderate green. Relative luminance 0.135; OKLCH L 50.1% C 0.107 H 149.1°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).
Color values
| HEX | #2F7440 |
|---|---|
| RGB | rgb(47, 116, 64) |
| HSL | hsl(135, 42%, 32%) |
| HSV | hsv(135, 59%, 45%) |
| CMYK | cmyk(59.5%, 0%, 44.8%, 54.5%) |
| CIE-LAB | lab(43.45, -34.07, 22.35) |
| CIE-LCH | lch(43.45, 40.75, 146.73°) |
| OKLab | oklab(50.09% -0.0922 0.0551) |
| OKLCH | oklch(50.09% 0.107 149.1) |
| XYZ | xyz(8.3425, 13.4645, 7.0088) |
| Luminance | 0.1346 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 4.14
Jungle Green
#048243
ΔE00 5.55
Pine
#2B5D34
ΔE00 7.85
Spruce
#0A5F38
ΔE00 8.01
Hunter Green
#355E3B
ΔE00 8.27
Dark Sea Green
#11875D
ΔE00 8.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F7440 #742F63
analogous
#41742F #2F7440 #2F7463
triadic
#2F7440 #402F74 #74402F
tetradic
#2F7440 #2F4174 #742F63 #74632F
square
#2F7440 #2F4174 #742F63 #74632F
split-complementary
#2F7440 #632F74 #742F41
monochromatic
#0C1D10 #1D4828 #2F7440 #41A058 #5FBE77
Accessibility & contrast
On white
5.69
#2F7440 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.69
#2F7440 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2F7440
5.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F7440 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F7440 | 1.00 | 5.69 | 3.69 | 5.69 |
| #FFFFFF | 5.69 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.69 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.69 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#756B3C
Deuteranopia (green-blind)
#6C6443
Tritanopia (blue-blind)
#1E7267
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #2f7440; /* rgb */ color: rgb(47, 116, 64); /* oklch */ color: oklch(50.1% 0.107 149.1);
Tailwind
colors: {
custom: {
50: '#6e9d75',
500: '#2f7440',
950: '#000000',
},
}SCSS
$custom: #2f7440; $custom-light: #6e9d75; $custom-dark: #000000;
JSON
{
"hex": "#2f7440",
"rgb": {
"r": 47,
"g": 116,
"b": 64
},
"hsl": {
"h": 134.783,
"s": 42.331,
"l": 31.961
},
"oklch": {
"l": 0.5009,
"c": 0.10741,
"h": 149.1
},
"luminance": 0.13465
}Semantic roles & 50–950 ramp
primary
#2F7440
secondary
#A55A93
accent
#56B3D2
background
#F6F9F7
surface
#ECF2ED
border
#C7CCC8
text
#080E08
muted
#7B7E7B