#2C7E2D#2C7E2D
#2C7E2D is a mid, vivid green. Relative luminance 0.156; OKLCH L 52.5% C 0.141 H 143.4°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).
Color values
| HEX | #2C7E2D |
|---|---|
| RGB | rgb(44, 126, 45) |
| HSL | hsl(121, 48%, 33%) |
| HSV | hsv(121, 65%, 49%) |
| CMYK | cmyk(65.1%, 0%, 64.3%, 50.6%) |
| CIE-LAB | lab(46.51, -41.76, 36.01) |
| CIE-LCH | lch(46.51, 55.14, 139.23°) |
| OKLab | oklab(52.49% -0.1134 0.0842) |
| OKLCH | oklch(52.49% 0.141 143.4) |
| XYZ | xyz(8.9727, 15.6458, 5.0292) |
| Luminance | 0.1565 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 2.35
Tree Green
#2A7E19
ΔE00 2.79
Green
#008000
ΔE00 4.60
Jungle Green
#048243
ΔE00 5.13
Forestgreen (CSS)
#228B22
ΔE00 5.19
Dark Grass Green
#388004
ΔE00 5.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C7E2D #7E2C7D
analogous
#547E2C #2C7E2D #2C7E56
triadic
#2C7E2D #2D2C7E #7E2D2C
tetradic
#2C7E2D #2C547E #7E2C7D #7E562C
square
#2C7E2D #2C547E #7E2C7D #7E562C
split-complementary
#2C7E2D #562C7E #7E2C54
monochromatic
#0C230D #1C511D #2C7E2D #3CAB3D #5EC75F
Accessibility & contrast
On white
5.09
#2C7E2D on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.13
#2C7E2D on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2C7E2D
5.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C7E2D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C7E2D | 1.00 | 5.09 | 4.13 | 5.09 |
| #FFFFFF | 5.09 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.09 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#817224
Deuteranopia (green-blind)
#776C34
Tritanopia (blue-blind)
#1B7A6D
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #2c7e2d; /* rgb */ color: rgb(44, 126, 45); /* oklch */ color: oklch(52.5% 0.141 143.4);
Tailwind
colors: {
custom: {
50: '#70a469',
500: '#2c7e2d',
950: '#000000',
},
}SCSS
$custom: #2c7e2d; $custom-light: #70a469; $custom-dark: #000000;
JSON
{
"hex": "#2c7e2d",
"rgb": {
"r": 44,
"g": 126,
"b": 45
},
"hsl": {
"h": 120.732,
"s": 48.235,
"l": 33.333
},
"oklch": {
"l": 0.52494,
"c": 0.14119,
"h": 143.4
},
"luminance": 0.15647
}Semantic roles & 50–950 ramp
primary
#2C7E2D
secondary
#AD59AC
accent
#50D6D8
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F06
muted
#7B7F7A