#2C7213#2C7213
#2C7213 is a mid, vivid green. Relative luminance 0.126; OKLCH L 48.9% C 0.143 H 139.3°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).
Color values
| HEX | #2C7213 |
|---|---|
| RGB | rgb(44, 114, 19) |
| HSL | hsl(104, 71%, 26%) |
| HSV | hsv(104, 83%, 45%) |
| CMYK | cmyk(61.4%, 0%, 83.3%, 55.3%) |
| CIE-LAB | lab(42.18, -39.48, 42.18) |
| CIE-LCH | lch(42.18, 57.77, 133.10°) |
| OKLab | oklab(48.85% -0.1087 0.0936) |
| OKLCH | oklch(48.85% 0.143 139.3) |
| XYZ | xyz(7.1733, 12.6165, 2.6732) |
| Luminance | 0.1262 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 4.14
Green
#008000
ΔE00 5.41
Darkgreen
#006400
ΔE00 5.42
Dark Grass Green
#388004
ΔE00 5.54
Darkish Green
#287C37
ΔE00 6.07
Darkolivegreen
#556B2F
ΔE00 8.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C7213 #591372
analogous
#5B7213 #2C7213 #137229
triadic
#2C7213 #132C72 #72132C
tetradic
#2C7213 #135B72 #591372 #722913
square
#2C7213 #135B72 #591372 #722913
split-complementary
#2C7213 #291372 #72135B
monochromatic
#0A1A04 #183E0A #2C7213 #40A61C #55DB25
Accessibility & contrast
On white
5.96
#2C7213 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.52
#2C7213 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2C7213
5.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C7213 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C7213 | 1.00 | 5.96 | 3.52 | 5.96 |
| #FFFFFF | 5.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.52 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#766700
Deuteranopia (green-blind)
#6D611E
Tritanopia (blue-blind)
#246E61
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #2c7213; /* rgb */ color: rgb(44, 114, 19); /* oklch */ color: oklch(48.9% 0.143 139.3);
Tailwind
colors: {
custom: {
50: '#6f9b5a',
500: '#2c7213',
950: '#000000',
},
}SCSS
$custom: #2c7213; $custom-light: #6f9b5a; $custom-dark: #000000;
JSON
{
"hex": "#2c7213",
"rgb": {
"r": 44,
"g": 114,
"b": 19
},
"hsl": {
"h": 104.211,
"s": 71.429,
"l": 26.078
},
"oklch": {
"l": 0.48853,
"c": 0.14347,
"h": 139.3
},
"luminance": 0.12617
}Semantic roles & 50–950 ramp
primary
#2C7213
secondary
#8B38A9
accent
#3AEEBF
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E04
muted
#7B7E79