#2F8E1F#2F8E1F
#2F8E1F is a mid, vivid green. Relative luminance 0.200; OKLCH L 56.9% C 0.170 H 141.1°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).
Color values
| HEX | #2F8E1F |
|---|---|
| RGB | rgb(47, 142, 31) |
| HSL | hsl(111, 64%, 34%) |
| HSV | hsv(111, 78%, 56%) |
| CMYK | cmyk(66.9%, 0%, 78.2%, 44.3%) |
| CIE-LAB | lab(51.89, -48.30, 47.49) |
| CIE-LCH | lch(51.89, 67.74, 135.48°) |
| OKLab | oklab(56.94% -0.132 0.1065) |
| OKLCH | oklch(56.94% 0.17 141.1) |
| XYZ | xyz(11.0920, 20.0481, 4.5812) |
| Luminance | 0.2005 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 1.73
Emerald Green
#028F1E
ΔE00 2.12
True Green
#089404
ΔE00 2.93
Irish Green
#019529
ΔE00 3.29
Kelley Green
#009337
ΔE00 4.40
Grass Green
#3F9B0B
ΔE00 5.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F8E1F #7E1F8E
analogous
#678E1F #2F8E1F #1F8E47
triadic
#2F8E1F #1F2F8E #8E1F2F
tetradic
#2F8E1F #1F678E #7E1F8E #8E471F
square
#2F8E1F #1F678E #7E1F8E #8E471F
split-complementary
#2F8E1F #471F8E #8E1F67
monochromatic
#0E2A09 #1E5C14 #2F8E1F #40C02A #63D94F
Accessibility & contrast
On white
4.19
#2F8E1F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.01
#2F8E1F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #2F8E1F
5.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F8E1F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##2F8E1F | 1.00 | 4.19 | 5.01 | 5.01 |
| #FFFFFF | 4.19 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.01 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.01 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#928004
Deuteranopia (green-blind)
#86792B
Tritanopia (blue-blind)
#1D8979
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #2f8e1f; /* rgb */ color: rgb(47, 142, 31); /* oklch */ color: oklch(56.9% 0.170 141.1);
Tailwind
colors: {
custom: {
50: '#75b063',
500: '#2f8e1f',
950: '#000000',
},
}SCSS
$custom: #2f8e1f; $custom-light: #75b063; $custom-dark: #000000;
JSON
{
"hex": "#2f8e1f",
"rgb": {
"r": 47,
"g": 142,
"b": 31
},
"hsl": {
"h": 111.351,
"s": 64.162,
"l": 33.922
},
"oklch": {
"l": 0.56939,
"c": 0.1696,
"h": 141.1
},
"luminance": 0.20049
}Semantic roles & 50–950 ramp
primary
#2F8E1F
secondary
#AC4DBB
accent
#41E7CF
background
#F7FAF6
surface
#EEF5EB
border
#C9CFC6
text
#091106
muted
#7B807A