#2C7612#2C7612
#2C7612 is a mid, vivid green. Relative luminance 0.135; OKLCH L 50.0% C 0.149 H 139.4°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).
Color values
| HEX | #2C7612 |
|---|---|
| RGB | rgb(44, 118, 18) |
| HSL | hsl(104, 74%, 27%) |
| HSV | hsv(104, 85%, 46%) |
| CMYK | cmyk(62.7%, 0%, 84.7%, 53.7%) |
| CIE-LAB | lab(43.56, -41.07, 43.78) |
| CIE-LCH | lch(43.56, 60.02, 133.17°) |
| OKLab | oklab(49.99% -0.113 0.0968) |
| OKLCH | oklch(49.99% 0.149 139.4) |
| XYZ | xyz(7.6260, 13.5353, 2.7829) |
| Luminance | 0.1354 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 2.80
Green
#008000
ΔE00 4.15
Dark Grass Green
#388004
ΔE00 4.24
Darkish Green
#287C37
ΔE00 5.74
Darkgreen
#006400
ΔE00 6.60
Forestgreen (CSS)
#228B22
ΔE00 7.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C7612 #5C1276
analogous
#5E7612 #2C7612 #12762A
triadic
#2C7612 #122C76 #76122C
tetradic
#2C7612 #125E76 #5C1276 #762A12
square
#2C7612 #125E76 #5C1276 #762A12
split-complementary
#2C7612 #2A1276 #76125E
monochromatic
#0A1B04 #18410A #2C7612 #40AB1A #55DE25
Accessibility & contrast
On white
5.66
#2C7612 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.71
#2C7612 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2C7612
5.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C7612 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C7612 | 1.00 | 5.66 | 3.71 | 5.66 |
| #FFFFFF | 5.66 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.71 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.66 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7A6B00
Deuteranopia (green-blind)
#71651F
Tritanopia (blue-blind)
#237264
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #2c7612; /* rgb */ color: rgb(44, 118, 18); /* oklch */ color: oklch(50.0% 0.149 139.4);
Tailwind
colors: {
custom: {
50: '#709e5a',
500: '#2c7612',
950: '#000000',
},
}SCSS
$custom: #2c7612; $custom-light: #709e5a; $custom-dark: #000000;
JSON
{
"hex": "#2c7612",
"rgb": {
"r": 44,
"g": 118,
"b": 18
},
"hsl": {
"h": 104.4,
"s": 73.529,
"l": 26.667
},
"oklch": {
"l": 0.49992,
"c": 0.14884,
"h": 139.4
},
"luminance": 0.13536
}Semantic roles & 50–950 ramp
primary
#2C7612
secondary
#8E37AD
accent
#38F0C0
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79