#2C861F#2C861F
#2C861F is a mid, vivid green. Relative luminance 0.177; OKLCH L 54.6% C 0.161 H 141.3°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).
Color values
| HEX | #2C861F |
|---|---|
| RGB | rgb(44, 134, 31) |
| HSL | hsl(112, 62%, 32%) |
| HSV | hsv(112, 77%, 53%) |
| CMYK | cmyk(67.2%, 0%, 76.9%, 47.5%) |
| CIE-LAB | lab(49.11, -46.10, 44.72) |
| CIE-LCH | lch(49.11, 64.23, 135.87°) |
| OKLab | oklab(54.61% -0.1259 0.1007) |
| OKLCH | oklch(54.61% 0.161 141.3) |
| XYZ | xyz(9.8106, 17.6836, 4.1923) |
| Luminance | 0.1769 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 1.88
Tree Green
#2A7E19
ΔE00 2.85
Green
#008000
ΔE00 3.40
Dark Grass Green
#388004
ΔE00 3.50
Emerald Green
#028F1E
ΔE00 3.50
True Green
#089404
ΔE00 5.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C861F #791F86
analogous
#60861F #2C861F #1F8645
triadic
#2C861F #1F2C86 #861F2C
tetradic
#2C861F #1F6086 #791F86 #86451F
square
#2C861F #1F6086 #791F86 #86451F
split-complementary
#2C861F #451F86 #861F60
monochromatic
#0B2308 #1C5414 #2C861F #3CB82A #5CD54A
Accessibility & contrast
On white
4.63
#2C861F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.54
#2C861F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #2C861F
4.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C861F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C861F | 1.00 | 4.63 | 4.54 | 4.63 |
| #FFFFFF | 4.63 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.63 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#897909
Deuteranopia (green-blind)
#7F722A
Tritanopia (blue-blind)
#1B8272
Achromatopsia (no color)
#757575
Design tokens & code
CSS
--color: #2c861f; /* rgb */ color: rgb(44, 134, 31); /* oklch */ color: oklch(54.6% 0.161 141.3);
Tailwind
colors: {
custom: {
50: '#72aa62',
500: '#2c861f',
950: '#000000',
},
}SCSS
$custom: #2c861f; $custom-light: #72aa62; $custom-dark: #000000;
JSON
{
"hex": "#2c861f",
"rgb": {
"r": 44,
"g": 134,
"b": 31
},
"hsl": {
"h": 112.427,
"s": 62.424,
"l": 32.353
},
"oklch": {
"l": 0.54611,
"c": 0.16124,
"h": 141.3
},
"luminance": 0.17685
}Semantic roles & 50–950 ramp
primary
#2C861F
secondary
#AA49B8
accent
#42E5D1
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091005
muted
#7B7F7A