#2C7117#2C7117
#2C7117 is a mid, vivid green. Relative luminance 0.124; OKLCH L 48.6% C 0.140 H 139.6°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).
Color values
| HEX | #2C7117 |
|---|---|
| RGB | rgb(44, 113, 23) |
| HSL | hsl(106, 66%, 27%) |
| HSV | hsv(106, 80%, 44%) |
| CMYK | cmyk(61.1%, 0%, 79.6%, 55.7%) |
| CIE-LAB | lab(41.86, -38.82, 40.50) |
| CIE-LCH | lch(41.86, 56.10, 133.79°) |
| OKLab | oklab(48.59% -0.1067 0.0907) |
| OKLCH | oklch(48.59% 0.14 139.6) |
| XYZ | xyz(7.0982, 12.4070, 2.8312) |
| Luminance | 0.1241 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 4.51
Darkgreen
#006400
ΔE00 5.15
Darkish Green
#287C37
ΔE00 5.85
Green
#008000
ΔE00 5.86
Dark Grass Green
#388004
ΔE00 6.08
Darkolivegreen
#556B2F
ΔE00 8.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C7117 #5C1771
analogous
#597117 #2C7117 #17712F
triadic
#2C7117 #172C71 #71172C
tetradic
#2C7117 #175971 #5C1771 #712F17
square
#2C7117 #175971 #5C1771 #712F17
split-complementary
#2C7117 #2F1771 #711759
monochromatic
#0A1905 #183E0D #2C7117 #40A421 #55D42E
Accessibility & contrast
On white
6.03
#2C7117 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.48
#2C7117 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2C7117
6.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C7117 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C7117 | 1.00 | 6.03 | 3.48 | 6.03 |
| #FFFFFF | 6.03 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.48 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.03 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#746603
Deuteranopia (green-blind)
#6C6121
Tritanopia (blue-blind)
#246D60
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #2c7117; /* rgb */ color: rgb(44, 113, 23); /* oklch */ color: oklch(48.6% 0.140 139.6);
Tailwind
colors: {
custom: {
50: '#6e9a5b',
500: '#2c7117',
950: '#000000',
},
}SCSS
$custom: #2c7117; $custom-light: #6e9a5b; $custom-dark: #000000;
JSON
{
"hex": "#2c7117",
"rgb": {
"r": 44,
"g": 113,
"b": 23
},
"hsl": {
"h": 106,
"s": 66.176,
"l": 26.667
},
"oklch": {
"l": 0.48593,
"c": 0.14008,
"h": 139.6
},
"luminance": 0.12408
}Semantic roles & 50–950 ramp
primary
#2C7117
secondary
#8E3DA7
accent
#3FE9C1
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79