#2C741F#2C741F
#2C741F is a mid, vivid green. Relative luminance 0.131; OKLCH L 49.5% C 0.139 H 140.8°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).
Color values
| HEX | #2C741F |
|---|---|
| RGB | rgb(44, 116, 31) |
| HSL | hsl(111, 58%, 29%) |
| HSV | hsv(111, 73%, 45%) |
| CMYK | cmyk(62.1%, 0%, 73.3%, 54.5%) |
| CIE-LAB | lab(42.95, -39.34, 38.46) |
| CIE-LCH | lch(42.95, 55.02, 135.65°) |
| OKLab | oklab(49.52% -0.1076 0.0876) |
| OKLCH | oklch(49.52% 0.139 140.8) |
| XYZ | xyz(7.5311, 13.1245, 3.4325) |
| Luminance | 0.1313 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 3.75
Darkish Green
#287C37
ΔE00 4.53
Green
#008000
ΔE00 5.35
Dark Grass Green
#388004
ΔE00 5.79
Darkgreen
#006400
ΔE00 6.08
Jungle Green
#048243
ΔE00 7.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2C741F #671F74
analogous
#57741F #2C741F #1F743D
triadic
#2C741F #1F2C74 #741F2C
tetradic
#2C741F #1F5774 #671F74 #743D1F
square
#2C741F #1F5774 #671F74 #743D1F
split-complementary
#2C741F #3D1F74 #741F57
monochromatic
#091806 #1A4412 #2C741F #3EA42C #56CC41
Accessibility & contrast
On white
5.79
#2C741F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.63
#2C741F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2C741F
5.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2C741F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2C741F | 1.00 | 5.79 | 3.63 | 5.79 |
| #FFFFFF | 5.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.63 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#776912
Deuteranopia (green-blind)
#6E6327
Tritanopia (blue-blind)
#227063
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #2c741f; /* rgb */ color: rgb(44, 116, 31); /* oklch */ color: oklch(49.5% 0.139 140.8);
Tailwind
colors: {
custom: {
50: '#6e9d60',
500: '#2c741f',
950: '#000000',
},
}SCSS
$custom: #2c741f; $custom-light: #6e9d60; $custom-dark: #000000;
JSON
{
"hex": "#2c741f",
"rgb": {
"r": 44,
"g": 116,
"b": 31
},
"hsl": {
"h": 110.824,
"s": 57.823,
"l": 28.824
},
"oklch": {
"l": 0.49515,
"c": 0.13879,
"h": 140.8
},
"luminance": 0.13125
}Semantic roles & 50–950 ramp
primary
#2C741F
secondary
#9947A8
accent
#47E1C9
background
#F7F9F5
surface
#EDF2EA
border
#C8CCC6
text
#080E05
muted
#7B7E79