#2C7312#2C7312
#2C7312 is a mid, vivid green. Relative luminance 0.128; OKLCH L 49.1% C 0.145 H 139.2°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).
Color values
| HEX | #2C7312 |
|---|---|
| RGB | rgb(44, 115, 18) |
| HSL | hsl(104, 73%, 26%) |
| HSV | hsv(104, 84%, 45%) |
| CMYK | cmyk(61.7%, 0%, 84.3%, 54.9%) |
| CIE-LAB | lab(42.52, -39.92, 42.82) |
| CIE-LCH | lch(42.52, 58.54, 133.00°) |
| OKLab | oklab(49.13% -0.11 0.0948) |
| OKLCH | oklch(49.13% 0.145 139.2) |
| XYZ | xyz(7.2783, 12.8400, 2.6670) |
| Luminance | 0.1284 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 3.81
Green
#008000
ΔE00 5.07
Dark Grass Green
#388004
ΔE00 5.18
Darkgreen
#006400
ΔE00 5.71
Darkish Green
#287C37
ΔE00 6.03
Forestgreen (CSS)
#228B22
ΔE00 8.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C7312 #591273
analogous
#5C7312 #2C7312 #127329
triadic
#2C7312 #122C73 #73122C
tetradic
#2C7312 #125C73 #591273 #732912
square
#2C7312 #125C73 #591273 #732912
split-complementary
#2C7312 #291273 #73125C
monochromatic
#0A1A04 #183E0A #2C7312 #40A81A #55DD23
Accessibility & contrast
On white
5.89
#2C7312 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.57
#2C7312 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2C7312
5.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C7312 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C7312 | 1.00 | 5.89 | 3.57 | 5.89 |
| #FFFFFF | 5.89 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.89 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#776800
Deuteranopia (green-blind)
#6E621E
Tritanopia (blue-blind)
#246F61
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #2c7312; /* rgb */ color: rgb(44, 115, 18); /* oklch */ color: oklch(49.1% 0.145 139.2);
Tailwind
colors: {
custom: {
50: '#6f9c5a',
500: '#2c7312',
950: '#000000',
},
}SCSS
$custom: #2c7312; $custom-light: #6f9c5a; $custom-dark: #000000;
JSON
{
"hex": "#2c7312",
"rgb": {
"r": 44,
"g": 115,
"b": 18
},
"hsl": {
"h": 103.918,
"s": 72.932,
"l": 26.078
},
"oklch": {
"l": 0.49134,
"c": 0.14519,
"h": 139.2
},
"luminance": 0.12841
}Semantic roles & 50–950 ramp
primary
#2C7312
secondary
#8B37AA
accent
#38F0BE
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79