#2F7752#2F7752
#2F7752 is a mid, moderate green. Relative luminance 0.144; OKLCH L 51.3% C 0.094 H 158.0°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).
Color values
| HEX | #2F7752 |
|---|---|
| RGB | rgb(47, 119, 82) |
| HSL | hsl(149, 43%, 33%) |
| HSV | hsv(149, 61%, 47%) |
| CMYK | cmyk(60.5%, 0%, 31.1%, 53.3%) |
| CIE-LAB | lab(44.81, -31.78, 13.80) |
| CIE-LCH | lch(44.81, 34.65, 156.53°) |
| OKLab | oklab(51.31% -0.0868 0.035) |
| OKLCH | oklch(51.31% 0.094 158) |
| XYZ | xyz(9.2913, 14.4063, 10.2721) |
| Luminance | 0.1441 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Dark Sea Green
#11875D
ΔE00 6.03
Jungle Green
#048243
ΔE00 6.90
Darkish Green
#287C37
ΔE00 7.54
Sea Green
#2E8B57
ΔE00 7.65
Dark Sage
#598556
ΔE00 8.56
Spruce
#0A5F38
ΔE00 8.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F7752 #772F54
analogous
#30772F #2F7752 #2F7776
triadic
#2F7752 #522F77 #77522F
tetradic
#2F7752 #2F3077 #772F54 #77762F
square
#2F7752 #2F3077 #772F54 #77762F
split-complementary
#2F7752 #762F77 #772F30
monochromatic
#0C1F16 #1E4B34 #2F7752 #40A370 #60C08F
Accessibility & contrast
On white
5.41
#2F7752 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.88
#2F7752 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2F7752
5.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F7752 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F7752 | 1.00 | 5.41 | 3.88 | 5.41 |
| #FFFFFF | 5.41 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.88 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.41 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#766E50
Deuteranopia (green-blind)
#6C6754
Tritanopia (blue-blind)
#13766D
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #2f7752; /* rgb */ color: rgb(47, 119, 82); /* oklch */ color: oklch(51.3% 0.094 158.0);
Tailwind
colors: {
custom: {
50: '#6f9f82',
500: '#2f7752',
950: '#000000',
},
}SCSS
$custom: #2f7752; $custom-light: #6f9f82; $custom-dark: #000000;
JSON
{
"hex": "#2f7752",
"rgb": {
"r": 47,
"g": 119,
"b": 82
},
"hsl": {
"h": 149.167,
"s": 43.373,
"l": 32.549
},
"oklch": {
"l": 0.51313,
"c": 0.09359,
"h": 158
},
"luminance": 0.14407
}Semantic roles & 50–950 ramp
primary
#2F7752
secondary
#A75B82
accent
#5596D3
background
#F6F9F8
surface
#ECF2EF
border
#C7CCCA
text
#080E0A
muted
#7B7E7C