#2C7018#2C7018
#2C7018 is a mid, vivid green. Relative luminance 0.122; OKLCH L 48.3% C 0.138 H 139.7°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).
Color values
| HEX | #2C7018 |
|---|---|
| RGB | rgb(44, 112, 24) |
| HSL | hsl(106, 65%, 27%) |
| HSV | hsv(106, 79%, 44%) |
| CMYK | cmyk(60.7%, 0%, 78.6%, 56.1%) |
| CIE-LAB | lab(41.52, -38.35, 39.80) |
| CIE-LCH | lch(41.52, 55.27, 133.94°) |
| OKLab | oklab(48.31% -0.1054 0.0894) |
| OKLCH | oklch(48.31% 0.138 139.7) |
| XYZ | xyz(6.9974, 12.1891, 2.8480) |
| Luminance | 0.1219 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 4.88
Darkgreen
#006400
ΔE00 4.90
Darkish Green
#287C37
ΔE00 5.93
Green
#008000
ΔE00 6.22
Dark Grass Green
#388004
ΔE00 6.46
Deep Green
#02590F
ΔE00 8.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C7018 #5C1870
analogous
#587018 #2C7018 #187030
triadic
#2C7018 #182C70 #70182C
tetradic
#2C7018 #185870 #5C1870 #703018
square
#2C7018 #185870 #5C1870 #703018
split-complementary
#2C7018 #301870 #701858
monochromatic
#0A1905 #183E0D #2C7018 #40A223 #55D330
Accessibility & contrast
On white
6.11
#2C7018 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.44
#2C7018 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2C7018
6.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C7018 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C7018 | 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)
#736506
Deuteranopia (green-blind)
#6B6021
Tritanopia (blue-blind)
#246C5F
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #2c7018; /* rgb */ color: rgb(44, 112, 24); /* oklch */ color: oklch(48.3% 0.138 139.7);
Tailwind
colors: {
custom: {
50: '#6e9a5c',
500: '#2c7018',
950: '#000000',
},
}SCSS
$custom: #2c7018; $custom-light: #6e9a5c; $custom-dark: #000000;
JSON
{
"hex": "#2c7018",
"rgb": {
"r": 44,
"g": 112,
"b": 24
},
"hsl": {
"h": 106.364,
"s": 64.706,
"l": 26.667
},
"oklch": {
"l": 0.48314,
"c": 0.13821,
"h": 139.7
},
"luminance": 0.1219
}Semantic roles & 50–950 ramp
primary
#2C7018
secondary
#8E3EA5
accent
#40E8C2
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79