#2C7012#2C7012
#2C7012 is a mid, vivid green. Relative luminance 0.122; OKLCH L 48.3% C 0.141 H 139.0°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).
Color values
| HEX | #2C7012 |
|---|---|
| RGB | rgb(44, 112, 18) |
| HSL | hsl(103, 72%, 25%) |
| HSV | hsv(103, 84%, 44%) |
| CMYK | cmyk(60.7%, 0%, 83.9%, 56.1%) |
| CIE-LAB | lab(41.48, -38.76, 41.85) |
| CIE-LCH | lch(41.48, 57.04, 132.81°) |
| OKLab | oklab(48.27% -0.1068 0.0928) |
| OKLCH | oklch(48.27% 0.142 139) |
| XYZ | xyz(6.9418, 12.1669, 2.5548) |
| Luminance | 0.1217 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 4.82
Darkgreen
#006400
ΔE00 4.89
Green
#008000
ΔE00 6.03
Dark Grass Green
#388004
ΔE00 6.14
Darkish Green
#287C37
ΔE00 6.47
Darkolivegreen
#556B2F
ΔE00 8.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C7012 #561270
analogous
#5B7012 #2C7012 #127027
triadic
#2C7012 #122C70 #70122C
tetradic
#2C7012 #125B70 #561270 #702712
square
#2C7012 #125B70 #561270 #702712
split-complementary
#2C7012 #271270 #70125B
monochromatic
#0A1A04 #173B0A #2C7012 #41A51A #55D923
Accessibility & contrast
On white
6.12
#2C7012 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.43
#2C7012 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2C7012
6.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C7012 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C7012 | 1.00 | 6.12 | 3.43 | 6.12 |
| #FFFFFF | 6.12 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.12 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#746500
Deuteranopia (green-blind)
#6B601D
Tritanopia (blue-blind)
#256C5F
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #2c7012; /* rgb */ color: rgb(44, 112, 18); /* oklch */ color: oklch(48.3% 0.141 139.0);
Tailwind
colors: {
custom: {
50: '#6e9a59',
500: '#2c7012',
950: '#000000',
},
}SCSS
$custom: #2c7012; $custom-light: #6e9a59; $custom-dark: #000000;
JSON
{
"hex": "#2c7012",
"rgb": {
"r": 44,
"g": 112,
"b": 18
},
"hsl": {
"h": 103.404,
"s": 72.308,
"l": 25.49
},
"oklch": {
"l": 0.48274,
"c": 0.1415,
"h": 139
},
"luminance": 0.12167
}Semantic roles & 50–950 ramp
primary
#2C7012
secondary
#8837A7
accent
#39EFBD
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79