#2C7F1A#2C7F1A
#2C7F1A is a mid, vivid green. Relative luminance 0.158; OKLCH L 52.6% C 0.156 H 140.6°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).
Color values
| HEX | #2C7F1A |
|---|---|
| RGB | rgb(44, 127, 26) |
| HSL | hsl(109, 66%, 30%) |
| HSV | hsv(109, 80%, 50%) |
| CMYK | cmyk(65.4%, 0%, 79.5%, 50.2%) |
| CIE-LAB | lab(46.70, -43.92, 44.14) |
| CIE-LCH | lch(46.70, 62.27, 134.86°) |
| OKLab | oklab(52.6% -0.1203 0.0988) |
| OKLCH | oklch(52.6% 0.156 140.6) |
| XYZ | xyz(8.8141, 15.7879, 3.5600) |
| Luminance | 0.1579 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 0.40
Green
#008000
ΔE00 2.49
Dark Grass Green
#388004
ΔE00 2.72
Forestgreen (CSS)
#228B22
ΔE00 4.30
Darkish Green
#287C37
ΔE00 5.14
Emerald Green
#028F1E
ΔE00 5.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C7F1A #6D1A7F
analogous
#5E7F1A #2C7F1A #1A7F3B
triadic
#2C7F1A #1A2C7F #7F1A2C
tetradic
#2C7F1A #1A5E7F #6D1A7F #7F3B1A
square
#2C7F1A #1A5E7F #6D1A7F #7F3B1A
split-complementary
#2C7F1A #3B1A7F #7F1A5E
monochromatic
#091905 #1A4C10 #2C7F1A #3EB224 #58D73C
Accessibility & contrast
On white
5.05
#2C7F1A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.16
#2C7F1A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2C7F1A
5.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C7F1A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C7F1A | 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)
#837302
Deuteranopia (green-blind)
#796C25
Tritanopia (blue-blind)
#1F7B6C
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #2c7f1a; /* rgb */ color: rgb(44, 127, 26); /* oklch */ color: oklch(52.6% 0.156 140.6);
Tailwind
colors: {
custom: {
50: '#71a55f',
500: '#2c7f1a',
950: '#000000',
},
}SCSS
$custom: #2c7f1a; $custom-light: #71a55f; $custom-dark: #000000;
JSON
{
"hex": "#2c7f1a",
"rgb": {
"r": 44,
"g": 127,
"b": 26
},
"hsl": {
"h": 109.307,
"s": 66.013,
"l": 30
},
"oklch": {
"l": 0.52601,
"c": 0.15565,
"h": 140.6
},
"luminance": 0.15789
}Semantic roles & 50–950 ramp
primary
#2C7F1A
secondary
#9F42B3
accent
#3FE9CB
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#090F05
muted
#7B7F79