#2C7F1B#2C7F1B
#2C7F1B is a mid, vivid green. Relative luminance 0.158; OKLCH L 52.6% C 0.155 H 140.7°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).
Color values
| HEX | #2C7F1B |
|---|---|
| RGB | rgb(44, 127, 27) |
| HSL | hsl(110, 65%, 30%) |
| HSV | hsv(110, 79%, 50%) |
| CMYK | cmyk(65.4%, 0%, 78.7%, 50.2%) |
| CIE-LAB | lab(46.70, -43.85, 43.80) |
| CIE-LCH | lch(46.70, 61.97, 135.03°) |
| OKLab | oklab(52.61% -0.12 0.0982) |
| OKLCH | oklch(52.61% 0.155 140.7) |
| XYZ | xyz(8.8255, 15.7925, 3.6199) |
| Luminance | 0.1579 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 0.41
Green
#008000
ΔE00 2.55
Dark Grass Green
#388004
ΔE00 2.82
Forestgreen (CSS)
#228B22
ΔE00 4.29
Darkish Green
#287C37
ΔE00 5.03
Emerald Green
#028F1E
ΔE00 5.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C7F1B #6E1B7F
analogous
#5E7F1B #2C7F1B #1B7F3C
triadic
#2C7F1B #1B2C7F #7F1B2C
tetradic
#2C7F1B #1B5E7F #6E1B7F #7F3C1B
square
#2C7F1B #1B5E7F #6E1B7F #7F3C1B
split-complementary
#2C7F1B #3C1B7F #7F1B5E
monochromatic
#091A06 #1B4D10 #2C7F1B #3DB126 #58D63E
Accessibility & contrast
On white
5.05
#2C7F1B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.16
#2C7F1B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2C7F1B
5.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C7F1B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C7F1B | 1.00 | 5.05 | 4.16 | 5.05 |
| #FFFFFF | 5.05 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.16 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.05 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#827304
Deuteranopia (green-blind)
#786C26
Tritanopia (blue-blind)
#1F7B6C
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #2c7f1b; /* rgb */ color: rgb(44, 127, 27); /* oklch */ color: oklch(52.6% 0.155 140.7);
Tailwind
colors: {
custom: {
50: '#71a55f',
500: '#2c7f1b',
950: '#000000',
},
}SCSS
$custom: #2c7f1b; $custom-light: #71a55f; $custom-dark: #000000;
JSON
{
"hex": "#2c7f1b",
"rgb": {
"r": 44,
"g": 127,
"b": 27
},
"hsl": {
"h": 109.8,
"s": 64.935,
"l": 30.196
},
"oklch": {
"l": 0.52608,
"c": 0.1551,
"h": 140.7
},
"luminance": 0.15793
}Semantic roles & 50–950 ramp
primary
#2C7F1B
secondary
#A043B3
accent
#40E8CB
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#090F05
muted
#7B7F79