#2F7239#2F7239
#2F7239 is a mid, moderate green. Relative luminance 0.129; OKLCH L 49.4% C 0.112 H 146.6°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).
Color values
| HEX | #2F7239 |
|---|---|
| RGB | rgb(47, 114, 57) |
| HSL | hsl(129, 42%, 32%) |
| HSV | hsv(129, 59%, 45%) |
| CMYK | cmyk(58.8%, 0%, 50%, 55.3%) |
| CIE-LAB | lab(42.66, -34.40, 25.25) |
| CIE-LCH | lch(42.66, 42.67, 143.72°) |
| OKLab | oklab(49.4% -0.0932 0.0615) |
| OKLCH | oklch(49.4% 0.112 146.6) |
| XYZ | xyz(7.9276, 12.9337, 5.9488) |
| Luminance | 0.1293 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 3.91
Jungle Green
#048243
ΔE00 6.16
Pine
#2B5D34
ΔE00 7.51
Tree Green
#2A7E19
ΔE00 7.74
Spruce
#0A5F38
ΔE00 8.05
Forest Green
#2D5A27
ΔE00 8.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F7239 #722F68
analogous
#47722F #2F7239 #2F725B
triadic
#2F7239 #392F72 #72392F
tetradic
#2F7239 #2F4772 #722F68 #725B2F
square
#2F7239 #2F4772 #722F68 #725B2F
split-complementary
#2F7239 #5B2F72 #722F47
monochromatic
#0B1B0E #1D4723 #2F7239 #419D4F #5FBD6D
Accessibility & contrast
On white
5.85
#2F7239 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.59
#2F7239 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2F7239
5.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F7239 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F7239 | 1.00 | 5.85 | 3.59 | 5.85 |
| #FFFFFF | 5.85 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.59 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.85 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#746834
Deuteranopia (green-blind)
#6B623D
Tritanopia (blue-blind)
#216F65
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #2f7239; /* rgb */ color: rgb(47, 114, 57); /* oklch */ color: oklch(49.4% 0.112 146.6);
Tailwind
colors: {
custom: {
50: '#6e9b70',
500: '#2f7239',
950: '#000000',
},
}SCSS
$custom: #2f7239; $custom-light: #6e9b70; $custom-dark: #000000;
JSON
{
"hex": "#2f7239",
"rgb": {
"r": 47,
"g": 114,
"b": 57
},
"hsl": {
"h": 128.955,
"s": 41.615,
"l": 31.569
},
"oklch": {
"l": 0.49403,
"c": 0.1116,
"h": 146.6
},
"luminance": 0.12934
}Semantic roles & 50–950 ramp
primary
#2F7239
secondary
#A35A98
accent
#56BFD1
background
#F6F9F6
surface
#ECF2EC
border
#C7CCC7
text
#080E07
muted
#7B7E7A