#2C791C#2C791C
#2C791C is a mid, vivid green. Relative luminance 0.143; OKLCH L 50.9% C 0.147 H 140.6°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).
Color values
| HEX | #2C791C |
|---|---|
| RGB | rgb(44, 121, 28) |
| HSL | hsl(110, 62%, 29%) |
| HSV | hsv(110, 77%, 47%) |
| CMYK | cmyk(63.6%, 0%, 76.9%, 52.5%) |
| CIE-LAB | lab(44.65, -41.53, 41.40) |
| CIE-LCH | lch(44.65, 58.64, 135.09°) |
| OKLab | oklab(50.91% -0.1137 0.0934) |
| OKLCH | oklch(50.91% 0.147 140.6) |
| XYZ | xyz(8.0853, 14.2933, 3.4312) |
| Luminance | 0.1429 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 1.85
Green
#008000
ΔE00 3.71
Dark Grass Green
#388004
ΔE00 4.09
Darkish Green
#287C37
ΔE00 4.51
Forestgreen (CSS)
#228B22
ΔE00 6.37
Darkgreen
#006400
ΔE00 7.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C791C #691C79
analogous
#5B791C #2C791C #1C793B
triadic
#2C791C #1C2C79 #791C2C
tetradic
#2C791C #1C5B79 #691C79 #793B1C
square
#2C791C #1C5B79 #691C79 #793B1C
split-complementary
#2C791C #3B1C79 #791C5B
monochromatic
#091906 #1A4710 #2C791C #3EAB28 #57D23D
Accessibility & contrast
On white
5.44
#2C791C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.86
#2C791C on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2C791C
5.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C791C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C791C | 1.00 | 5.44 | 3.86 | 5.44 |
| #FFFFFF | 5.44 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.86 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.44 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7C6D0A
Deuteranopia (green-blind)
#736726
Tritanopia (blue-blind)
#217567
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #2c791c; /* rgb */ color: rgb(44, 121, 28); /* oklch */ color: oklch(50.9% 0.147 140.6);
Tailwind
colors: {
custom: {
50: '#70a05f',
500: '#2c791c',
950: '#000000',
},
}SCSS
$custom: #2c791c; $custom-light: #70a05f; $custom-dark: #000000;
JSON
{
"hex": "#2c791c",
"rgb": {
"r": 44,
"g": 121,
"b": 28
},
"hsl": {
"h": 109.677,
"s": 62.416,
"l": 29.216
},
"oklch": {
"l": 0.50914,
"c": 0.14713,
"h": 140.6
},
"luminance": 0.14294
}Semantic roles & 50–950 ramp
primary
#2C791C
secondary
#9B44AD
accent
#42E5C9
background
#F7F9F5
surface
#EDF2EA
border
#C8CCC6
text
#080F05
muted
#7B7E79