#2F842E#2F842E
#2F842E is a mid, vivid green. Relative luminance 0.173; OKLCH L 54.3% C 0.147 H 143.0°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).
Color values
| HEX | #2F842E |
|---|---|
| RGB | rgb(47, 132, 46) |
| HSL | hsl(119, 48%, 35%) |
| HSV | hsv(119, 65%, 52%) |
| CMYK | cmyk(64.4%, 0%, 65.2%, 48.2%) |
| CIE-LAB | lab(48.64, -43.24, 37.96) |
| CIE-LCH | lch(48.64, 57.54, 138.72°) |
| OKLab | oklab(54.29% -0.1175 0.0884) |
| OKLCH | oklch(54.29% 0.147 143) |
| XYZ | xyz(9.9161, 17.3032, 5.4015) |
| Luminance | 0.1730 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 3.17
Forestgreen (CSS)
#228B22
ΔE00 3.19
Darkish Green
#287C37
ΔE00 3.99
Green
#008000
ΔE00 4.55
Emerald Green
#028F1E
ΔE00 4.74
Dark Grass Green
#388004
ΔE00 4.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F842E #832E84
analogous
#5A842E #2F842E #2E8458
triadic
#2F842E #2E2F84 #842E2F
tetradic
#2F842E #2E5A84 #832E84 #84582E
square
#2F842E #2E5A84 #832E84 #84582E
split-complementary
#2F842E #582E84 #842E5A
monochromatic
#0F290E #1F571E #2F842E #3FB13E #65C964
Accessibility & contrast
On white
4.71
#2F842E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.46
#2F842E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2F842E
4.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F842E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F842E | 1.00 | 4.71 | 4.46 | 4.71 |
| #FFFFFF | 4.71 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.71 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#877824
Deuteranopia (green-blind)
#7C7135
Tritanopia (blue-blind)
#1E8072
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #2f842e; /* rgb */ color: rgb(47, 132, 46); /* oklch */ color: oklch(54.3% 0.147 143.0);
Tailwind
colors: {
custom: {
50: '#72a96a',
500: '#2f842e',
950: '#000000',
},
}SCSS
$custom: #2f842e; $custom-light: #72a96a; $custom-dark: #000000;
JSON
{
"hex": "#2f842e",
"rgb": {
"r": 47,
"g": 132,
"b": 46
},
"hsl": {
"h": 119.302,
"s": 48.315,
"l": 34.902
},
"oklch": {
"l": 0.54285,
"c": 0.14703,
"h": 143
},
"luminance": 0.17304
}Semantic roles & 50–950 ramp
primary
#2F842E
secondary
#AF5EB0
accent
#50D8D6
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091007
muted
#7B7F7A