#2C6E12#2C6E12
#2C6E12 is a mid, vivid green. Relative luminance 0.117; OKLCH L 47.7% C 0.139 H 138.9°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).
Color values
| HEX | #2C6E12 |
|---|---|
| RGB | rgb(44, 110, 18) |
| HSL | hsl(103, 72%, 25%) |
| HSV | hsv(103, 84%, 43%) |
| CMYK | cmyk(60%, 0%, 83.6%, 56.9%) |
| CIE-LAB | lab(40.78, -37.97, 41.20) |
| CIE-LCH | lch(40.78, 56.03, 132.67°) |
| OKLab | oklab(47.7% -0.1047 0.0914) |
| OKLCH | oklch(47.7% 0.139 138.9) |
| XYZ | xyz(6.7235, 11.7304, 2.4820) |
| Luminance | 0.1173 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 4.41
Tree Green
#2A7E19
ΔE00 5.50
Green
#008000
ΔE00 6.69
Dark Grass Green
#388004
ΔE00 6.79
Darkish Green
#287C37
ΔE00 6.83
Deep Green
#02590F
ΔE00 7.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C6E12 #54126E
analogous
#5A6E12 #2C6E12 #126E26
triadic
#2C6E12 #122C6E #6E122C
tetradic
#2C6E12 #125A6E #54126E #6E2612
square
#2C6E12 #125A6E #54126E #6E2612
split-complementary
#2C6E12 #26126E #6E125A
monochromatic
#0B1A04 #173909 #2C6E12 #41A31B #56D723
Accessibility & contrast
On white
6.28
#2C6E12 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.35
#2C6E12 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2C6E12
6.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C6E12 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C6E12 | 1.00 | 6.28 | 3.35 | 6.28 |
| #FFFFFF | 6.28 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.35 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.28 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#726300
Deuteranopia (green-blind)
#695E1D
Tritanopia (blue-blind)
#256A5D
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #2c6e12; /* rgb */ color: rgb(44, 110, 18); /* oklch */ color: oklch(47.7% 0.139 138.9);
Tailwind
colors: {
custom: {
50: '#6e9859',
500: '#2c6e12',
950: '#000000',
},
}SCSS
$custom: #2c6e12; $custom-light: #6e9859; $custom-dark: #000000;
JSON
{
"hex": "#2c6e12",
"rgb": {
"r": 44,
"g": 110,
"b": 18
},
"hsl": {
"h": 103.043,
"s": 71.875,
"l": 25.098
},
"oklch": {
"l": 0.47699,
"c": 0.13902,
"h": 138.9
},
"luminance": 0.11731
}Semantic roles & 50–950 ramp
primary
#2C6E12
secondary
#8637A5
accent
#39EFBB
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79