#2C6813#2C6813
#2C6813 is a mid, vivid green. Relative luminance 0.105; OKLCH L 46.0% C 0.131 H 138.5°. Best body text is #FFFFFF at 6.78:1 contrast (WCAG AA passes).
Color values
| HEX | #2C6813 |
|---|---|
| RGB | rgb(44, 104, 19) |
| HSL | hsl(102, 69%, 24%) |
| HSV | hsv(102, 82%, 41%) |
| CMYK | cmyk(57.7%, 0%, 81.7%, 59.2%) |
| CIE-LAB | lab(38.70, -35.50, 38.88) |
| CIE-LCH | lch(38.70, 52.65, 132.40°) |
| OKLab | oklab(45.98% -0.098 0.0867) |
| OKLCH | oklch(45.98% 0.131 138.5) |
| XYZ | xyz(6.1063, 10.4826, 2.3175) |
| Luminance | 0.1048 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 3.45
Deep Green
#02590F
ΔE00 6.09
Forest
#0B5509
ΔE00 6.75
Forest Green
#2D5A27
ΔE00 7.00
Camouflage Green
#4B6113
ΔE00 7.24
Tree Green
#2A7E19
ΔE00 7.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C6813 #4F1368
analogous
#576813 #2C6813 #136825
triadic
#2C6813 #132C68 #68132C
tetradic
#2C6813 #135768 #4F1368 #682513
square
#2C6813 #135768 #4F1368 #682513
split-complementary
#2C6813 #251368 #681357
monochromatic
#0B1A05 #16340A #2C6813 #429C1C #58CF26
Accessibility & contrast
On white
6.78
#2C6813 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.10
#2C6813 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2C6813
6.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C6813 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C6813 | 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)
#6B5E00
Deuteranopia (green-blind)
#64591D
Tritanopia (blue-blind)
#276458
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #2c6813; /* rgb */ color: rgb(44, 104, 19); /* oklch */ color: oklch(46.0% 0.131 138.5);
Tailwind
colors: {
custom: {
50: '#6d9458',
500: '#2c6813',
950: '#000000',
},
}SCSS
$custom: #2c6813; $custom-light: #6d9458; $custom-dark: #000000;
JSON
{
"hex": "#2c6813",
"rgb": {
"r": 44,
"g": 104,
"b": 19
},
"hsl": {
"h": 102.353,
"s": 69.106,
"l": 24.118
},
"oklch": {
"l": 0.45976,
"c": 0.13088,
"h": 138.5
},
"luminance": 0.10483
}Semantic roles & 50–950 ramp
primary
#2C6813
secondary
#81379F
accent
#3CECB8
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#070D04
muted
#7A7E79