#2C7F2D#2C7F2D
#2C7F2D is a mid, vivid green. Relative luminance 0.159; OKLCH L 52.8% C 0.143 H 143.4°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).
Color values
| HEX | #2C7F2D |
|---|---|
| RGB | rgb(44, 127, 45) |
| HSL | hsl(121, 49%, 34%) |
| HSV | hsv(121, 65%, 50%) |
| CMYK | cmyk(65.4%, 0%, 64.6%, 50.2%) |
| CIE-LAB | lab(46.85, -42.14, 36.39) |
| CIE-LCH | lch(46.85, 55.68, 139.19°) |
| OKLab | oklab(52.78% -0.1144 0.085) |
| OKLCH | oklch(52.78% 0.143 143.4) |
| XYZ | xyz(9.1012, 15.9028, 5.0720) |
| Luminance | 0.1590 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 2.57
Tree Green
#2A7E19
ΔE00 2.72
Green
#008000
ΔE00 4.49
Forestgreen (CSS)
#228B22
ΔE00 4.83
Jungle Green
#048243
ΔE00 5.13
Dark Grass Green
#388004
ΔE00 5.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C7F2D #7F2C7E
analogous
#547F2C #2C7F2D #2C7F56
triadic
#2C7F2D #2D2C7F #7F2D2C
tetradic
#2C7F2D #2C547F #7F2C7E #7F562C
square
#2C7F2D #2C547F #7F2C7E #7F562C
split-complementary
#2C7F2D #562C7F #7F2C54
monochromatic
#0D240D #1C521D #2C7F2D #3CAC3D #5EC75F
Accessibility & contrast
On white
5.02
#2C7F2D on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.18
#2C7F2D on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2C7F2D
5.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C7F2D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C7F2D | 1.00 | 5.02 | 4.18 | 5.02 |
| #FFFFFF | 5.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#827324
Deuteranopia (green-blind)
#776C34
Tritanopia (blue-blind)
#1B7B6E
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #2c7f2d; /* rgb */ color: rgb(44, 127, 45); /* oklch */ color: oklch(52.8% 0.143 143.4);
Tailwind
colors: {
custom: {
50: '#70a569',
500: '#2c7f2d',
950: '#000000',
},
}SCSS
$custom: #2c7f2d; $custom-light: #70a569; $custom-dark: #000000;
JSON
{
"hex": "#2c7f2d",
"rgb": {
"r": 44,
"g": 127,
"b": 45
},
"hsl": {
"h": 120.723,
"s": 48.538,
"l": 33.529
},
"oklch": {
"l": 0.52775,
"c": 0.14251,
"h": 143.4
},
"luminance": 0.15904
}Semantic roles & 50–950 ramp
primary
#2C7F2D
secondary
#AD59AC
accent
#50D6D8
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F06
muted
#7B7F7A