#2C6817#2C6817
#2C6817 is a mid, vivid green. Relative luminance 0.105; OKLCH L 46.0% C 0.128 H 139.0°. Best body text is #FFFFFF at 6.78:1 contrast (WCAG AA passes).
Color values
| HEX | #2C6817 |
|---|---|
| RGB | rgb(44, 104, 23) |
| HSL | hsl(104, 64%, 25%) |
| HSV | hsv(104, 78%, 41%) |
| CMYK | cmyk(57.7%, 0%, 77.9%, 59.2%) |
| CIE-LAB | lab(38.72, -35.21, 37.40) |
| CIE-LCH | lch(38.72, 51.37, 133.27°) |
| OKLab | oklab(46.01% -0.097 0.0843) |
| OKLCH | oklch(46.01% 0.128 139) |
| XYZ | xyz(6.1434, 10.4975, 2.5129) |
| Luminance | 0.1050 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 3.55
Deep Green
#02590F
ΔE00 5.92
Forest Green
#2D5A27
ΔE00 6.62
Forest
#0B5509
ΔE00 6.64
Camouflage Green
#4B6113
ΔE00 7.41
Tree Green
#2A7E19
ΔE00 7.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C6817 #531768
analogous
#556817 #2C6817 #17682A
triadic
#2C6817 #172C68 #68172C
tetradic
#2C6817 #175568 #531768 #682A17
square
#2C6817 #175568 #531768 #682A17
split-complementary
#2C6817 #2A1768 #681755
monochromatic
#0B1906 #17360C #2C6817 #419A22 #56CC2D
Accessibility & contrast
On white
6.78
#2C6817 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.10
#2C6817 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2C6817
6.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C6817 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C6817 | 1.00 | 6.78 | 3.10 | 6.78 |
| #FFFFFF | 6.78 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.10 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.78 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6B5E07
Deuteranopia (green-blind)
#64591F
Tritanopia (blue-blind)
#266458
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #2c6817; /* rgb */ color: rgb(44, 104, 23); /* oklch */ color: oklch(46.0% 0.128 139.0);
Tailwind
colors: {
custom: {
50: '#6d945a',
500: '#2c6817',
950: '#000000',
},
}SCSS
$custom: #2c6817; $custom-light: #6d945a; $custom-dark: #000000;
JSON
{
"hex": "#2c6817",
"rgb": {
"r": 44,
"g": 104,
"b": 23
},
"hsl": {
"h": 104.444,
"s": 63.78,
"l": 24.902
},
"oklch": {
"l": 0.46006,
"c": 0.12847,
"h": 139
},
"luminance": 0.10498
}Semantic roles & 50–950 ramp
primary
#2C6817
secondary
#853D9E
accent
#41E7BC
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#070D04
muted
#7A7E79