#2C851E#2C851E
#2C851E is a mid, vivid green. Relative luminance 0.174; OKLCH L 54.3% C 0.161 H 141.2°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).
Color values
| HEX | #2C851E |
|---|---|
| RGB | rgb(44, 133, 30) |
| HSL | hsl(112, 63%, 32%) |
| HSV | hsv(112, 77%, 52%) |
| CMYK | cmyk(66.9%, 0%, 77.4%, 47.8%) |
| CIE-LAB | lab(48.76, -45.82, 44.75) |
| CIE-LCH | lch(48.76, 64.04, 135.68°) |
| OKLab | oklab(54.32% -0.1252 0.1006) |
| OKLCH | oklch(54.32% 0.161 141.2) |
| XYZ | xyz(9.6601, 17.4033, 4.0781) |
| Luminance | 0.1740 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 2.22
Tree Green
#2A7E19
ΔE00 2.49
Green
#008000
ΔE00 3.15
Dark Grass Green
#388004
ΔE00 3.26
Emerald Green
#028F1E
ΔE00 3.82
True Green
#089404
ΔE00 5.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C851E #771E85
analogous
#60851E #2C851E #1E8544
triadic
#2C851E #1E2C85 #851E2C
tetradic
#2C851E #1E6085 #771E85 #85441E
square
#2C851E #1E6085 #771E85 #85441E
split-complementary
#2C851E #441E85 #851E60
monochromatic
#0B2107 #1B5313 #2C851E #3DB729 #5BD648
Accessibility & contrast
On white
4.69
#2C851E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.48
#2C851E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2C851E
4.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C851E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C851E | 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)
#887807
Deuteranopia (green-blind)
#7E7129
Tritanopia (blue-blind)
#1C8171
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #2c851e; /* rgb */ color: rgb(44, 133, 30); /* oklch */ color: oklch(54.3% 0.161 141.2);
Tailwind
colors: {
custom: {
50: '#72a962',
500: '#2c851e',
950: '#000000',
},
}SCSS
$custom: #2c851e; $custom-light: #72a962; $custom-dark: #000000;
JSON
{
"hex": "#2c851e",
"rgb": {
"r": 44,
"g": 133,
"b": 30
},
"hsl": {
"h": 111.845,
"s": 63.19,
"l": 31.961
},
"oklch": {
"l": 0.54323,
"c": 0.16062,
"h": 141.2
},
"luminance": 0.17404
}Semantic roles & 50–950 ramp
primary
#2C851E
secondary
#A847B8
accent
#42E6D0
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091005
muted
#7B7F7A