#2C7412#2C7412
#2C7412 is a mid, vivid green. Relative luminance 0.131; OKLCH L 49.4% C 0.146 H 139.3°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).
Color values
| HEX | #2C7412 |
|---|---|
| RGB | rgb(44, 116, 18) |
| HSL | hsl(104, 73%, 26%) |
| HSV | hsv(104, 84%, 45%) |
| CMYK | cmyk(62.1%, 0%, 84.5%, 54.5%) |
| CIE-LAB | lab(42.87, -40.30, 43.14) |
| CIE-LCH | lch(42.87, 59.04, 133.06°) |
| OKLab | oklab(49.42% -0.111 0.0955) |
| OKLCH | oklch(49.42% 0.146 139.3) |
| XYZ | xyz(7.3930, 13.0693, 2.7052) |
| Luminance | 0.1307 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 3.47
Green
#008000
ΔE00 4.76
Dark Grass Green
#388004
ΔE00 4.86
Darkish Green
#287C37
ΔE00 5.91
Darkgreen
#006400
ΔE00 6.00
Forestgreen (CSS)
#228B22
ΔE00 8.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C7412 #5A1274
analogous
#5D7412 #2C7412 #127429
triadic
#2C7412 #122C74 #74122C
tetradic
#2C7412 #125D74 #5A1274 #742912
square
#2C7412 #125D74 #5A1274 #742912
split-complementary
#2C7412 #291274 #74125D
monochromatic
#0A1A04 #183F0A #2C7412 #40A91A #55DD23
Accessibility & contrast
On white
5.81
#2C7412 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.61
#2C7412 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2C7412
5.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C7412 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C7412 | 1.00 | 5.81 | 3.61 | 5.81 |
| #FFFFFF | 5.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.61 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#786900
Deuteranopia (green-blind)
#6F631E
Tritanopia (blue-blind)
#237062
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #2c7412; /* rgb */ color: rgb(44, 116, 18); /* oklch */ color: oklch(49.4% 0.146 139.3);
Tailwind
colors: {
custom: {
50: '#6f9d5a',
500: '#2c7412',
950: '#000000',
},
}SCSS
$custom: #2c7412; $custom-light: #6f9d5a; $custom-dark: #000000;
JSON
{
"hex": "#2c7412",
"rgb": {
"r": 44,
"g": 116,
"b": 18
},
"hsl": {
"h": 104.082,
"s": 73.134,
"l": 26.275
},
"oklch": {
"l": 0.4942,
"c": 0.14641,
"h": 139.3
},
"luminance": 0.1307
}Semantic roles & 50–950 ramp
primary
#2C7412
secondary
#8C37AB
accent
#38F0BF
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79