#2F843E#2F843E
#2F843E is a mid, vivid green. Relative luminance 0.175; OKLCH L 54.5% C 0.133 H 146.7°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).
Color values
| HEX | #2F843E |
|---|---|
| RGB | rgb(47, 132, 62) |
| HSL | hsl(131, 47%, 35%) |
| HSV | hsv(131, 64%, 52%) |
| CMYK | cmyk(64.4%, 0%, 53%, 48.2%) |
| CIE-LAB | lab(48.83, -41.10, 30.21) |
| CIE-LCH | lch(48.83, 51.01, 143.68°) |
| OKLab | oklab(54.5% -0.1111 0.0729) |
| OKLCH | oklch(54.5% 0.133 146.7) |
| XYZ | xyz(10.2924, 17.4537, 7.3830) |
| Luminance | 0.1746 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 2.95
Jungle Green
#048243
ΔE00 3.25
Sea Green
#2E8B57
ΔE00 5.24
Forestgreen (CSS)
#228B22
ΔE00 5.44
Tree Green
#2A7E19
ΔE00 5.64
Fern Green
#548D44
ΔE00 5.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F843E #842F75
analogous
#4B842F #2F843E #2F8468
triadic
#2F843E #3E2F84 #843E2F
tetradic
#2F843E #2F4B84 #842F75 #84682F
square
#2F843E #2F4B84 #842F75 #84682F
split-complementary
#2F843E #682F84 #842F4B
monochromatic
#0F2A14 #1F5729 #2F843E #3FB153 #65C877
Accessibility & contrast
On white
4.68
#2F843E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.49
#2F843E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2F843E
4.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F843E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F843E | 1.00 | 4.68 | 4.49 | 4.68 |
| #FFFFFF | 4.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.49 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.68 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#867838
Deuteranopia (green-blind)
#7B7143
Tritanopia (blue-blind)
#188174
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #2f843e; /* rgb */ color: rgb(47, 132, 62); /* oklch */ color: oklch(54.5% 0.133 146.7);
Tailwind
colors: {
custom: {
50: '#72a975',
500: '#2f843e',
950: '#000000',
},
}SCSS
$custom: #2f843e; $custom-light: #72a975; $custom-dark: #000000;
JSON
{
"hex": "#2f843e",
"rgb": {
"r": 47,
"g": 132,
"b": 62
},
"hsl": {
"h": 130.588,
"s": 47.486,
"l": 35.098
},
"oklch": {
"l": 0.545,
"c": 0.13285,
"h": 146.7
},
"luminance": 0.17455
}Semantic roles & 50–950 ramp
primary
#2F843E
secondary
#AF60A1
accent
#51BFD7
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#081008
muted
#7B7F7B