#2C791A#2C791A
#2C791A is a mid, vivid green. Relative luminance 0.143; OKLCH L 50.9% C 0.148 H 140.4°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).
Color values
| HEX | #2C791A |
|---|---|
| RGB | rgb(44, 121, 26) |
| HSL | hsl(109, 65%, 29%) |
| HSV | hsv(109, 79%, 47%) |
| CMYK | cmyk(63.6%, 0%, 78.5%, 52.5%) |
| CIE-LAB | lab(44.64, -41.68, 42.13) |
| CIE-LCH | lch(44.64, 59.26, 134.69°) |
| OKLab | oklab(50.9% -0.1142 0.0946) |
| OKLCH | oklch(50.9% 0.148 140.4) |
| XYZ | xyz(8.0622, 14.2840, 3.3093) |
| Luminance | 0.1429 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 1.79
Green
#008000
ΔE00 3.59
Dark Grass Green
#388004
ΔE00 3.91
Darkish Green
#287C37
ΔE00 4.76
Forestgreen (CSS)
#228B22
ΔE00 6.37
Darkgreen
#006400
ΔE00 7.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C791A #671A79
analogous
#5C791A #2C791A #1A7938
triadic
#2C791A #1A2C79 #791A2C
tetradic
#2C791A #1A5C79 #671A79 #79381A
square
#2C791A #1A5C79 #671A79 #79381A
split-complementary
#2C791A #381A79 #791A5C
monochromatic
#091905 #1A470F #2C791A #3EAB25 #56D439
Accessibility & contrast
On white
5.44
#2C791A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.86
#2C791A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2C791A
5.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C791A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C791A | 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)
#7C6D05
Deuteranopia (green-blind)
#736724
Tritanopia (blue-blind)
#217567
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #2c791a; /* rgb */ color: rgb(44, 121, 26); /* oklch */ color: oklch(50.9% 0.148 140.4);
Tailwind
colors: {
custom: {
50: '#70a05e',
500: '#2c791a',
950: '#000000',
},
}SCSS
$custom: #2c791a; $custom-light: #70a05e; $custom-dark: #000000;
JSON
{
"hex": "#2c791a",
"rgb": {
"r": 44,
"g": 121,
"b": 26
},
"hsl": {
"h": 108.632,
"s": 64.626,
"l": 28.824
},
"oklch": {
"l": 0.50899,
"c": 0.14833,
"h": 140.4
},
"luminance": 0.14285
}Semantic roles & 50–950 ramp
primary
#2C791A
secondary
#9941AD
accent
#40E8C8
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080F05
muted
#7B7E79