#2C7512#2C7512
#2C7512 is a mid, vivid green. Relative luminance 0.133; OKLCH L 49.7% C 0.148 H 139.4°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).
Color values
| HEX | #2C7512 |
|---|---|
| RGB | rgb(44, 117, 18) |
| HSL | hsl(104, 73%, 26%) |
| HSV | hsv(104, 85%, 46%) |
| CMYK | cmyk(62.4%, 0%, 84.6%, 54.1%) |
| CIE-LAB | lab(43.21, -40.69, 43.46) |
| CIE-LCH | lch(43.21, 59.53, 133.11°) |
| OKLab | oklab(49.71% -0.112 0.0961) |
| OKLCH | oklch(49.71% 0.148 139.4) |
| XYZ | xyz(7.5089, 13.3010, 2.7438) |
| Luminance | 0.1330 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 3.13
Green
#008000
ΔE00 4.45
Dark Grass Green
#388004
ΔE00 4.55
Darkish Green
#287C37
ΔE00 5.82
Darkgreen
#006400
ΔE00 6.30
Forestgreen (CSS)
#228B22
ΔE00 7.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C7512 #5B1275
analogous
#5E7512 #2C7512 #12752A
triadic
#2C7512 #122C75 #75122C
tetradic
#2C7512 #125E75 #5B1275 #752A12
square
#2C7512 #125E75 #5B1275 #752A12
split-complementary
#2C7512 #2A1275 #75125E
monochromatic
#0A1B04 #18400A #2C7512 #40AA1A #55DD24
Accessibility & contrast
On white
5.74
#2C7512 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.66
#2C7512 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2C7512
5.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C7512 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C7512 | 1.00 | 5.74 | 3.66 | 5.74 |
| #FFFFFF | 5.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.66 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#796A00
Deuteranopia (green-blind)
#70641E
Tritanopia (blue-blind)
#237163
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #2c7512; /* rgb */ color: rgb(44, 117, 18); /* oklch */ color: oklch(49.7% 0.148 139.4);
Tailwind
colors: {
custom: {
50: '#6f9d5a',
500: '#2c7512',
950: '#000000',
},
}SCSS
$custom: #2c7512; $custom-light: #6f9d5a; $custom-dark: #000000;
JSON
{
"hex": "#2c7512",
"rgb": {
"r": 44,
"g": 117,
"b": 18
},
"hsl": {
"h": 104.242,
"s": 73.333,
"l": 26.471
},
"oklch": {
"l": 0.49707,
"c": 0.14763,
"h": 139.4
},
"luminance": 0.13302
}Semantic roles & 50–950 ramp
primary
#2C7512
secondary
#8D37AC
accent
#38F0C0
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79