#2C6815#2C6815
#2C6815 is a mid, vivid green. Relative luminance 0.105; OKLCH L 46.0% C 0.130 H 138.8°. Best body text is #FFFFFF at 6.78:1 contrast (WCAG AA passes).
Color values
| HEX | #2C6815 |
|---|---|
| RGB | rgb(44, 104, 21) |
| HSL | hsl(103, 66%, 25%) |
| HSV | hsv(103, 80%, 41%) |
| CMYK | cmyk(57.7%, 0%, 79.8%, 59.2%) |
| CIE-LAB | lab(38.71, -35.36, 38.16) |
| CIE-LCH | lch(38.71, 52.02, 132.82°) |
| OKLab | oklab(45.99% -0.0975 0.0855) |
| OKLCH | oklch(45.99% 0.13 138.8) |
| XYZ | xyz(6.1241, 10.4897, 2.4113) |
| Luminance | 0.1049 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 3.49
Deep Green
#02590F
ΔE00 6.00
Forest
#0B5509
ΔE00 6.69
Forest Green
#2D5A27
ΔE00 6.81
Camouflage Green
#4B6113
ΔE00 7.32
Tree Green
#2A7E19
ΔE00 7.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C6815 #511568
analogous
#566815 #2C6815 #156827
triadic
#2C6815 #152C68 #68152C
tetradic
#2C6815 #155668 #511568 #682715
square
#2C6815 #155668 #511568 #682715
split-complementary
#2C6815 #271568 #681556
monochromatic
#0B1905 #16350B #2C6815 #429B1F #57CE2A
Accessibility & contrast
On white
6.78
#2C6815 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.10
#2C6815 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2C6815
6.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C6815 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C6815 | 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)
#6B5E04
Deuteranopia (green-blind)
#64591E
Tritanopia (blue-blind)
#266458
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #2c6815; /* rgb */ color: rgb(44, 104, 21); /* oklch */ color: oklch(46.0% 0.130 138.8);
Tailwind
colors: {
custom: {
50: '#6d9459',
500: '#2c6815',
950: '#000000',
},
}SCSS
$custom: #2c6815; $custom-light: #6d9459; $custom-dark: #000000;
JSON
{
"hex": "#2c6815",
"rgb": {
"r": 44,
"g": 104,
"b": 21
},
"hsl": {
"h": 103.373,
"s": 66.4,
"l": 24.51
},
"oklch": {
"l": 0.4599,
"c": 0.12972,
"h": 138.8
},
"luminance": 0.1049
}Semantic roles & 50–950 ramp
primary
#2C6815
secondary
#833A9F
accent
#3EE9BA
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#070D04
muted
#7A7E79