#2C842C#2C842C
#2C842C is a mid, vivid green. Relative luminance 0.172; OKLCH L 54.2% C 0.150 H 143.2°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).
Color values
| HEX | #2C842C |
|---|---|
| RGB | rgb(44, 132, 44) |
| HSL | hsl(120, 50%, 35%) |
| HSV | hsv(120, 67%, 52%) |
| CMYK | cmyk(66.7%, 0%, 66.7%, 48.2%) |
| CIE-LAB | lab(48.53, -44.16, 38.74) |
| CIE-LCH | lch(48.53, 58.74, 138.74°) |
| OKLab | oklab(54.17% -0.1199 0.0899) |
| OKLCH | oklch(54.17% 0.15 143.2) |
| XYZ | xyz(9.7440, 17.2189, 5.1925) |
| Luminance | 0.1722 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 2.98
Forestgreen (CSS)
#228B22
ΔE00 3.01
Darkish Green
#287C37
ΔE00 4.10
Green
#008000
ΔE00 4.24
Emerald Green
#028F1E
ΔE00 4.55
Dark Grass Green
#388004
ΔE00 4.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C842C #842C84
analogous
#58842C #2C842C #2C8458
triadic
#2C842C #2C2C84 #842C2C
tetradic
#2C842C #2C5884 #842C84 #84582C
square
#2C842C #2C5884 #842C84 #84582C
split-complementary
#2C842C #582C84 #842C58
monochromatic
#0D280D #1D561D #2C842C #3BB23B #60CA60
Accessibility & contrast
On white
4.73
#2C842C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.44
#2C842C on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2C842C
4.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C842C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C842C | 1.00 | 4.73 | 4.44 | 4.73 |
| #FFFFFF | 4.73 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.44 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.73 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#877821
Deuteranopia (green-blind)
#7C7034
Tritanopia (blue-blind)
#188072
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #2c842c; /* rgb */ color: rgb(44, 132, 44); /* oklch */ color: oklch(54.2% 0.150 143.2);
Tailwind
colors: {
custom: {
50: '#71a969',
500: '#2c842c',
950: '#000000',
},
}SCSS
$custom: #2c842c; $custom-light: #71a969; $custom-dark: #000000;
JSON
{
"hex": "#2c842c",
"rgb": {
"r": 44,
"g": 132,
"b": 44
},
"hsl": {
"h": 120,
"s": 50,
"l": 34.51
},
"oklch": {
"l": 0.54168,
"c": 0.14985,
"h": 143.2
},
"luminance": 0.1722
}Semantic roles & 50–950 ramp
primary
#2C842C
secondary
#B05CB0
accent
#4EDADA
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A