#2C6840#2C6840
#2C6840 is a mid, moderate green. Relative luminance 0.108; OKLCH L 46.6% C 0.090 H 152.2°. Best body text is #FFFFFF at 6.64:1 contrast (WCAG AA passes).
Color values
| HEX | #2C6840 |
|---|---|
| RGB | rgb(44, 104, 64) |
| HSL | hsl(140, 41%, 29%) |
| HSV | hsv(140, 58%, 41%) |
| CMYK | cmyk(57.7%, 0%, 38.5%, 59.2%) |
| CIE-LAB | lab(39.25, -29.43, 16.81) |
| CIE-LCH | lch(39.25, 33.90, 150.26°) |
| OKLab | oklab(46.61% -0.0799 0.0421) |
| OKLCH | oklch(46.61% 0.09 152.2) |
| XYZ | xyz(6.9139, 10.8057, 6.5708) |
| Luminance | 0.1081 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Pine
#2B5D34
ΔE00 3.86
Hunter Green
#355E3B
ΔE00 4.10
Spruce
#0A5F38
ΔE00 4.11
Forest Green
#2D5A27
ΔE00 6.33
Darkish Green
#287C37
ΔE00 8.72
Deep Green
#02590F
ΔE00 9.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C6840 #682C54
analogous
#36682C #2C6840 #2C685E
triadic
#2C6840 #402C68 #68402C
tetradic
#2C6840 #2C3668 #682C54 #685E2C
square
#2C6840 #2C3668 #682C54 #685E2C
split-complementary
#2C6840 #5E2C68 #682C36
monochromatic
#09160D #1A3D26 #2C6840 #3E935A #57B877
Accessibility & contrast
On white
6.64
#2C6840 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.16
#2C6840 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2C6840
6.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C6840 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C6840 | 1.00 | 6.64 | 3.16 | 6.64 |
| #FFFFFF | 6.64 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.16 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.64 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#68603D
Deuteranopia (green-blind)
#605A43
Tritanopia (blue-blind)
#1C675E
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #2c6840; /* rgb */ color: rgb(44, 104, 64); /* oklch */ color: oklch(46.6% 0.090 152.2);
Tailwind
colors: {
custom: {
50: '#6b9475',
500: '#2c6840',
950: '#000000',
},
}SCSS
$custom: #2c6840; $custom-light: #6b9475; $custom-dark: #000000;
JSON
{
"hex": "#2c6840",
"rgb": {
"r": 44,
"g": 104,
"b": 64
},
"hsl": {
"h": 140,
"s": 40.541,
"l": 29.02
},
"oklch": {
"l": 0.46613,
"c": 0.0903,
"h": 152.2
},
"luminance": 0.10806
}Semantic roles & 50–950 ramp
primary
#2C6840
secondary
#9A5683
accent
#57A8D0
background
#F6F9F7
surface
#EBF1ED
border
#C6CBC8
text
#070D08
muted
#7A7E7B