#2F8D2E#2F8D2E
#2F8D2E is a mid, vivid green. Relative luminance 0.199; OKLCH L 56.8% C 0.159 H 143.0°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).
Color values
| HEX | #2F8D2E |
|---|---|
| RGB | rgb(47, 141, 46) |
| HSL | hsl(119, 51%, 37%) |
| HSV | hsv(119, 67%, 55%) |
| CMYK | cmyk(66.7%, 0%, 67.4%, 44.7%) |
| CIE-LAB | lab(51.67, -46.62, 41.30) |
| CIE-LCH | lch(51.67, 62.28, 138.46°) |
| OKLab | oklab(56.79% -0.1267 0.0955) |
| OKLCH | oklch(56.79% 0.159 143) |
| XYZ | xyz(11.1897, 19.8502, 5.8260) |
| Luminance | 0.1985 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 1.64
Emerald Green
#028F1E
ΔE00 2.47
Kelley Green
#009337
ΔE00 3.18
Irish Green
#019529
ΔE00 3.24
True Green
#089404
ΔE00 4.44
Fern Green
#548D44
ΔE00 4.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F8D2E #8C2E8D
analogous
#5F8D2E #2F8D2E #2E8D5D
triadic
#2F8D2E #2E2F8D #8D2E2F
tetradic
#2F8D2E #2E5F8D #8C2E8D #8D5D2E
square
#2F8D2E #2E5F8D #8C2E8D #8D5D2E
split-complementary
#2F8D2E #5D2E8D #8D2E5F
monochromatic
#103110 #205F1F #2F8D2E #3EBB3D #69CE68
Accessibility & contrast
On white
4.23
#2F8D2E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.97
#2F8D2E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #2F8D2E
4.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F8D2E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##2F8D2E | 1.00 | 4.23 | 4.97 | 4.97 |
| #FFFFFF | 4.23 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.97 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.97 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#908022
Deuteranopia (green-blind)
#857837
Tritanopia (blue-blind)
#1A8979
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #2f8d2e; /* rgb */ color: rgb(47, 141, 46); /* oklch */ color: oklch(56.8% 0.159 143.0);
Tailwind
colors: {
custom: {
50: '#74af6b',
500: '#2f8d2e',
950: '#000000',
},
}SCSS
$custom: #2f8d2e; $custom-light: #74af6b; $custom-dark: #000000;
JSON
{
"hex": "#2f8d2e",
"rgb": {
"r": 47,
"g": 141,
"b": 46
},
"hsl": {
"h": 119.368,
"s": 50.802,
"l": 36.667
},
"oklch": {
"l": 0.56789,
"c": 0.15861,
"h": 143
},
"luminance": 0.19851
}Semantic roles & 50–950 ramp
primary
#2F8D2E
secondary
#B462B5
accent
#4EDAD9
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#091007
muted
#7B7F7A