#2F873E#2F873E
#2F873E is a mid, vivid green. Relative luminance 0.183; OKLCH L 55.3% C 0.137 H 146.5°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).
Color values
| HEX | #2F873E |
|---|---|
| RGB | rgb(47, 135, 62) |
| HSL | hsl(130, 48%, 36%) |
| HSV | hsv(130, 65%, 53%) |
| CMYK | cmyk(65.2%, 0%, 54.1%, 47.1%) |
| CIE-LAB | lab(49.83, -42.30, 31.45) |
| CIE-LCH | lch(49.83, 52.71, 143.37°) |
| OKLab | oklab(55.33% -0.1143 0.0756) |
| OKLCH | oklch(55.33% 0.137 146.5) |
| XYZ | xyz(10.7050, 18.2790, 7.5205) |
| Luminance | 0.1828 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Jungle Green
#048243
ΔE00 3.89
Darkish Green
#287C37
ΔE00 4.00
Forestgreen (CSS)
#228B22
ΔE00 4.72
Kelley Green
#009337
ΔE00 4.84
Sea Green
#2E8B57
ΔE00 5.16
Fern Green
#548D44
ΔE00 5.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F873E #872F78
analogous
#4C872F #2F873E #2F876A
triadic
#2F873E #3E2F87 #873E2F
tetradic
#2F873E #2F4C87 #872F78 #876A2F
square
#2F873E #2F4C87 #872F78 #876A2F
split-complementary
#2F873E #6A2F87 #872F4C
monochromatic
#0F2C14 #1F5A29 #2F873E #3FB453 #66CA77
Accessibility & contrast
On white
4.51
#2F873E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.66
#2F873E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #2F873E
4.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F873E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##2F873E | 1.00 | 4.51 | 4.66 | 4.66 |
| #FFFFFF | 4.51 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.66 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.66 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#897B38
Deuteranopia (green-blind)
#7E7443
Tritanopia (blue-blind)
#178476
Achromatopsia (no color)
#767676
Design tokens & code
CSS
--color: #2f873e; /* rgb */ color: rgb(47, 135, 62); /* oklch */ color: oklch(55.3% 0.137 146.5);
Tailwind
colors: {
custom: {
50: '#72ab75',
500: '#2f873e',
950: '#000000',
},
}SCSS
$custom: #2f873e; $custom-light: #72ab75; $custom-dark: #000000;
JSON
{
"hex": "#2f873e",
"rgb": {
"r": 47,
"g": 135,
"b": 62
},
"hsl": {
"h": 130.227,
"s": 48.352,
"l": 35.686
},
"oklch": {
"l": 0.5533,
"c": 0.13704,
"h": 146.5
},
"luminance": 0.1828
}Semantic roles & 50–950 ramp
primary
#2F873E
secondary
#B161A3
accent
#50C1D8
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#091008
muted
#7B7F7B