#2F8F2E#2F8F2E
#2F8F2E is a mid, vivid green. Relative luminance 0.204; OKLCH L 57.3% C 0.161 H 143.0°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).
Color values
| HEX | #2F8F2E |
|---|---|
| RGB | rgb(47, 143, 46) |
| HSL | hsl(119, 51%, 37%) |
| HSV | hsv(119, 68%, 56%) |
| CMYK | cmyk(67.1%, 0%, 67.8%, 43.9%) |
| CIE-LAB | lab(52.34, -47.35, 42.03) |
| CIE-LCH | lch(52.34, 63.31, 138.40°) |
| OKLab | oklab(57.34% -0.1286 0.097) |
| OKLCH | oklch(57.34% 0.161 143) |
| XYZ | xyz(11.4872, 20.4453, 5.9252) |
| Luminance | 0.2045 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 1.99
Emerald Green
#028F1E
ΔE00 2.34
Irish Green
#019529
ΔE00 2.69
Kelley Green
#009337
ΔE00 2.91
True Green
#089404
ΔE00 4.01
Fern Green
#548D44
ΔE00 5.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F8F2E #8E2E8F
analogous
#608F2E #2F8F2E #2E8F5D
triadic
#2F8F2E #2E2F8F #8F2E2F
tetradic
#2F8F2E #2E608F #8E2E8F #8F5D2E
square
#2F8F2E #2E608F #8E2E8F #8F5D2E
split-complementary
#2F8F2E #5D2E8F #8F2E60
monochromatic
#113210 #20611F #2F8F2E #3EBD3D #6ACF69
Accessibility & contrast
On white
4.13
#2F8F2E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.09
#2F8F2E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #2F8F2E
5.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F8F2E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##2F8F2E | 1.00 | 4.13 | 5.09 | 5.09 |
| #FFFFFF | 4.13 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.09 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.09 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#928221
Deuteranopia (green-blind)
#877A37
Tritanopia (blue-blind)
#198B7B
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #2f8f2e; /* rgb */ color: rgb(47, 143, 46); /* oklch */ color: oklch(57.3% 0.161 143.0);
Tailwind
colors: {
custom: {
50: '#75b16b',
500: '#2f8f2e',
950: '#000000',
},
}SCSS
$custom: #2f8f2e; $custom-light: #75b16b; $custom-dark: #000000;
JSON
{
"hex": "#2f8f2e",
"rgb": {
"r": 47,
"g": 143,
"b": 46
},
"hsl": {
"h": 119.381,
"s": 51.323,
"l": 37.059
},
"oklch": {
"l": 0.57343,
"c": 0.16112,
"h": 143
},
"luminance": 0.20447
}Semantic roles & 50–950 ramp
primary
#2F8F2E
secondary
#B563B6
accent
#4DDBD9
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#091107
muted
#7B807A