#2F8F1E#2F8F1E
#2F8F1E is a mid, vivid green. Relative luminance 0.203; OKLCH L 57.2% C 0.171 H 141.0°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).
Color values
| HEX | #2F8F1E |
|---|---|
| RGB | rgb(47, 143, 30) |
| HSL | hsl(111, 65%, 34%) |
| HSV | hsv(111, 79%, 56%) |
| CMYK | cmyk(67.1%, 0%, 79%, 43.9%) |
| CIE-LAB | lab(52.22, -48.72, 48.16) |
| CIE-LCH | lch(52.22, 68.50, 135.33°) |
| OKLab | oklab(57.21% -0.1332 0.1077) |
| OKLCH | oklch(57.21% 0.171 141) |
| XYZ | xyz(11.2285, 20.3419, 4.5627) |
| Luminance | 0.2034 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 2.06
Emerald Green
#028F1E
ΔE00 2.18
True Green
#089404
ΔE00 2.63
Irish Green
#019529
ΔE00 3.14
Kelley Green
#009337
ΔE00 4.43
Grass Green
#3F9B0B
ΔE00 5.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F8F1E #7E1E8F
analogous
#688F1E #2F8F1E #1E8F46
triadic
#2F8F1E #1E2F8F #8F1E2F
tetradic
#2F8F1E #1E688F #7E1E8F #8F461E
square
#2F8F1E #1E688F #7E1E8F #8F461E
split-complementary
#2F8F1E #461E8F #8F1E68
monochromatic
#0E2A09 #1E5C13 #2F8F1E #40C229 #63DA4E
Accessibility & contrast
On white
4.14
#2F8F1E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.07
#2F8F1E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #2F8F1E
5.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F8F1E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##2F8F1E | 1.00 | 4.14 | 5.07 | 5.07 |
| #FFFFFF | 4.14 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.07 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.07 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#938101
Deuteranopia (green-blind)
#877A2B
Tritanopia (blue-blind)
#1D8A7A
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #2f8f1e; /* rgb */ color: rgb(47, 143, 30); /* oklch */ color: oklch(57.2% 0.171 141.0);
Tailwind
colors: {
custom: {
50: '#76b163',
500: '#2f8f1e',
950: '#000000',
},
}SCSS
$custom: #2f8f1e; $custom-light: #76b163; $custom-dark: #000000;
JSON
{
"hex": "#2f8f1e",
"rgb": {
"r": 47,
"g": 143,
"b": 30
},
"hsl": {
"h": 110.973,
"s": 65.318,
"l": 33.922
},
"oklch": {
"l": 0.5721,
"c": 0.17131,
"h": 141
},
"luminance": 0.20343
}Semantic roles & 50–950 ramp
primary
#2F8F1E
secondary
#AC4CBC
accent
#40E8CF
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#091106
muted
#7B807A