#2F8E18#2F8E18
#2F8E18 is a mid, vivid green. Relative luminance 0.200; OKLCH L 56.9% C 0.173 H 140.5°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).
Color values
| HEX | #2F8E18 |
|---|---|
| RGB | rgb(47, 142, 24) |
| HSL | hsl(108, 71%, 33%) |
| HSV | hsv(108, 83%, 56%) |
| CMYK | cmyk(66.9%, 0%, 83.1%, 44.3%) |
| CIE-LAB | lab(51.85, -48.74, 49.70) |
| CIE-LCH | lch(51.85, 69.61, 134.44°) |
| OKLab | oklab(56.9% -0.1336 0.1101) |
| OKLCH | oklch(56.9% 0.173 140.5) |
| XYZ | xyz(11.0096, 20.0152, 4.1471) |
| Luminance | 0.2002 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 2.18
Emerald Green
#028F1E
ΔE00 2.44
True Green
#089404
ΔE00 2.66
Irish Green
#019529
ΔE00 3.66
Kelley Green
#009337
ΔE00 4.99
Grass Green
#3F9B0B
ΔE00 5.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F8E18 #77188E
analogous
#6A8E18 #2F8E18 #188E3C
triadic
#2F8E18 #182F8E #8E182F
tetradic
#2F8E18 #186A8E #77188E #8E3C18
square
#2F8E18 #186A8E #77188E #8E3C18
split-complementary
#2F8E18 #3C188E #8E186A
monochromatic
#0C2506 #1E5A0F #2F8E18 #40C221 #60DF41
Accessibility & contrast
On white
4.20
#2F8E18 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.00
#2F8E18 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #2F8E18
5.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F8E18 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##2F8E18 | 1.00 | 4.20 | 5.00 | 5.00 |
| #FFFFFF | 4.20 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.00 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.00 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#928000
Deuteranopia (green-blind)
#877927
Tritanopia (blue-blind)
#1E8979
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #2f8e18; /* rgb */ color: rgb(47, 142, 24); /* oklch */ color: oklch(56.9% 0.173 140.5);
Tailwind
colors: {
custom: {
50: '#76b060',
500: '#2f8e18',
950: '#000000',
},
}SCSS
$custom: #2f8e18; $custom-light: #76b060; $custom-dark: #000000;
JSON
{
"hex": "#2f8e18",
"rgb": {
"r": 47,
"g": 142,
"b": 24
},
"hsl": {
"h": 108.305,
"s": 71.084,
"l": 32.549
},
"oklch": {
"l": 0.56896,
"c": 0.17307,
"h": 140.5
},
"luminance": 0.20016
}Semantic roles & 50–950 ramp
primary
#2F8E18
secondary
#A742C0
accent
#3AEECB
background
#F7FAF6
surface
#EEF5EB
border
#C9CFC6
text
#0A1105
muted
#7C807A