#2F8F1F#2F8F1F
#2F8F1F is a mid, vivid green. Relative luminance 0.203; OKLCH L 57.2% C 0.171 H 141.1°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).
Color values
| HEX | #2F8F1F |
|---|---|
| RGB | rgb(47, 143, 31) |
| HSL | hsl(111, 64%, 34%) |
| HSV | hsv(111, 78%, 56%) |
| CMYK | cmyk(67.1%, 0%, 78.3%, 43.9%) |
| CIE-LAB | lab(52.23, -48.65, 47.82) |
| CIE-LCH | lch(52.23, 68.22, 135.49°) |
| OKLab | oklab(57.22% -0.133 0.1072) |
| OKLCH | oklch(57.22% 0.171 141.1) |
| XYZ | xyz(11.2415, 20.3470, 4.6310) |
| Luminance | 0.2035 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 2.00
Emerald Green
#028F1E
ΔE00 2.14
True Green
#089404
ΔE00 2.68
Irish Green
#019529
ΔE00 3.09
Kelley Green
#009337
ΔE00 4.34
Grass Green
#3F9B0B
ΔE00 5.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F8F1F #7F1F8F
analogous
#678F1F #2F8F1F #1F8F47
triadic
#2F8F1F #1F2F8F #8F1F2F
tetradic
#2F8F1F #1F678F #7F1F8F #8F471F
square
#2F8F1F #1F678F #7F1F8F #8F471F
split-complementary
#2F8F1F #471F8F #8F1F67
monochromatic
#0E2A09 #1E5D14 #2F8F1F #40C12A #63D94F
Accessibility & contrast
On white
4.14
#2F8F1F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.07
#2F8F1F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #2F8F1F
5.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F8F1F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##2F8F1F | 1.00 | 4.14 | 5.07 | 5.07 |
| #FFFFFF | 4.14 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.07 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.07 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#938104
Deuteranopia (green-blind)
#877A2C
Tritanopia (blue-blind)
#1D8A7A
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #2f8f1f; /* rgb */ color: rgb(47, 143, 31); /* oklch */ color: oklch(57.2% 0.171 141.1);
Tailwind
colors: {
custom: {
50: '#75b164',
500: '#2f8f1f',
950: '#000000',
},
}SCSS
$custom: #2f8f1f; $custom-light: #75b164; $custom-dark: #000000;
JSON
{
"hex": "#2f8f1f",
"rgb": {
"r": 47,
"g": 143,
"b": 31
},
"hsl": {
"h": 111.429,
"s": 64.368,
"l": 34.118
},
"oklch": {
"l": 0.57217,
"c": 0.17077,
"h": 141.1
},
"luminance": 0.20348
}Semantic roles & 50–950 ramp
primary
#2F8F1F
secondary
#AC4EBC
accent
#40E7D0
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#091106
muted
#7B807A