#2C6917#2C6917
#2C6917 is a mid, vivid green. Relative luminance 0.107; OKLCH L 46.3% C 0.130 H 139.1°. Best body text is #FFFFFF at 6.69:1 contrast (WCAG AA passes).
Color values
| HEX | #2C6917 |
|---|---|
| RGB | rgb(44, 105, 23) |
| HSL | hsl(105, 64%, 25%) |
| HSV | hsv(105, 78%, 41%) |
| CMYK | cmyk(58.1%, 0%, 78.1%, 58.8%) |
| CIE-LAB | lab(39.07, -35.62, 37.75) |
| CIE-LCH | lch(39.07, 51.90, 133.33°) |
| OKLab | oklab(46.29% -0.0981 0.085) |
| OKLCH | oklch(46.29% 0.13 139.1) |
| XYZ | xyz(6.2447, 10.7000, 2.5467) |
| Luminance | 0.1070 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 3.62
Deep Green
#02590F
ΔE00 6.19
Forest Green
#2D5A27
ΔE00 6.91
Forest
#0B5509
ΔE00 6.94
Tree Green
#2A7E19
ΔE00 7.26
Camouflage Green
#4B6113
ΔE00 7.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C6917 #541769
analogous
#556917 #2C6917 #17692B
triadic
#2C6917 #172C69 #69172C
tetradic
#2C6917 #175569 #541769 #692B17
square
#2C6917 #175569 #541769 #692B17
split-complementary
#2C6917 #2B1769 #691755
monochromatic
#0B1905 #17370C #2C6917 #419B22 #56CD2D
Accessibility & contrast
On white
6.69
#2C6917 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.14
#2C6917 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2C6917
6.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C6917 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C6917 | 1.00 | 6.69 | 3.14 | 6.69 |
| #FFFFFF | 6.69 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.69 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6C5F07
Deuteranopia (green-blind)
#655A1F
Tritanopia (blue-blind)
#266559
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #2c6917; /* rgb */ color: rgb(44, 105, 23); /* oklch */ color: oklch(46.3% 0.130 139.1);
Tailwind
colors: {
custom: {
50: '#6d945a',
500: '#2c6917',
950: '#000000',
},
}SCSS
$custom: #2c6917; $custom-light: #6d945a; $custom-dark: #000000;
JSON
{
"hex": "#2c6917",
"rgb": {
"r": 44,
"g": 105,
"b": 23
},
"hsl": {
"h": 104.634,
"s": 64.063,
"l": 25.098
},
"oklch": {
"l": 0.46294,
"c": 0.12979,
"h": 139.1
},
"luminance": 0.107
}Semantic roles & 50–950 ramp
primary
#2C6917
secondary
#863D9F
accent
#41E7BC
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#070D04
muted
#7A7E79