#2F7145#2F7145
#2F7145 is a mid, moderate green. Relative luminance 0.128; OKLCH L 49.4% C 0.098 H 152.1°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).
Color values
| HEX | #2F7145 |
|---|---|
| RGB | rgb(47, 113, 69) |
| HSL | hsl(140, 41%, 31%) |
| HSV | hsv(140, 58%, 44%) |
| CMYK | cmyk(58.4%, 0%, 38.9%, 55.7%) |
| CIE-LAB | lab(42.53, -31.78, 18.28) |
| CIE-LCH | lch(42.53, 36.66, 150.09°) |
| OKLab | oklab(49.36% -0.0862 0.0457) |
| OKLCH | oklch(49.36% 0.098 152.1) |
| XYZ | xyz(8.1510, 12.8435, 7.6786) |
| Luminance | 0.1284 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 6.21
Spruce
#0A5F38
ΔE00 6.68
Pine
#2B5D34
ΔE00 6.76
Hunter Green
#355E3B
ΔE00 6.89
Jungle Green
#048243
ΔE00 6.99
Dark Sea Green
#11875D
ΔE00 8.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F7145 #712F5B
analogous
#3A712F #2F7145 #2F7166
triadic
#2F7145 #452F71 #71452F
tetradic
#2F7145 #2F3A71 #712F5B #71662F
square
#2F7145 #2F3A71 #712F5B #71662F
split-complementary
#2F7145 #662F71 #712F3A
monochromatic
#0B1B10 #1D462B #2F7145 #419C5F #5EBC7E
Accessibility & contrast
On white
5.88
#2F7145 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.57
#2F7145 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2F7145
5.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F7145 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F7145 | 1.00 | 5.88 | 3.57 | 5.88 |
| #FFFFFF | 5.88 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.88 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#716842
Deuteranopia (green-blind)
#686248
Tritanopia (blue-blind)
#1D6F66
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #2f7145; /* rgb */ color: rgb(47, 113, 69); /* oklch */ color: oklch(49.4% 0.098 152.1);
Tailwind
colors: {
custom: {
50: '#6e9a79',
500: '#2f7145',
950: '#000000',
},
}SCSS
$custom: #2f7145; $custom-light: #6e9a79; $custom-dark: #000000;
JSON
{
"hex": "#2f7145",
"rgb": {
"r": 47,
"g": 113,
"b": 69
},
"hsl": {
"h": 140,
"s": 41.25,
"l": 31.373
},
"oklch": {
"l": 0.49358,
"c": 0.09755,
"h": 152.1
},
"luminance": 0.12844
}Semantic roles & 50–950 ramp
primary
#2F7145
secondary
#A25A8A
accent
#57A8D1
background
#F6F9F7
surface
#ECF2ED
border
#C7CCC8
text
#070E09
muted
#7A7E7B