#2F873F#2F873F
#2F873F is a mid, vivid green. Relative luminance 0.183; OKLCH L 55.3% C 0.136 H 146.8°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).
Color values
| HEX | #2F873F |
|---|---|
| RGB | rgb(47, 135, 63) |
| HSL | hsl(131, 48%, 36%) |
| HSV | hsv(131, 65%, 53%) |
| CMYK | cmyk(65.2%, 0%, 53.3%, 47.1%) |
| CIE-LAB | lab(49.85, -42.15, 30.94) |
| CIE-LCH | lch(49.85, 52.29, 143.72°) |
| OKLab | oklab(55.35% -0.1139 0.0746) |
| OKLCH | oklch(55.35% 0.136 146.8) |
| XYZ | xyz(10.7327, 18.2901, 7.6664) |
| Luminance | 0.1829 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Jungle Green
#048243
ΔE00 3.77
Darkish Green
#287C37
ΔE00 4.00
Forestgreen (CSS)
#228B22
ΔE00 4.90
Kelley Green
#009337
ΔE00 4.92
Sea Green
#2E8B57
ΔE00 4.97
Fern Green
#548D44
ΔE00 5.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F873F #872F77
analogous
#4B872F #2F873F #2F876B
triadic
#2F873F #3F2F87 #873F2F
tetradic
#2F873F #2F4B87 #872F77 #876B2F
square
#2F873F #2F4B87 #872F77 #876B2F
split-complementary
#2F873F #6B2F87 #872F4B
monochromatic
#0F2C15 #1F5A2A #2F873F #3FB454 #66CA79
Accessibility & contrast
On white
4.51
#2F873F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.66
#2F873F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #2F873F
4.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F873F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##2F873F | 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)
#897B39
Deuteranopia (green-blind)
#7E7444
Tritanopia (blue-blind)
#168476
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #2f873f; /* rgb */ color: rgb(47, 135, 63); /* oklch */ color: oklch(55.3% 0.136 146.8);
Tailwind
colors: {
custom: {
50: '#72ab76',
500: '#2f873f',
950: '#000000',
},
}SCSS
$custom: #2f873f; $custom-light: #72ab76; $custom-dark: #000000;
JSON
{
"hex": "#2f873f",
"rgb": {
"r": 47,
"g": 135,
"b": 63
},
"hsl": {
"h": 130.909,
"s": 48.352,
"l": 35.686
},
"oklch": {
"l": 0.55345,
"c": 0.13609,
"h": 146.8
},
"luminance": 0.18291
}Semantic roles & 50–950 ramp
primary
#2F873F
secondary
#B161A2
accent
#50BFD8
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#091008
muted
#7B7F7B