#2C852C#2C852C
#2C852C is a mid, vivid green. Relative luminance 0.175; OKLCH L 54.4% C 0.151 H 143.1°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).
Color values
| HEX | #2C852C |
|---|---|
| RGB | rgb(44, 133, 44) |
| HSL | hsl(120, 50%, 35%) |
| HSV | hsv(120, 67%, 52%) |
| CMYK | cmyk(66.9%, 0%, 66.9%, 47.8%) |
| CIE-LAB | lab(48.87, -44.53, 39.11) |
| CIE-LCH | lch(48.87, 59.27, 138.71°) |
| OKLab | oklab(54.45% -0.1209 0.0906) |
| OKLCH | oklch(54.45% 0.151 143.1) |
| XYZ | xyz(9.8803, 17.4914, 5.2379) |
| Luminance | 0.1749 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 2.68
Tree Green
#2A7E19
ΔE00 3.19
Emerald Green
#028F1E
ΔE00 4.22
Green
#008000
ΔE00 4.32
Darkish Green
#287C37
ΔE00 4.42
Dark Grass Green
#388004
ΔE00 4.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C852C #852C85
analogous
#59852C #2C852C #2C8559
triadic
#2C852C #2C2C85 #852C2C
tetradic
#2C852C #2C5985 #852C85 #85592C
square
#2C852C #2C5985 #852C85 #85592C
split-complementary
#2C852C #592C85 #852C59
monochromatic
#0E290E #1D571D #2C852C #3BB33B #61CB61
Accessibility & contrast
On white
4.67
#2C852C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.50
#2C852C on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #2C852C
4.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C852C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C852C | 1.00 | 4.67 | 4.50 | 4.67 |
| #FFFFFF | 4.67 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.50 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.67 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#887921
Deuteranopia (green-blind)
#7D7134
Tritanopia (blue-blind)
#188173
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #2c852c; /* rgb */ color: rgb(44, 133, 44); /* oklch */ color: oklch(54.4% 0.151 143.1);
Tailwind
colors: {
custom: {
50: '#71a969',
500: '#2c852c',
950: '#000000',
},
}SCSS
$custom: #2c852c; $custom-light: #71a969; $custom-dark: #000000;
JSON
{
"hex": "#2c852c",
"rgb": {
"r": 44,
"g": 133,
"b": 44
},
"hsl": {
"h": 120,
"s": 50.282,
"l": 34.706
},
"oklch": {
"l": 0.54448,
"c": 0.15113,
"h": 143.1
},
"luminance": 0.17492
}Semantic roles & 50–950 ramp
primary
#2C852C
secondary
#B15CB1
accent
#4EDADA
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A