#2F761F#2F761F
#2F761F is a mid, vivid green. Relative luminance 0.137; OKLCH L 50.2% C 0.140 H 140.3°. Best body text is #FFFFFF at 5.63:1 contrast (WCAG AA passes).
Color values
| HEX | #2F761F |
|---|---|
| RGB | rgb(47, 118, 31) |
| HSL | hsl(109, 58%, 29%) |
| HSV | hsv(109, 74%, 46%) |
| CMYK | cmyk(60.2%, 0%, 73.7%, 53.7%) |
| CIE-LAB | lab(43.74, -39.32, 39.31) |
| CIE-LCH | lch(43.74, 55.60, 135.01°) |
| OKLab | oklab(50.2% -0.1078 0.0894) |
| OKLCH | oklch(50.2% 0.14 140.3) |
| XYZ | xyz(7.8977, 13.6594, 3.5164) |
| Luminance | 0.1366 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 3.04
Darkish Green
#287C37
ΔE00 4.43
Green
#008000
ΔE00 4.84
Dark Grass Green
#388004
ΔE00 5.04
Darkgreen
#006400
ΔE00 6.77
Forestgreen (CSS)
#228B22
ΔE00 7.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F761F #661F76
analogous
#5B761F #2F761F #1F763B
triadic
#2F761F #1F2F76 #761F2F
tetradic
#2F761F #1F5B76 #661F76 #763B1F
square
#2F761F #1F5B76 #661F76 #763B1F
split-complementary
#2F761F #3B1F76 #761F5B
monochromatic
#0A1806 #1C4612 #2F761F #42A62C #5CCD42
Accessibility & contrast
On white
5.63
#2F761F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.73
#2F761F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2F761F
5.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F761F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F761F | 1.00 | 5.63 | 3.73 | 5.63 |
| #FFFFFF | 5.63 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.73 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.63 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#796B11
Deuteranopia (green-blind)
#706527
Tritanopia (blue-blind)
#267265
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #2f761f; /* rgb */ color: rgb(47, 118, 31); /* oklch */ color: oklch(50.2% 0.140 140.3);
Tailwind
colors: {
custom: {
50: '#709e60',
500: '#2f761f',
950: '#000000',
},
}SCSS
$custom: #2f761f; $custom-light: #709e60; $custom-dark: #000000;
JSON
{
"hex": "#2f761f",
"rgb": {
"r": 47,
"g": 118,
"b": 31
},
"hsl": {
"h": 108.966,
"s": 58.389,
"l": 29.216
},
"oklch": {
"l": 0.50197,
"c": 0.14001,
"h": 140.3
},
"luminance": 0.1366
}Semantic roles & 50–950 ramp
primary
#2F761F
secondary
#9847AA
accent
#46E2C5
background
#F7F9F5
surface
#EDF2EA
border
#C8CCC6
text
#080E05
muted
#7B7E79