#2F942E#2F942E
#2F942E is a mid, vivid green. Relative luminance 0.220; OKLCH L 58.7% C 0.167 H 142.9°. Best body text is #000000 at 5.40:1 contrast (WCAG AA passes).
Color values
| HEX | #2F942E |
|---|---|
| RGB | rgb(47, 148, 46) |
| HSL | hsl(119, 53%, 38%) |
| HSV | hsv(119, 69%, 58%) |
| CMYK | cmyk(68.2%, 0%, 68.9%, 42%) |
| CIE-LAB | lab(54.01, -49.16, 43.83) |
| CIE-LCH | lch(54.01, 65.86, 138.27°) |
| OKLab | oklab(58.72% -0.1335 0.1008) |
| OKLCH | oklch(58.72% 0.167 142.9) |
| XYZ | xyz(12.2546, 21.9801, 6.1810) |
| Luminance | 0.2198 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Irish Green
#019529
ΔE00 1.89
Emerald Green
#028F1E
ΔE00 2.87
Kelley Green
#009337
ΔE00 2.95
True Green
#089404
ΔE00 3.37
Forestgreen (CSS)
#228B22
ΔE00 3.38
Grass Green
#3F9B0B
ΔE00 4.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F942E #932E94
analogous
#62942E #2F942E #2E9460
triadic
#2F942E #2E2F94 #942E2F
tetradic
#2F942E #2E6294 #932E94 #94602E
square
#2F942E #2E6294 #932E94 #94602E
split-complementary
#2F942E #602E94 #942E62
monochromatic
#113711 #20651F #2F942E #3EC33D #6CD16B
Accessibility & contrast
On white
3.89
#2F942E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.40
#2F942E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #2F942E
5.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F942E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##2F942E | 1.00 | 3.89 | 5.40 | 5.40 |
| #FFFFFF | 3.89 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.40 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.40 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#978620
Deuteranopia (green-blind)
#8B7E37
Tritanopia (blue-blind)
#16907F
Achromatopsia (no color)
#818181
Design tokens & code
CSS
--color: #2f942e; /* rgb */ color: rgb(47, 148, 46); /* oklch */ color: oklch(58.7% 0.167 142.9);
Tailwind
colors: {
custom: {
50: '#76b46c',
500: '#2f942e',
950: '#000000',
},
}SCSS
$custom: #2f942e; $custom-light: #76b46c; $custom-dark: #000000;
JSON
{
"hex": "#2f942e",
"rgb": {
"r": 47,
"g": 148,
"b": 46
},
"hsl": {
"h": 119.412,
"s": 52.577,
"l": 38.039
},
"oklch": {
"l": 0.58724,
"c": 0.16732,
"h": 142.9
},
"luminance": 0.21981
}Semantic roles & 50–950 ramp
primary
#2F942E
secondary
#B766B8
accent
#4CDCDB
background
#F7FBF6
surface
#EEF6EC
border
#C9D0C7
text
#0A1107
muted
#7C807A