#2C6712#2C6712
#2C6712 is a mid, vivid green. Relative luminance 0.103; OKLCH L 45.7% C 0.130 H 138.3°. Best body text is #FFFFFF at 6.87:1 contrast (WCAG AA passes).
Color values
| HEX | #2C6712 |
|---|---|
| RGB | rgb(44, 103, 18) |
| HSL | hsl(102, 70%, 24%) |
| HSV | hsv(102, 83%, 40%) |
| CMYK | cmyk(57.3%, 0%, 82.5%, 59.6%) |
| CIE-LAB | lab(38.34, -35.16, 38.88) |
| CIE-LCH | lch(38.34, 52.42, 132.12°) |
| OKLab | oklab(45.68% -0.0972 0.0866) |
| OKLCH | oklch(45.68% 0.13 138.3) |
| XYZ | xyz(5.9979, 10.2792, 2.2402) |
| Luminance | 0.1028 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 3.39
Deep Green
#02590F
ΔE00 5.88
Forest
#0B5509
ΔE00 6.49
Forest Green
#2D5A27
ΔE00 6.81
Camouflage Green
#4B6113
ΔE00 7.08
Navy Green
#35530A
ΔE00 7.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C6712 #4D1267
analogous
#566712 #2C6712 #126722
triadic
#2C6712 #122C67 #67122C
tetradic
#2C6712 #125667 #4D1267 #672212
square
#2C6712 #125667 #4D1267 #672212
split-complementary
#2C6712 #221267 #671256
monochromatic
#0B1A05 #163309 #2C6712 #429B1B #59CF24
Accessibility & contrast
On white
6.87
#2C6712 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.06
#2C6712 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2C6712
6.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C6712 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C6712 | 1.00 | 6.87 | 3.06 | 6.87 |
| #FFFFFF | 6.87 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.06 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.87 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6A5D00
Deuteranopia (green-blind)
#63581C
Tritanopia (blue-blind)
#276357
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #2c6712; /* rgb */ color: rgb(44, 103, 18); /* oklch */ color: oklch(45.7% 0.130 138.3);
Tailwind
colors: {
custom: {
50: '#6d9358',
500: '#2c6712',
950: '#000000',
},
}SCSS
$custom: #2c6712; $custom-light: #6d9358; $custom-dark: #000000;
JSON
{
"hex": "#2c6712",
"rgb": {
"r": 44,
"g": 103,
"b": 18
},
"hsl": {
"h": 101.647,
"s": 70.248,
"l": 23.725
},
"oklch": {
"l": 0.4568,
"c": 0.13014,
"h": 138.3
},
"luminance": 0.1028
}Semantic roles & 50–950 ramp
primary
#2C6712
secondary
#7F369F
accent
#3BEDB7
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#070D03
muted
#7A7E78