#2C7F2F#2C7F2F
#2C7F2F is a mid, vivid green. Relative luminance 0.159; OKLCH L 52.8% C 0.141 H 143.8°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).
Color values
| HEX | #2C7F2F |
|---|---|
| RGB | rgb(44, 127, 47) |
| HSL | hsl(122, 49%, 34%) |
| HSV | hsv(122, 65%, 50%) |
| CMYK | cmyk(65.4%, 0%, 63%, 50.2%) |
| CIE-LAB | lab(46.87, -41.90, 35.46) |
| CIE-LCH | lch(46.87, 54.89, 139.76°) |
| OKLab | oklab(52.8% -0.1137 0.0832) |
| OKLCH | oklch(52.8% 0.141 143.8) |
| XYZ | xyz(9.1406, 15.9186, 5.2797) |
| Luminance | 0.1592 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 2.27
Tree Green
#2A7E19
ΔE00 3.06
Green
#008000
ΔE00 4.79
Jungle Green
#048243
ΔE00 4.83
Forestgreen (CSS)
#228B22
ΔE00 5.00
Dark Grass Green
#388004
ΔE00 5.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C7F2F #7F2C7C
analogous
#527F2C #2C7F2F #2C7F58
triadic
#2C7F2F #2F2C7F #7F2F2C
tetradic
#2C7F2F #2C527F #7F2C7C #7F582C
square
#2C7F2F #2C527F #7F2C7C #7F582C
split-complementary
#2C7F2F #582C7F #7F2C52
monochromatic
#0D240D #1C521E #2C7F2F #3CAC40 #5EC762
Accessibility & contrast
On white
5.02
#2C7F2F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.18
#2C7F2F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2C7F2F
5.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C7F2F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C7F2F | 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)
#827326
Deuteranopia (green-blind)
#776C36
Tritanopia (blue-blind)
#1A7B6E
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #2c7f2f; /* rgb */ color: rgb(44, 127, 47); /* oklch */ color: oklch(52.8% 0.141 143.8);
Tailwind
colors: {
custom: {
50: '#70a56b',
500: '#2c7f2f',
950: '#000000',
},
}SCSS
$custom: #2c7f2f; $custom-light: #70a56b; $custom-dark: #000000;
JSON
{
"hex": "#2c7f2f",
"rgb": {
"r": 44,
"g": 127,
"b": 47
},
"hsl": {
"h": 122.169,
"s": 48.538,
"l": 33.529
},
"oklch": {
"l": 0.52799,
"c": 0.14084,
"h": 143.8
},
"luminance": 0.15919
}Semantic roles & 50–950 ramp
primary
#2C7F2F
secondary
#AD59AA
accent
#50D3D8
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F07
muted
#7B7F7A