#2F7745#2F7745
#2F7745 is a mid, moderate green. Relative luminance 0.142; OKLCH L 51.0% C 0.107 H 150.9°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).
Color values
| HEX | #2F7745 |
|---|---|
| RGB | rgb(47, 119, 69) |
| HSL | hsl(138, 43%, 33%) |
| HSV | hsv(138, 61%, 47%) |
| CMYK | cmyk(60.5%, 0%, 42%, 53.3%) |
| CIE-LAB | lab(44.56, -34.46, 20.96) |
| CIE-LCH | lch(44.56, 40.33, 148.69°) |
| OKLab | oklab(51.02% -0.0933 0.052) |
| OKLCH | oklch(51.02% 0.107 150.9) |
| XYZ | xyz(8.8426, 14.2268, 7.9091) |
| Luminance | 0.1423 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 4.17
Jungle Green
#048243
ΔE00 4.82
Dark Sea Green
#11875D
ΔE00 7.10
Sea Green
#2E8B57
ΔE00 7.27
Dark Sage
#598556
ΔE00 7.92
Spruce
#0A5F38
ΔE00 8.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F7745 #772F61
analogous
#3D772F #2F7745 #2F7769
triadic
#2F7745 #452F77 #77452F
tetradic
#2F7745 #2F3D77 #772F61 #77692F
square
#2F7745 #2F3D77 #772F61 #77692F
split-complementary
#2F7745 #692F77 #772F3D
monochromatic
#0C1F12 #1E4B2C #2F7745 #40A35E #60C07E
Accessibility & contrast
On white
5.46
#2F7745 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.85
#2F7745 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2F7745
5.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F7745 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F7745 | 1.00 | 5.46 | 3.85 | 5.46 |
| #FFFFFF | 5.46 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.85 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.46 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#786D41
Deuteranopia (green-blind)
#6E6748
Tritanopia (blue-blind)
#1B756B
Achromatopsia (no color)
#696969
Design tokens & code
CSS
--color: #2f7745; /* rgb */ color: rgb(47, 119, 69); /* oklch */ color: oklch(51.0% 0.107 150.9);
Tailwind
colors: {
custom: {
50: '#6f9f79',
500: '#2f7745',
950: '#000000',
},
}SCSS
$custom: #2f7745; $custom-light: #6f9f79; $custom-dark: #000000;
JSON
{
"hex": "#2f7745",
"rgb": {
"r": 47,
"g": 119,
"b": 69
},
"hsl": {
"h": 138.333,
"s": 43.373,
"l": 32.549
},
"oklch": {
"l": 0.51022,
"c": 0.1068,
"h": 150.9
},
"luminance": 0.14228
}Semantic roles & 50–950 ramp
primary
#2F7745
secondary
#A75B90
accent
#55ACD3
background
#F6F9F7
surface
#ECF2ED
border
#C7CCC8
text
#080E09
muted
#7B7E7B