#2C721F#2C721F
#2C721F is a mid, vivid green. Relative luminance 0.127; OKLCH L 48.9% C 0.136 H 140.8°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).
Color values
| HEX | #2C721F |
|---|---|
| RGB | rgb(44, 114, 31) |
| HSL | hsl(111, 57%, 28%) |
| HSV | hsv(111, 73%, 45%) |
| CMYK | cmyk(61.4%, 0%, 72.8%, 55.3%) |
| CIE-LAB | lab(42.26, -38.55, 37.74) |
| CIE-LCH | lch(42.26, 53.95, 135.61°) |
| OKLab | oklab(48.95% -0.1055 0.0861) |
| OKLCH | oklch(48.95% 0.136 140.8) |
| XYZ | xyz(7.3030, 12.6684, 3.3564) |
| Luminance | 0.1267 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 4.44
Darkish Green
#287C37
ΔE00 4.86
Darkgreen
#006400
ΔE00 5.56
Green
#008000
ΔE00 5.97
Dark Grass Green
#388004
ΔE00 6.39
Jungle Green
#048243
ΔE00 8.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C721F #651F72
analogous
#55721F #2C721F #1F723B
triadic
#2C721F #1F2C72 #721F2C
tetradic
#2C721F #1F5572 #651F72 #723B1F
square
#2C721F #1F5572 #651F72 #723B1F
split-complementary
#2C721F #3B1F72 #721F55
monochromatic
#091807 #194212 #2C721F #3FA22C #56CB40
Accessibility & contrast
On white
5.94
#2C721F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.53
#2C721F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2C721F
5.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C721F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C721F | 1.00 | 5.94 | 3.53 | 5.94 |
| #FFFFFF | 5.94 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.94 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#756712
Deuteranopia (green-blind)
#6C6227
Tritanopia (blue-blind)
#226E61
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #2c721f; /* rgb */ color: rgb(44, 114, 31); /* oklch */ color: oklch(48.9% 0.136 140.8);
Tailwind
colors: {
custom: {
50: '#6e9b60',
500: '#2c721f',
950: '#000000',
},
}SCSS
$custom: #2c721f; $custom-light: #6e9b60; $custom-dark: #000000;
JSON
{
"hex": "#2c721f",
"rgb": {
"r": 44,
"g": 114,
"b": 31
},
"hsl": {
"h": 110.602,
"s": 57.241,
"l": 28.431
},
"oklch": {
"l": 0.48945,
"c": 0.13619,
"h": 140.8
},
"luminance": 0.12669
}Semantic roles & 50–950 ramp
primary
#2C721F
secondary
#9747A6
accent
#47E0C9
background
#F7F9F5
surface
#EDF2EA
border
#C8CCC6
text
#080E05
muted
#7B7E79