#2F7939#2F7939
#2F7939 is a mid, vivid green. Relative luminance 0.146; OKLCH L 51.4% C 0.122 H 146.1°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).
Color values
| HEX | #2F7939 |
|---|---|
| RGB | rgb(47, 121, 57) |
| HSL | hsl(128, 44%, 33%) |
| HSV | hsv(128, 61%, 47%) |
| CMYK | cmyk(61.2%, 0%, 52.9%, 52.5%) |
| CIE-LAB | lab(45.04, -37.38, 28.21) |
| CIE-LCH | lch(45.04, 46.83, 142.95°) |
| OKLab | oklab(51.36% -0.1012 0.0681) |
| OKLCH | oklch(51.36% 0.122 146.1) |
| XYZ | xyz(8.7476, 14.5737, 6.2221) |
| Luminance | 0.1457 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 1.39
Jungle Green
#048243
ΔE00 4.30
Tree Green
#2A7E19
ΔE00 5.83
Green
#008000
ΔE00 7.60
Sea Green
#2E8B57
ΔE00 7.71
Dark Sage
#598556
ΔE00 8.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F7939 #792F6F
analogous
#4A792F #2F7939 #2F795E
triadic
#2F7939 #392F79 #79392F
tetradic
#2F7939 #2F4A79 #792F6F #795E2F
square
#2F7939 #2F4A79 #792F6F #795E2F
split-complementary
#2F7939 #5E2F79 #792F4A
monochromatic
#0D210F #1E4D24 #2F7939 #40A54E #61C26E
Accessibility & contrast
On white
5.36
#2F7939 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.91
#2F7939 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2F7939
5.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F7939 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F7939 | 1.00 | 5.36 | 3.91 | 5.36 |
| #FFFFFF | 5.36 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.91 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.36 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7B6F34
Deuteranopia (green-blind)
#71683E
Tritanopia (blue-blind)
#1F766A
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #2f7939; /* rgb */ color: rgb(47, 121, 57); /* oklch */ color: oklch(51.4% 0.122 146.1);
Tailwind
colors: {
custom: {
50: '#70a071',
500: '#2f7939',
950: '#000000',
},
}SCSS
$custom: #2f7939; $custom-light: #70a071; $custom-dark: #000000;
JSON
{
"hex": "#2f7939",
"rgb": {
"r": 47,
"g": 121,
"b": 57
},
"hsl": {
"h": 128.108,
"s": 44.048,
"l": 32.941
},
"oklch": {
"l": 0.51362,
"c": 0.12197,
"h": 146.1
},
"luminance": 0.14574
}Semantic roles & 50–950 ramp
primary
#2F7939
secondary
#A85B9E
accent
#54C3D4
background
#F7F9F6
surface
#EDF2EC
border
#C8CCC7
text
#080F08
muted
#7B7E7B