#2F861C#2F861C
#2F861C is a mid, vivid green. Relative luminance 0.177; OKLCH L 54.7% C 0.162 H 140.6°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).
Color values
| HEX | #2F861C |
|---|---|
| RGB | rgb(47, 134, 28) |
| HSL | hsl(109, 65%, 32%) |
| HSV | hsv(109, 79%, 53%) |
| CMYK | cmyk(64.9%, 0%, 79.1%, 47.5%) |
| CIE-LAB | lab(49.18, -45.63, 45.89) |
| CIE-LCH | lch(49.18, 64.71, 134.84°) |
| OKLab | oklab(54.68% -0.125 0.1027) |
| OKLCH | oklch(54.68% 0.162 140.6) |
| XYZ | xyz(9.9065, 17.7374, 4.0000) |
| Luminance | 0.1774 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 2.10
Tree Green
#2A7E19
ΔE00 2.91
Dark Grass Green
#388004
ΔE00 3.10
Green
#008000
ΔE00 3.44
Emerald Green
#028F1E
ΔE00 3.66
True Green
#089404
ΔE00 5.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F861C #731C86
analogous
#64861C #2F861C #1C863E
triadic
#2F861C #1C2F86 #861C2F
tetradic
#2F861C #1C6486 #731C86 #863E1C
square
#2F861C #1C6486 #731C86 #863E1C
split-complementary
#2F861C #3E1C86 #861C64
monochromatic
#0B2107 #1D5311 #2F861C #41B927 #5FD844
Accessibility & contrast
On white
4.62
#2F861C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.55
#2F861C on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #2F861C
4.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F861C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F861C | 1.00 | 4.62 | 4.55 | 4.62 |
| #FFFFFF | 4.62 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.62 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8A7902
Deuteranopia (green-blind)
#7F7228
Tritanopia (blue-blind)
#218272
Achromatopsia (no color)
#757575
Design tokens & code
CSS
--color: #2f861c; /* rgb */ color: rgb(47, 134, 28); /* oklch */ color: oklch(54.7% 0.162 140.6);
Tailwind
colors: {
custom: {
50: '#74aa61',
500: '#2f861c',
950: '#000000',
},
}SCSS
$custom: #2f861c; $custom-light: #74aa61; $custom-dark: #000000;
JSON
{
"hex": "#2f861c",
"rgb": {
"r": 47,
"g": 134,
"b": 28
},
"hsl": {
"h": 109.245,
"s": 65.432,
"l": 31.765
},
"oklch": {
"l": 0.54684,
"c": 0.16174,
"h": 140.6
},
"luminance": 0.17738
}Semantic roles & 50–950 ramp
primary
#2F861C
secondary
#A445B9
accent
#3FE8CA
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091005
muted
#7B7F7A