#2F7628#2F7628
#2F7628 is a mid, vivid green. Relative luminance 0.137; OKLCH L 50.3% C 0.133 H 141.9°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).
Color values
| HEX | #2F7628 |
|---|---|
| RGB | rgb(47, 118, 40) |
| HSL | hsl(115, 49%, 31%) |
| HSV | hsv(115, 66%, 46%) |
| CMYK | cmyk(60.2%, 0%, 66.1%, 53.7%) |
| CIE-LAB | lab(43.82, -38.42, 35.40) |
| CIE-LCH | lch(43.82, 52.24, 137.34°) |
| OKLab | oklab(50.29% -0.1048 0.0823) |
| OKLCH | oklch(50.29% 0.133 141.9) |
| XYZ | xyz(8.0333, 13.7137, 4.2307) |
| Luminance | 0.1371 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 3.26
Tree Green
#2A7E19
ΔE00 3.82
Green
#008000
ΔE00 5.69
Dark Grass Green
#388004
ΔE00 6.12
Jungle Green
#048243
ΔE00 6.71
Darkgreen
#006400
ΔE00 7.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F7628 #6F2876
analogous
#567628 #2F7628 #287648
triadic
#2F7628 #282F76 #76282F
tetradic
#2F7628 #285676 #6F2876 #764828
square
#2F7628 #285676 #6F2876 #764828
split-complementary
#2F7628 #482876 #762856
monochromatic
#0B1B09 #1D4819 #2F7628 #41A437 #5EC554
Accessibility & contrast
On white
5.61
#2F7628 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.74
#2F7628 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2F7628
5.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F7628 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F7628 | 1.00 | 5.61 | 3.74 | 5.61 |
| #FFFFFF | 5.61 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.74 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.61 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#796B1F
Deuteranopia (green-blind)
#70652F
Tritanopia (blue-blind)
#247266
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #2f7628; /* rgb */ color: rgb(47, 118, 40); /* oklch */ color: oklch(50.3% 0.133 141.9);
Tailwind
colors: {
custom: {
50: '#709e65',
500: '#2f7628',
950: '#000000',
},
}SCSS
$custom: #2f7628; $custom-light: #709e65; $custom-dark: #000000;
JSON
{
"hex": "#2f7628",
"rgb": {
"r": 47,
"g": 118,
"b": 40
},
"hsl": {
"h": 114.615,
"s": 49.367,
"l": 30.98
},
"oklch": {
"l": 0.50287,
"c": 0.13322,
"h": 141.9
},
"luminance": 0.13714
}Semantic roles & 50–950 ramp
primary
#2F7628
secondary
#A052A8
accent
#4FD9CD
background
#F7F9F6
surface
#EDF2EB
border
#C8CCC6
text
#080E06
muted
#7B7E7A