#2F8E2E#2F8E2E
#2F8E2E is a mid, vivid green. Relative luminance 0.201; OKLCH L 57.1% C 0.160 H 143.0°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).
Color values
| HEX | #2F8E2E |
|---|---|
| RGB | rgb(47, 142, 46) |
| HSL | hsl(119, 51%, 37%) |
| HSV | hsv(119, 68%, 56%) |
| CMYK | cmyk(66.9%, 0%, 67.6%, 44.3%) |
| CIE-LAB | lab(52.00, -46.98, 41.67) |
| CIE-LCH | lch(52.00, 62.80, 138.43°) |
| OKLab | oklab(57.07% -0.1276 0.0963) |
| OKLCH | oklch(57.07% 0.16 143) |
| XYZ | xyz(11.3378, 20.1464, 5.8754) |
| Luminance | 0.2015 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 1.79
Emerald Green
#028F1E
ΔE00 2.38
Irish Green
#019529
ΔE00 2.95
Kelley Green
#009337
ΔE00 3.02
True Green
#089404
ΔE00 4.21
Fern Green
#548D44
ΔE00 4.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F8E2E #8D2E8E
analogous
#5F8E2E #2F8E2E #2E8E5D
triadic
#2F8E2E #2E2F8E #8E2E2F
tetradic
#2F8E2E #2E5F8E #8D2E8E #8E5D2E
square
#2F8E2E #2E5F8E #8D2E8E #8E5D2E
split-complementary
#2F8E2E #5D2E8E #8E2E5F
monochromatic
#103210 #20601F #2F8E2E #3EBC3D #69CE68
Accessibility & contrast
On white
4.18
#2F8E2E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.03
#2F8E2E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #2F8E2E
5.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F8E2E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##2F8E2E | 1.00 | 4.18 | 5.03 | 5.03 |
| #FFFFFF | 4.18 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.03 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.03 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#918122
Deuteranopia (green-blind)
#867937
Tritanopia (blue-blind)
#1A8A7A
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #2f8e2e; /* rgb */ color: rgb(47, 142, 46); /* oklch */ color: oklch(57.1% 0.160 143.0);
Tailwind
colors: {
custom: {
50: '#74b06b',
500: '#2f8e2e',
950: '#000000',
},
}SCSS
$custom: #2f8e2e; $custom-light: #74b06b; $custom-dark: #000000;
JSON
{
"hex": "#2f8e2e",
"rgb": {
"r": 47,
"g": 142,
"b": 46
},
"hsl": {
"h": 119.375,
"s": 51.064,
"l": 36.863
},
"oklch": {
"l": 0.57066,
"c": 0.15986,
"h": 143
},
"luminance": 0.20148
}Semantic roles & 50–950 ramp
primary
#2F8E2E
secondary
#B463B5
accent
#4DDBD9
background
#F7FAF6
surface
#EEF5EB
border
#C9CFC6
text
#091107
muted
#7B807A