#2C7219#2C7219
#2C7219 is a mid, vivid green. Relative luminance 0.126; OKLCH L 48.9% C 0.140 H 139.9°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).
Color values
| HEX | #2C7219 |
|---|---|
| RGB | rgb(44, 114, 25) |
| HSL | hsl(107, 64%, 27%) |
| HSV | hsv(107, 78%, 45%) |
| CMYK | cmyk(61.4%, 0%, 78.1%, 55.3%) |
| CIE-LAB | lab(42.22, -39.06, 40.11) |
| CIE-LCH | lch(42.22, 55.99, 134.24°) |
| OKLab | oklab(48.89% -0.1072 0.0902) |
| OKLCH | oklch(48.89% 0.14 139.9) |
| XYZ | xyz(7.2312, 12.6396, 2.9781) |
| Luminance | 0.1264 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 4.21
Darkgreen
#006400
ΔE00 5.43
Darkish Green
#287C37
ΔE00 5.49
Green
#008000
ΔE00 5.62
Dark Grass Green
#388004
ΔE00 5.90
Darkolivegreen
#556B2F
ΔE00 8.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C7219 #5F1972
analogous
#597219 #2C7219 #197233
triadic
#2C7219 #192C72 #72192C
tetradic
#2C7219 #195972 #5F1972 #723319
square
#2C7219 #195972 #5F1972 #723319
split-complementary
#2C7219 #331972 #721959
monochromatic
#0A1906 #19400E #2C7219 #3FA424 #55D233
Accessibility & contrast
On white
5.95
#2C7219 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.53
#2C7219 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2C7219
5.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C7219 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C7219 | 1.00 | 5.95 | 3.53 | 5.95 |
| #FFFFFF | 5.95 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.95 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#756707
Deuteranopia (green-blind)
#6D6122
Tritanopia (blue-blind)
#236E61
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #2c7219; /* rgb */ color: rgb(44, 114, 25); /* oklch */ color: oklch(48.9% 0.140 139.9);
Tailwind
colors: {
custom: {
50: '#6e9b5d',
500: '#2c7219',
950: '#000000',
},
}SCSS
$custom: #2c7219; $custom-light: #6e9b5d; $custom-dark: #000000;
JSON
{
"hex": "#2c7219",
"rgb": {
"r": 44,
"g": 114,
"b": 25
},
"hsl": {
"h": 107.191,
"s": 64.029,
"l": 27.255
},
"oklch": {
"l": 0.48894,
"c": 0.14015,
"h": 139.9
},
"luminance": 0.1264
}Semantic roles & 50–950 ramp
primary
#2C7219
secondary
#9140A7
accent
#41E7C4
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79