#2C6820#2C6820
#2C6820 is a mid, vivid green. Relative luminance 0.105; OKLCH L 46.1% C 0.122 H 140.5°. Best body text is #FFFFFF at 6.76:1 contrast (WCAG AA passes).
Color values
| HEX | #2C6820 |
|---|---|
| RGB | rgb(44, 104, 32) |
| HSL | hsl(110, 53%, 27%) |
| HSV | hsv(110, 69%, 41%) |
| CMYK | cmyk(57.7%, 0%, 69.2%, 59.2%) |
| CIE-LAB | lab(38.79, -34.37, 33.59) |
| CIE-LCH | lch(38.79, 48.06, 135.66°) |
| OKLab | oklab(46.09% -0.0941 0.0775) |
| OKLCH | oklch(46.09% 0.122 140.5) |
| XYZ | xyz(6.2495, 10.5399, 3.0713) |
| Luminance | 0.1054 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 4.18
Deep Green
#02590F
ΔE00 5.70
Forest Green
#2D5A27
ΔE00 5.72
Forest
#0B5509
ΔE00 6.57
Darkish Green
#287C37
ΔE00 7.23
Pine
#2B5D34
ΔE00 7.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C6820 #5C2068
analogous
#506820 #2C6820 #206838
triadic
#2C6820 #202C68 #68202C
tetradic
#2C6820 #205068 #5C2068 #683820
square
#2C6820 #205068 #5C2068 #683820
split-complementary
#2C6820 #382068 #682050
monochromatic
#0A1707 #183912 #2C6820 #40972E #55C43F
Accessibility & contrast
On white
6.76
#2C6820 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.11
#2C6820 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2C6820
6.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C6820 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C6820 | 1.00 | 6.76 | 3.11 | 6.76 |
| #FFFFFF | 6.76 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.76 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6B5E17
Deuteranopia (green-blind)
#635926
Tritanopia (blue-blind)
#256559
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #2c6820; /* rgb */ color: rgb(44, 104, 32); /* oklch */ color: oklch(46.1% 0.122 140.5);
Tailwind
colors: {
custom: {
50: '#6c945f',
500: '#2c6820',
950: '#000000',
},
}SCSS
$custom: #2c6820; $custom-light: #6c945f; $custom-dark: #000000;
JSON
{
"hex": "#2c6820",
"rgb": {
"r": 44,
"g": 104,
"b": 32
},
"hsl": {
"h": 110,
"s": 52.941,
"l": 26.667
},
"oklch": {
"l": 0.4609,
"c": 0.12195,
"h": 140.5
},
"luminance": 0.1054
}Semantic roles & 50–950 ramp
primary
#2C6820
secondary
#8E489C
accent
#4BDCC4
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#070D05
muted
#7A7E79