#2C7017#2C7017
#2C7017 is a mid, vivid green. Relative luminance 0.122; OKLCH L 48.3% C 0.139 H 139.6°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).
Color values
| HEX | #2C7017 |
|---|---|
| RGB | rgb(44, 112, 23) |
| HSL | hsl(106, 66%, 26%) |
| HSV | hsv(106, 79%, 44%) |
| CMYK | cmyk(60.7%, 0%, 79.5%, 56.1%) |
| CIE-LAB | lab(41.51, -38.43, 40.16) |
| CIE-LCH | lch(41.51, 55.58, 133.74°) |
| OKLab | oklab(48.31% -0.1057 0.09) |
| OKLCH | oklch(48.31% 0.139 139.6) |
| XYZ | xyz(6.9872, 12.1851, 2.7942) |
| Luminance | 0.1219 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 4.86
Darkgreen
#006400
ΔE00 4.89
Darkish Green
#287C37
ΔE00 6.03
Green
#008000
ΔE00 6.18
Dark Grass Green
#388004
ΔE00 6.40
Deep Green
#02590F
ΔE00 8.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C7017 #5B1770
analogous
#597017 #2C7017 #17702F
triadic
#2C7017 #172C70 #70172C
tetradic
#2C7017 #175970 #5B1770 #702F17
square
#2C7017 #175970 #5B1770 #702F17
split-complementary
#2C7017 #2F1770 #701759
monochromatic
#0A1905 #183D0D #2C7017 #40A321 #55D42D
Accessibility & contrast
On white
6.11
#2C7017 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.44
#2C7017 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2C7017
6.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C7017 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C7017 | 1.00 | 6.11 | 3.44 | 6.11 |
| #FFFFFF | 6.11 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.44 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.11 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#736504
Deuteranopia (green-blind)
#6B6021
Tritanopia (blue-blind)
#246C5F
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #2c7017; /* rgb */ color: rgb(44, 112, 23); /* oklch */ color: oklch(48.3% 0.139 139.6);
Tailwind
colors: {
custom: {
50: '#6e9a5b',
500: '#2c7017',
950: '#000000',
},
}SCSS
$custom: #2c7017; $custom-light: #6e9a5b; $custom-dark: #000000;
JSON
{
"hex": "#2c7017",
"rgb": {
"r": 44,
"g": 112,
"b": 23
},
"hsl": {
"h": 105.843,
"s": 65.926,
"l": 26.471
},
"oklch": {
"l": 0.48306,
"c": 0.13881,
"h": 139.6
},
"luminance": 0.12186
}Semantic roles & 50–950 ramp
primary
#2C7017
secondary
#8D3DA6
accent
#3FE9C1
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79