#2F8E2F#2F8E2F
#2F8E2F is a mid, vivid green. Relative luminance 0.202; OKLCH L 57.1% C 0.159 H 143.1°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).
Color values
| HEX | #2F8E2F |
|---|---|
| RGB | rgb(47, 142, 47) |
| HSL | hsl(120, 50%, 37%) |
| HSV | hsv(120, 67%, 56%) |
| CMYK | cmyk(66.9%, 0%, 66.9%, 44.3%) |
| CIE-LAB | lab(52.01, -46.88, 41.24) |
| CIE-LCH | lch(52.01, 62.43, 138.66°) |
| OKLab | oklab(57.08% -0.1273 0.0955) |
| OKLCH | oklch(57.08% 0.159 143.1) |
| XYZ | xyz(11.3577, 20.1544, 5.9804) |
| Luminance | 0.2016 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 1.88
Emerald Green
#028F1E
ΔE00 2.46
Kelley Green
#009337
ΔE00 2.94
Irish Green
#019529
ΔE00 2.98
True Green
#089404
ΔE00 4.33
Fern Green
#548D44
ΔE00 4.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F8E2F #8E2F8E
analogous
#5F8E2F #2F8E2F #2F8E5F
triadic
#2F8E2F #2F2F8E #8E2F2F
tetradic
#2F8E2F #2F5F8E #8E2F8E #8E5F2F
square
#2F8E2F #2F5F8E #8E2F8E #8E5F2F
split-complementary
#2F8E2F #5F2F8E #8E2F5F
monochromatic
#113211 #206020 #2F8E2F #3EBC3E #6ACE6A
Accessibility & contrast
On white
4.17
#2F8E2F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.03
#2F8E2F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #2F8E2F
5.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F8E2F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##2F8E2F | 1.00 | 4.17 | 5.03 | 5.03 |
| #FFFFFF | 4.17 | 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)
#918123
Deuteranopia (green-blind)
#867937
Tritanopia (blue-blind)
#198A7A
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #2f8e2f; /* rgb */ color: rgb(47, 142, 47); /* oklch */ color: oklch(57.1% 0.159 143.1);
Tailwind
colors: {
custom: {
50: '#74b06c',
500: '#2f8e2f',
950: '#000000',
},
}SCSS
$custom: #2f8e2f; $custom-light: #74b06c; $custom-dark: #000000;
JSON
{
"hex": "#2f8e2f",
"rgb": {
"r": 47,
"g": 142,
"b": 47
},
"hsl": {
"h": 120,
"s": 50.265,
"l": 37.059
},
"oklch": {
"l": 0.57076,
"c": 0.15912,
"h": 143.1
},
"luminance": 0.20156
}Semantic roles & 50–950 ramp
primary
#2F8E2F
secondary
#B564B5
accent
#4EDADA
background
#F7FAF6
surface
#EEF5EC
border
#C9CFC7
text
#091107
muted
#7B807A