#2C7C2E#2C7C2E
#2C7C2E is a mid, vivid green. Relative luminance 0.151; OKLCH L 51.9% C 0.138 H 143.7°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).
Color values
| HEX | #2C7C2E |
|---|---|
| RGB | rgb(44, 124, 46) |
| HSL | hsl(122, 48%, 33%) |
| HSV | hsv(122, 65%, 49%) |
| CMYK | cmyk(64.5%, 0%, 62.9%, 51.4%) |
| CIE-LAB | lab(45.84, -40.86, 34.77) |
| CIE-LCH | lch(45.84, 53.65, 139.61°) |
| OKLab | oklab(51.94% -0.1109 0.0816) |
| OKLCH | oklch(51.94% 0.138 143.7) |
| XYZ | xyz(8.7390, 15.1472, 5.0474) |
| Luminance | 0.1515 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 1.88
Tree Green
#2A7E19
ΔE00 3.24
Jungle Green
#048243
ΔE00 5.05
Green
#008000
ΔE00 5.07
Dark Grass Green
#388004
ΔE00 5.84
Forestgreen (CSS)
#228B22
ΔE00 5.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C7C2E #7C2C7A
analogous
#527C2C #2C7C2E #2C7C56
triadic
#2C7C2E #2E2C7C #7C2E2C
tetradic
#2C7C2E #2C527C #7C2C7A #7C562C
square
#2C7C2E #2C527C #7C2C7A #7C562C
split-complementary
#2C7C2E #562C7C #7C2C52
monochromatic
#0C220C #1C4F1D #2C7C2E #3CA93F #5DC560
Accessibility & contrast
On white
5.21
#2C7C2E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.03
#2C7C2E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2C7C2E
5.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C7C2E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C7C2E | 1.00 | 5.21 | 4.03 | 5.21 |
| #FFFFFF | 5.21 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.03 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.21 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7E7126
Deuteranopia (green-blind)
#756A34
Tritanopia (blue-blind)
#1B796B
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #2c7c2e; /* rgb */ color: rgb(44, 124, 46); /* oklch */ color: oklch(51.9% 0.138 143.7);
Tailwind
colors: {
custom: {
50: '#6fa36a',
500: '#2c7c2e',
950: '#000000',
},
}SCSS
$custom: #2c7c2e; $custom-light: #6fa36a; $custom-dark: #000000;
JSON
{
"hex": "#2c7c2e",
"rgb": {
"r": 44,
"g": 124,
"b": 46
},
"hsl": {
"h": 121.5,
"s": 47.619,
"l": 32.941
},
"oklch": {
"l": 0.51943,
"c": 0.13766,
"h": 143.7
},
"luminance": 0.15148
}Semantic roles & 50–950 ramp
primary
#2C7C2E
secondary
#AC58AA
accent
#51D4D7
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F06
muted
#7B7F7A