#2C791E#2C791E
#2C791E is a mid, vivid green. Relative luminance 0.143; OKLCH L 50.9% C 0.146 H 140.9°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).
Color values
| HEX | #2C791E |
|---|---|
| RGB | rgb(44, 121, 30) |
| HSL | hsl(111, 60%, 30%) |
| HSV | hsv(111, 75%, 47%) |
| CMYK | cmyk(63.6%, 0%, 75.2%, 52.5%) |
| CIE-LAB | lab(44.66, -41.36, 40.63) |
| CIE-LCH | lch(44.66, 57.98, 135.51°) |
| OKLab | oklab(50.93% -0.1132 0.092) |
| OKLCH | oklch(50.93% 0.146 140.9) |
| XYZ | xyz(8.1100, 14.3032, 3.5615) |
| Luminance | 0.1430 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 1.96
Green
#008000
ΔE00 3.85
Darkish Green
#287C37
ΔE00 4.25
Dark Grass Green
#388004
ΔE00 4.29
Forestgreen (CSS)
#228B22
ΔE00 6.38
Jungle Green
#048243
ΔE00 7.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C791E #6B1E79
analogous
#5A791E #2C791E #1E793D
triadic
#2C791E #1E2C79 #791E2C
tetradic
#2C791E #1E5A79 #6B1E79 #793D1E
square
#2C791E #1E5A79 #6B1E79 #793D1E
split-complementary
#2C791E #3D1E79 #791E5A
monochromatic
#091906 #1A4812 #2C791E #3EAA2A #57D041
Accessibility & contrast
On white
5.44
#2C791E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.86
#2C791E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2C791E
5.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C791E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C791E | 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)
#7C6E0E
Deuteranopia (green-blind)
#736727
Tritanopia (blue-blind)
#207567
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #2c791e; /* rgb */ color: rgb(44, 121, 30); /* oklch */ color: oklch(50.9% 0.146 140.9);
Tailwind
colors: {
custom: {
50: '#70a060',
500: '#2c791e',
950: '#000000',
},
}SCSS
$custom: #2c791e; $custom-light: #70a060; $custom-dark: #000000;
JSON
{
"hex": "#2c791e",
"rgb": {
"r": 44,
"g": 121,
"b": 30
},
"hsl": {
"h": 110.769,
"s": 60.265,
"l": 29.608
},
"oklch": {
"l": 0.5093,
"c": 0.14586,
"h": 140.9
},
"luminance": 0.14304
}Semantic roles & 50–950 ramp
primary
#2C791E
secondary
#9D46AD
accent
#44E3CB
background
#F7F9F5
surface
#EDF2EA
border
#C8CCC6
text
#080F05
muted
#7B7E79