#2C7715#2C7715
#2C7715 is a mid, vivid green. Relative luminance 0.138; OKLCH L 50.3% C 0.149 H 139.8°. Best body text is #FFFFFF at 5.59:1 contrast (WCAG AA passes).
Color values
| HEX | #2C7715 |
|---|---|
| RGB | rgb(44, 119, 21) |
| HSL | hsl(106, 70%, 27%) |
| HSV | hsv(106, 82%, 47%) |
| CMYK | cmyk(63%, 0%, 82.4%, 53.3%) |
| CIE-LAB | lab(43.92, -41.27, 43.17) |
| CIE-LCH | lch(43.92, 59.72, 133.71°) |
| OKLab | oklab(50.3% -0.1134 0.096) |
| OKLCH | oklch(50.3% 0.149 139.8) |
| XYZ | xyz(7.7705, 13.7826, 2.9601) |
| Luminance | 0.1378 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 2.44
Green
#008000
ΔE00 3.93
Dark Grass Green
#388004
ΔE00 4.10
Darkish Green
#287C37
ΔE00 5.38
Darkgreen
#006400
ΔE00 6.88
Forestgreen (CSS)
#228B22
ΔE00 7.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C7715 #601577
analogous
#5D7715 #2C7715 #15772F
triadic
#2C7715 #152C77 #77152C
tetradic
#2C7715 #155D77 #601577 #772F15
square
#2C7715 #155D77 #601577 #772F15
split-complementary
#2C7715 #2F1577 #77155D
monochromatic
#0A1A05 #19430C #2C7715 #3FAB1E #55DA2D
Accessibility & contrast
On white
5.59
#2C7715 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.76
#2C7715 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2C7715
5.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C7715 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C7715 | 1.00 | 5.59 | 3.76 | 5.59 |
| #FFFFFF | 5.59 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.76 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.59 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7B6C00
Deuteranopia (green-blind)
#716521
Tritanopia (blue-blind)
#227365
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #2c7715; /* rgb */ color: rgb(44, 119, 21); /* oklch */ color: oklch(50.3% 0.149 139.8);
Tailwind
colors: {
custom: {
50: '#709f5b',
500: '#2c7715',
950: '#000000',
},
}SCSS
$custom: #2c7715; $custom-light: #709f5b; $custom-dark: #000000;
JSON
{
"hex": "#2c7715",
"rgb": {
"r": 44,
"g": 119,
"b": 21
},
"hsl": {
"h": 105.918,
"s": 70,
"l": 27.451
},
"oklch": {
"l": 0.50295,
"c": 0.14859,
"h": 139.8
},
"luminance": 0.13783
}Semantic roles & 50–950 ramp
primary
#2C7715
secondary
#923BAD
accent
#3BEDC3
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79