#2F741F#2F741F
#2F741F is a mid, vivid green. Relative luminance 0.132; OKLCH L 49.6% C 0.137 H 140.2°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).
Color values
| HEX | #2F741F |
|---|---|
| RGB | rgb(47, 116, 31) |
| HSL | hsl(109, 58%, 29%) |
| HSV | hsv(109, 73%, 45%) |
| CMYK | cmyk(59.5%, 0%, 73.3%, 54.5%) |
| CIE-LAB | lab(43.05, -38.52, 38.60) |
| CIE-LCH | lch(43.05, 54.53, 134.94°) |
| OKLab | oklab(49.63% -0.1056 0.0879) |
| OKLCH | oklch(49.63% 0.137 140.2) |
| XYZ | xyz(7.6647, 13.1934, 3.4387) |
| Luminance | 0.1319 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 3.73
Darkish Green
#287C37
ΔE00 4.67
Green
#008000
ΔE00 5.43
Dark Grass Green
#388004
ΔE00 5.63
Darkgreen
#006400
ΔE00 6.22
Jungle Green
#048243
ΔE00 8.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F741F #641F74
analogous
#5A741F #2F741F #1F743A
triadic
#2F741F #1F2F74 #741F2F
tetradic
#2F741F #1F5A74 #641F74 #743A1F
square
#2F741F #1F5A74 #641F74 #743A1F
split-complementary
#2F741F #3A1F74 #741F5A
monochromatic
#0A1806 #1B4412 #2F741F #43A42C #5BCC41
Accessibility & contrast
On white
5.77
#2F741F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.64
#2F741F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2F741F
5.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F741F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F741F | 1.00 | 5.77 | 3.64 | 5.77 |
| #FFFFFF | 5.77 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.64 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.77 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#776912
Deuteranopia (green-blind)
#6F6327
Tritanopia (blue-blind)
#277063
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #2f741f; /* rgb */ color: rgb(47, 116, 31); /* oklch */ color: oklch(49.6% 0.137 140.2);
Tailwind
colors: {
custom: {
50: '#709d60',
500: '#2f741f',
950: '#000000',
},
}SCSS
$custom: #2f741f; $custom-light: #709d60; $custom-dark: #000000;
JSON
{
"hex": "#2f741f",
"rgb": {
"r": 47,
"g": 116,
"b": 31
},
"hsl": {
"h": 108.706,
"s": 57.823,
"l": 28.824
},
"oklch": {
"l": 0.49629,
"c": 0.13741,
"h": 140.2
},
"luminance": 0.13194
}Semantic roles & 50–950 ramp
primary
#2F741F
secondary
#9647A8
accent
#47E1C4
background
#F7F9F5
surface
#EDF2EA
border
#C8CCC6
text
#080E05
muted
#7B7E79