#2C6818#2C6818
#2C6818 is a mid, vivid green. Relative luminance 0.105; OKLCH L 46.0% C 0.128 H 139.2°. Best body text is #FFFFFF at 6.77:1 contrast (WCAG AA passes).
Color values
| HEX | #2C6818 |
|---|---|
| RGB | rgb(44, 104, 24) |
| HSL | hsl(105, 63%, 25%) |
| HSV | hsv(105, 77%, 41%) |
| CMYK | cmyk(57.7%, 0%, 76.9%, 59.2%) |
| CIE-LAB | lab(38.73, -35.13, 37.01) |
| CIE-LCH | lch(38.73, 51.03, 133.50°) |
| OKLab | oklab(46.01% -0.0967 0.0836) |
| OKLCH | oklch(46.01% 0.128 139.2) |
| XYZ | xyz(6.1536, 10.5015, 2.5667) |
| Luminance | 0.1050 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 3.59
Deep Green
#02590F
ΔE00 5.88
Forest Green
#2D5A27
ΔE00 6.52
Forest
#0B5509
ΔE00 6.62
Camouflage Green
#4B6113
ΔE00 7.46
Tree Green
#2A7E19
ΔE00 7.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C6818 #541868
analogous
#546818 #2C6818 #18682C
triadic
#2C6818 #182C68 #68182C
tetradic
#2C6818 #185468 #541868 #682C18
square
#2C6818 #185468 #541868 #682C18
split-complementary
#2C6818 #2C1868 #681854
monochromatic
#0B1906 #17360D #2C6818 #419A23 #56CB2F
Accessibility & contrast
On white
6.77
#2C6818 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.10
#2C6818 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2C6818
6.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C6818 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C6818 | 1.00 | 6.77 | 3.10 | 6.77 |
| #FFFFFF | 6.77 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.10 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.77 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6B5E09
Deuteranopia (green-blind)
#645920
Tritanopia (blue-blind)
#266458
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #2c6818; /* rgb */ color: rgb(44, 104, 24); /* oklch */ color: oklch(46.0% 0.128 139.2);
Tailwind
colors: {
custom: {
50: '#6c945b',
500: '#2c6818',
950: '#000000',
},
}SCSS
$custom: #2c6818; $custom-light: #6c945b; $custom-dark: #000000;
JSON
{
"hex": "#2c6818",
"rgb": {
"r": 44,
"g": 104,
"b": 24
},
"hsl": {
"h": 105,
"s": 62.5,
"l": 25.098
},
"oklch": {
"l": 0.46014,
"c": 0.12783,
"h": 139.2
},
"luminance": 0.10502
}Semantic roles & 50–950 ramp
primary
#2C6818
secondary
#863E9E
accent
#42E6BD
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#070D04
muted
#7A7E79