#2F751F#2F751F
#2F751F is a mid, vivid green. Relative luminance 0.134; OKLCH L 49.9% C 0.139 H 140.3°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).
Color values
| HEX | #2F751F |
|---|---|
| RGB | rgb(47, 117, 31) |
| HSL | hsl(109, 58%, 29%) |
| HSV | hsv(109, 74%, 46%) |
| CMYK | cmyk(59.8%, 0%, 73.5%, 54.1%) |
| CIE-LAB | lab(43.40, -38.92, 38.95) |
| CIE-LCH | lch(43.40, 55.07, 134.98°) |
| OKLab | oklab(49.91% -0.1067 0.0886) |
| OKLCH | oklch(49.91% 0.139 140.3) |
| XYZ | xyz(7.7806, 13.4252, 3.4774) |
| Luminance | 0.1343 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 3.39
Darkish Green
#287C37
ΔE00 4.54
Green
#008000
ΔE00 5.13
Dark Grass Green
#388004
ΔE00 5.33
Darkgreen
#006400
ΔE00 6.49
Forestgreen (CSS)
#228B22
ΔE00 7.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F751F #651F75
analogous
#5A751F #2F751F #1F753A
triadic
#2F751F #1F2F75 #751F2F
tetradic
#2F751F #1F5A75 #651F75 #753A1F
square
#2F751F #1F5A75 #651F75 #753A1F
split-complementary
#2F751F #3A1F75 #751F5A
monochromatic
#0A1806 #1C4512 #2F751F #42A52C #5BCD42
Accessibility & contrast
On white
5.70
#2F751F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.69
#2F751F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2F751F
5.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F751F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F751F | 1.00 | 5.70 | 3.69 | 5.70 |
| #FFFFFF | 5.70 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.69 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.70 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#786A11
Deuteranopia (green-blind)
#6F6427
Tritanopia (blue-blind)
#267164
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #2f751f; /* rgb */ color: rgb(47, 117, 31); /* oklch */ color: oklch(49.9% 0.139 140.3);
Tailwind
colors: {
custom: {
50: '#709d60',
500: '#2f751f',
950: '#000000',
},
}SCSS
$custom: #2f751f; $custom-light: #709d60; $custom-dark: #000000;
JSON
{
"hex": "#2f751f",
"rgb": {
"r": 47,
"g": 117,
"b": 31
},
"hsl": {
"h": 108.837,
"s": 58.108,
"l": 29.02
},
"oklch": {
"l": 0.49913,
"c": 0.13872,
"h": 140.3
},
"luminance": 0.13426
}Semantic roles & 50–950 ramp
primary
#2F751F
secondary
#9747A9
accent
#46E1C5
background
#F7F9F5
surface
#EDF2EA
border
#C8CCC6
text
#080E05
muted
#7B7E79