#2D741F#2D741F
#2D741F is a mid, vivid green. Relative luminance 0.131; OKLCH L 49.6% C 0.138 H 140.6°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).
Color values
| HEX | #2D741F |
|---|---|
| RGB | rgb(45, 116, 31) |
| HSL | hsl(110, 58%, 29%) |
| HSV | hsv(110, 73%, 45%) |
| CMYK | cmyk(61.2%, 0%, 73.3%, 54.5%) |
| CIE-LAB | lab(42.98, -39.07, 38.50) |
| CIE-LCH | lch(42.98, 54.86, 135.42°) |
| OKLab | oklab(49.55% -0.107 0.0877) |
| OKLCH | oklch(49.55% 0.138 140.6) |
| XYZ | xyz(7.5745, 13.1469, 3.4345) |
| Luminance | 0.1315 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 3.74
Darkish Green
#287C37
ΔE00 4.57
Green
#008000
ΔE00 5.37
Dark Grass Green
#388004
ΔE00 5.73
Darkgreen
#006400
ΔE00 6.13
Jungle Green
#048243
ΔE00 7.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2D741F #661F74
analogous
#58741F #2D741F #1F743C
triadic
#2D741F #1F2D74 #741F2D
tetradic
#2D741F #1F5874 #661F74 #743C1F
square
#2D741F #1F5874 #661F74 #743C1F
split-complementary
#2D741F #3C1F74 #741F58
monochromatic
#091806 #1A4412 #2D741F #40A42C #58CC41
Accessibility & contrast
On white
5.79
#2D741F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.63
#2D741F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2D741F
5.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2D741F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2D741F | 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)
#237063
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #2d741f; /* rgb */ color: rgb(45, 116, 31); /* oklch */ color: oklch(49.6% 0.138 140.6);
Tailwind
colors: {
custom: {
50: '#6f9d60',
500: '#2d741f',
950: '#000000',
},
}SCSS
$custom: #2d741f; $custom-light: #6f9d60; $custom-dark: #000000;
JSON
{
"hex": "#2d741f",
"rgb": {
"r": 45,
"g": 116,
"b": 31
},
"hsl": {
"h": 110.118,
"s": 57.823,
"l": 28.824
},
"oklch": {
"l": 0.49552,
"c": 0.13835,
"h": 140.6
},
"luminance": 0.13148
}Semantic roles & 50–950 ramp
primary
#2D741F
secondary
#9847A8
accent
#47E1C8
background
#F7F9F5
surface
#EDF2EA
border
#C8CCC6
text
#080E05
muted
#7B7E79