#2C822F#2C822F
#2C822F is a mid, vivid green. Relative luminance 0.167; OKLCH L 53.6% C 0.145 H 143.7°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).
Color values
| HEX | #2C822F |
|---|---|
| RGB | rgb(44, 130, 47) |
| HSL | hsl(122, 49%, 34%) |
| HSV | hsv(122, 66%, 51%) |
| CMYK | cmyk(66.2%, 0%, 63.8%, 49%) |
| CIE-LAB | lab(47.89, -43.05, 36.62) |
| CIE-LCH | lch(47.89, 56.52, 139.62°) |
| OKLab | oklab(53.64% -0.1168 0.0857) |
| OKLCH | oklch(53.64% 0.145 143.7) |
| XYZ | xyz(9.5339, 16.7050, 5.4107) |
| Luminance | 0.1671 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 3.10
Darkish Green
#287C37
ΔE00 3.13
Forestgreen (CSS)
#228B22
ΔE00 3.96
Green
#008000
ΔE00 4.60
Jungle Green
#048243
ΔE00 5.00
Dark Grass Green
#388004
ΔE00 5.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C822F #822C7F
analogous
#54822C #2C822F #2C825A
triadic
#2C822F #2F2C82 #822F2C
tetradic
#2C822F #2C5482 #822C7F #825A2C
square
#2C822F #2C5482 #822C7F #825A2C
split-complementary
#2C822F #5A2C82 #822C54
monochromatic
#0D270E #1D541E #2C822F #3BB040 #5FC963
Accessibility & contrast
On white
4.84
#2C822F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.34
#2C822F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2C822F
4.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C822F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C822F | 1.00 | 4.84 | 4.34 | 4.84 |
| #FFFFFF | 4.84 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.34 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.84 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#857626
Deuteranopia (green-blind)
#7A6F36
Tritanopia (blue-blind)
#187E70
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #2c822f; /* rgb */ color: rgb(44, 130, 47); /* oklch */ color: oklch(53.6% 0.145 143.7);
Tailwind
colors: {
custom: {
50: '#71a76b',
500: '#2c822f',
950: '#000000',
},
}SCSS
$custom: #2c822f; $custom-light: #71a76b; $custom-dark: #000000;
JSON
{
"hex": "#2c822f",
"rgb": {
"r": 44,
"g": 130,
"b": 47
},
"hsl": {
"h": 122.093,
"s": 49.425,
"l": 34.118
},
"oklch": {
"l": 0.53641,
"c": 0.14482,
"h": 143.7
},
"luminance": 0.16706
}Semantic roles & 50–950 ramp
primary
#2C822F
secondary
#AF5BAC
accent
#4FD4D9
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F07
muted
#7B7F7A