#2C6012#2C6012
#2C6012 is a dark, vivid green. Relative luminance 0.089; OKLCH L 43.7% C 0.121 H 137.6°. Best body text is #FFFFFF at 7.53:1 contrast (WCAG AA passes).
Color values
| HEX | #2C6012 |
|---|---|
| RGB | rgb(44, 96, 18) |
| HSL | hsl(100, 68%, 22%) |
| HSV | hsv(100, 81%, 38%) |
| CMYK | cmyk(54.2%, 0%, 81.3%, 62.4%) |
| CIE-LAB | lab(35.88, -32.22, 36.52) |
| CIE-LCH | lch(35.88, 48.70, 131.42°) |
| OKLab | oklab(43.65% -0.0893 0.0816) |
| OKLCH | oklch(43.65% 0.121 137.6) |
| XYZ | xyz(5.3306, 8.9445, 2.0177) |
| Luminance | 0.0895 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 3.96
Deep Green
#02590F
ΔE00 4.49
Forest
#0B5509
ΔE00 4.69
Forest Green
#2D5A27
ΔE00 5.12
Navy Green
#35530A
ΔE00 5.29
Camouflage Green
#4B6113
ΔE00 6.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C6012 #461260
analogous
#536012 #2C6012 #12601F
triadic
#2C6012 #122C60 #60122C
tetradic
#2C6012 #125360 #461260 #601F12
square
#2C6012 #125360 #461260 #601F12
split-complementary
#2C6012 #1F1260 #601253
monochromatic
#0C1A05 #142C08 #2C6012 #44941C #5BC725
Accessibility & contrast
On white
7.53
#2C6012 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.79
#2C6012 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C6012
7.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C6012 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C6012 | 1.00 | 7.53 | 2.79 | 7.53 |
| #FFFFFF | 7.53 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.79 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.53 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#635702
Deuteranopia (green-blind)
#5D531A
Tritanopia (blue-blind)
#285C51
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #2c6012; /* rgb */ color: rgb(44, 96, 18); /* oklch */ color: oklch(43.7% 0.121 137.6);
Tailwind
colors: {
custom: {
50: '#6b8e57',
500: '#2c6012',
950: '#000000',
},
}SCSS
$custom: #2c6012; $custom-light: #6b8e57; $custom-dark: #000000;
JSON
{
"hex": "#2c6012",
"rgb": {
"r": 44,
"g": 96,
"b": 18
},
"hsl": {
"h": 100,
"s": 68.421,
"l": 22.353
},
"oklch": {
"l": 0.43652,
"c": 0.12097,
"h": 137.6
},
"luminance": 0.08945
}Semantic roles & 50–950 ramp
primary
#2C6012
secondary
#773698
accent
#3DEBB1
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C03
muted
#7A7D78