#2C851F#2C851F
#2C851F is a mid, vivid green. Relative luminance 0.174; OKLCH L 54.3% C 0.160 H 141.3°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).
Color values
| HEX | #2C851F |
|---|---|
| RGB | rgb(44, 133, 31) |
| HSL | hsl(112, 62%, 32%) |
| HSV | hsv(112, 77%, 52%) |
| CMYK | cmyk(66.9%, 0%, 76.7%, 47.8%) |
| CIE-LAB | lab(48.77, -45.74, 44.39) |
| CIE-LCH | lch(48.77, 63.74, 135.86°) |
| OKLab | oklab(54.33% -0.1249 0.1) |
| OKLCH | oklch(54.33% 0.16 141.3) |
| XYZ | xyz(9.6731, 17.4085, 4.1465) |
| Luminance | 0.1741 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 2.21
Tree Green
#2A7E19
ΔE00 2.50
Green
#008000
ΔE00 3.20
Dark Grass Green
#388004
ΔE00 3.35
Emerald Green
#028F1E
ΔE00 3.82
True Green
#089404
ΔE00 5.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C851F #781F85
analogous
#5F851F #2C851F #1F8545
triadic
#2C851F #1F2C85 #851F2C
tetradic
#2C851F #1F5F85 #781F85 #85451F
square
#2C851F #1F5F85 #781F85 #85451F
split-complementary
#2C851F #451F85 #851F5F
monochromatic
#0B2208 #1C5313 #2C851F #3CB72B #5BD54A
Accessibility & contrast
On white
4.69
#2C851F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.48
#2C851F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2C851F
4.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C851F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C851F | 1.00 | 4.69 | 4.48 | 4.69 |
| #FFFFFF | 4.69 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.48 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.69 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#88780A
Deuteranopia (green-blind)
#7E712A
Tritanopia (blue-blind)
#1B8171
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #2c851f; /* rgb */ color: rgb(44, 133, 31); /* oklch */ color: oklch(54.3% 0.160 141.3);
Tailwind
colors: {
custom: {
50: '#72a962',
500: '#2c851f',
950: '#000000',
},
}SCSS
$custom: #2c851f; $custom-light: #72a962; $custom-dark: #000000;
JSON
{
"hex": "#2c851f",
"rgb": {
"r": 44,
"g": 133,
"b": 31
},
"hsl": {
"h": 112.353,
"s": 62.195,
"l": 32.157
},
"oklch": {
"l": 0.5433,
"c": 0.16004,
"h": 141.3
},
"luminance": 0.17409
}Semantic roles & 50–950 ramp
primary
#2C851F
secondary
#A949B7
accent
#43E5D1
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091005
muted
#7B7F7A