#2C7F2B#2C7F2B
#2C7F2B is a mid, vivid green. Relative luminance 0.159; OKLCH L 52.8% C 0.144 H 143.0°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).
Color values
| HEX | #2C7F2B |
|---|---|
| RGB | rgb(44, 127, 43) |
| HSL | hsl(119, 49%, 33%) |
| HSV | hsv(119, 66%, 50%) |
| CMYK | cmyk(65.4%, 0%, 66.1%, 50.2%) |
| CIE-LAB | lab(46.83, -42.37, 37.31) |
| CIE-LCH | lch(46.83, 56.46, 138.64°) |
| OKLab | oklab(52.75% -0.1151 0.0867) |
| OKLCH | oklch(52.75% 0.144 143) |
| XYZ | xyz(9.0636, 15.8877, 4.8740) |
| Luminance | 0.1589 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 2.39
Darkish Green
#287C37
ΔE00 2.87
Green
#008000
ΔE00 4.20
Forestgreen (CSS)
#228B22
ΔE00 4.69
Dark Grass Green
#388004
ΔE00 4.91
Jungle Green
#048243
ΔE00 5.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C7F2B #7E2B7F
analogous
#567F2B #2C7F2B #2B7F54
triadic
#2C7F2B #2B2C7F #7F2B2C
tetradic
#2C7F2B #2B567F #7E2B7F #7F542B
square
#2C7F2B #2B567F #7E2B7F #7F542B
split-complementary
#2C7F2B #542B7F #7F2B56
monochromatic
#0C240C #1C511C #2C7F2B #3CAD3A #5EC85C
Accessibility & contrast
On white
5.03
#2C7F2B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.18
#2C7F2B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2C7F2B
5.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C7F2B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C7F2B | 1.00 | 5.03 | 4.18 | 5.03 |
| #FFFFFF | 5.03 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.03 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#827321
Deuteranopia (green-blind)
#786C32
Tritanopia (blue-blind)
#1B7B6D
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #2c7f2b; /* rgb */ color: rgb(44, 127, 43); /* oklch */ color: oklch(52.8% 0.144 143.0);
Tailwind
colors: {
custom: {
50: '#70a568',
500: '#2c7f2b',
950: '#000000',
},
}SCSS
$custom: #2c7f2b; $custom-light: #70a568; $custom-dark: #000000;
JSON
{
"hex": "#2c7f2b",
"rgb": {
"r": 44,
"g": 127,
"b": 43
},
"hsl": {
"h": 119.286,
"s": 49.412,
"l": 33.333
},
"oklch": {
"l": 0.52753,
"c": 0.14413,
"h": 143
},
"luminance": 0.15889
}Semantic roles & 50–950 ramp
primary
#2C7F2B
secondary
#AD58AE
accent
#4FD9D7
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#080F06
muted
#7B7F7A