#2C6212#2C6212
#2C6212 is a dark, vivid green. Relative luminance 0.093; OKLCH L 44.2% C 0.124 H 137.8°. Best body text is #FFFFFF at 7.33:1 contrast (WCAG AA passes).
Color values
| HEX | #2C6212 |
|---|---|
| RGB | rgb(44, 98, 18) |
| HSL | hsl(101, 69%, 23%) |
| HSV | hsv(101, 82%, 38%) |
| CMYK | cmyk(55.1%, 0%, 81.6%, 61.6%) |
| CIE-LAB | lab(36.58, -33.07, 37.20) |
| CIE-LCH | lch(36.58, 49.78, 131.64°) |
| OKLab | oklab(44.23% -0.0916 0.0831) |
| OKLCH | oklch(44.23% 0.124 137.8) |
| XYZ | xyz(5.5154, 9.3141, 2.0793) |
| Luminance | 0.0931 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 3.64
Deep Green
#02590F
ΔE00 4.80
Forest
#0B5509
ΔE00 5.15
Forest Green
#2D5A27
ΔE00 5.55
Navy Green
#35530A
ΔE00 5.88
Camouflage Green
#4B6113
ΔE00 6.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C6212 #481262
analogous
#546212 #2C6212 #126220
triadic
#2C6212 #122C62 #62122C
tetradic
#2C6212 #125462 #481262 #622012
square
#2C6212 #125462 #481262 #622012
split-complementary
#2C6212 #201262 #621254
monochromatic
#0C1A05 #152E09 #2C6212 #43961B #5AC925
Accessibility & contrast
On white
7.33
#2C6212 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.86
#2C6212 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #2C6212
7.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C6212 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C6212 | 1.00 | 7.33 | 2.86 | 7.33 |
| #FFFFFF | 7.33 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.86 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.33 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#655901
Deuteranopia (green-blind)
#5E541B
Tritanopia (blue-blind)
#285E53
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #2c6212; /* rgb */ color: rgb(44, 98, 18); /* oklch */ color: oklch(44.2% 0.124 137.8);
Tailwind
colors: {
custom: {
50: '#6c8f57',
500: '#2c6212',
950: '#000000',
},
}SCSS
$custom: #2c6212; $custom-light: #6c8f57; $custom-dark: #000000;
JSON
{
"hex": "#2c6212",
"rgb": {
"r": 44,
"g": 98,
"b": 18
},
"hsl": {
"h": 100.5,
"s": 68.966,
"l": 22.745
},
"oklch": {
"l": 0.44232,
"c": 0.12362,
"h": 137.8
},
"luminance": 0.09315
}Semantic roles & 50–950 ramp
primary
#2C6212
secondary
#79369A
accent
#3CECB3
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C03
muted
#7A7D78