#2F862E#2F862E
#2F862E is a mid, vivid green. Relative luminance 0.179; OKLCH L 54.8% C 0.150 H 143.0°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).
Color values
| HEX | #2F862E |
|---|---|
| RGB | rgb(47, 134, 46) |
| HSL | hsl(119, 49%, 35%) |
| HSV | hsv(119, 66%, 53%) |
| CMYK | cmyk(64.9%, 0%, 65.7%, 47.5%) |
| CIE-LAB | lab(49.31, -44.00, 38.71) |
| CIE-LCH | lch(49.31, 58.61, 138.66°) |
| OKLab | oklab(54.84% -0.1196 0.09) |
| OKLCH | oklch(54.84% 0.15 143) |
| XYZ | xyz(10.1899, 17.8508, 5.4928) |
| Luminance | 0.1785 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 2.57
Tree Green
#2A7E19
ΔE00 3.59
Emerald Green
#028F1E
ΔE00 4.10
Darkish Green
#287C37
ΔE00 4.64
Green
#008000
ΔE00 4.71
Kelley Green
#009337
ΔE00 4.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F862E #852E86
analogous
#5B862E #2F862E #2E8659
triadic
#2F862E #2E2F86 #862E2F
tetradic
#2F862E #2E5B86 #852E86 #86592E
square
#2F862E #2E5B86 #852E86 #86592E
split-complementary
#2F862E #592E86 #862E5B
monochromatic
#0F2B0F #1F581E #2F862E #3FB43E #66CA64
Accessibility & contrast
On white
4.59
#2F862E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.57
#2F862E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #2F862E
4.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F862E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F862E | 1.00 | 4.59 | 4.57 | 4.59 |
| #FFFFFF | 4.59 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.59 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#897A23
Deuteranopia (green-blind)
#7E7236
Tritanopia (blue-blind)
#1D8274
Achromatopsia (no color)
#757575
Design tokens & code
CSS
--color: #2f862e; /* rgb */ color: rgb(47, 134, 46); /* oklch */ color: oklch(54.8% 0.150 143.0);
Tailwind
colors: {
custom: {
50: '#73aa6b',
500: '#2f862e',
950: '#000000',
},
}SCSS
$custom: #2f862e; $custom-light: #73aa6b; $custom-dark: #000000;
JSON
{
"hex": "#2f862e",
"rgb": {
"r": 47,
"g": 134,
"b": 46
},
"hsl": {
"h": 119.318,
"s": 48.889,
"l": 35.294
},
"oklch": {
"l": 0.54843,
"c": 0.14964,
"h": 143
},
"luminance": 0.17852
}Semantic roles & 50–950 ramp
primary
#2F862E
secondary
#B05FB1
accent
#4FD8D7
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091007
muted
#7B7F7A