#2C7628#2C7628
#2C7628 is a mid, vivid green. Relative luminance 0.136; OKLCH L 50.2% C 0.135 H 142.5°. Best body text is #FFFFFF at 5.63:1 contrast (WCAG AA passes).
Color values
| HEX | #2C7628 |
|---|---|
| RGB | rgb(44, 118, 40) |
| HSL | hsl(117, 49%, 31%) |
| HSV | hsv(117, 66%, 46%) |
| CMYK | cmyk(62.7%, 0%, 66.1%, 53.7%) |
| CIE-LAB | lab(43.72, -39.21, 35.26) |
| CIE-LCH | lch(43.72, 52.73, 138.04°) |
| OKLab | oklab(50.18% -0.1067 0.082) |
| OKLCH | oklch(50.18% 0.135 142.5) |
| XYZ | xyz(7.8997, 13.6448, 4.2245) |
| Luminance | 0.1365 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 3.12
Tree Green
#2A7E19
ΔE00 3.88
Green
#008000
ΔE00 5.64
Dark Grass Green
#388004
ΔE00 6.28
Jungle Green
#048243
ΔE00 6.52
Darkgreen
#006400
ΔE00 7.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C7628 #722876
analogous
#537628 #2C7628 #28764B
triadic
#2C7628 #282C76 #76282C
tetradic
#2C7628 #285376 #722876 #764B28
square
#2C7628 #285376 #722876 #764B28
split-complementary
#2C7628 #4B2876 #762853
monochromatic
#0A1B09 #1B4819 #2C7628 #3DA437 #59C554
Accessibility & contrast
On white
5.63
#2C7628 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.73
#2C7628 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2C7628
5.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C7628 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C7628 | 1.00 | 5.63 | 3.73 | 5.63 |
| #FFFFFF | 5.63 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.73 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.63 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#796B1F
Deuteranopia (green-blind)
#6F652F
Tritanopia (blue-blind)
#1F7266
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #2c7628; /* rgb */ color: rgb(44, 118, 40); /* oklch */ color: oklch(50.2% 0.135 142.5);
Tailwind
colors: {
custom: {
50: '#6e9e65',
500: '#2c7628',
950: '#000000',
},
}SCSS
$custom: #2c7628; $custom-light: #6e9e65; $custom-dark: #000000;
JSON
{
"hex": "#2c7628",
"rgb": {
"r": 44,
"g": 118,
"b": 40
},
"hsl": {
"h": 116.923,
"s": 49.367,
"l": 30.98
},
"oklch": {
"l": 0.50176,
"c": 0.13459,
"h": 142.5
},
"luminance": 0.13646
}Semantic roles & 50–950 ramp
primary
#2C7628
secondary
#A452A8
accent
#4FD9D2
background
#F7F9F6
surface
#EDF2EB
border
#C8CCC6
text
#080E06
muted
#7B7E7A