#2F761C#2F761C
#2F761C is a mid, vivid green. Relative luminance 0.136; OKLCH L 50.2% C 0.142 H 139.9°. Best body text is #FFFFFF at 5.63:1 contrast (WCAG AA passes).
Color values
| HEX | #2F761C |
|---|---|
| RGB | rgb(47, 118, 28) |
| HSL | hsl(107, 62%, 29%) |
| HSV | hsv(107, 76%, 46%) |
| CMYK | cmyk(60.2%, 0%, 76.3%, 53.7%) |
| CIE-LAB | lab(43.72, -39.57, 40.49) |
| CIE-LCH | lch(43.72, 56.62, 134.34°) |
| OKLab | oklab(50.17% -0.1086 0.0914) |
| OKLCH | oklch(50.17% 0.142 139.9) |
| XYZ | xyz(7.8600, 13.6444, 3.3178) |
| Luminance | 0.1364 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 2.91
Green
#008000
ΔE00 4.65
Dark Grass Green
#388004
ΔE00 4.76
Darkish Green
#287C37
ΔE00 4.81
Darkgreen
#006400
ΔE00 6.73
Forestgreen (CSS)
#228B22
ΔE00 7.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F761C #631C76
analogous
#5C761C #2F761C #1C7636
triadic
#2F761C #1C2F76 #761C2F
tetradic
#2F761C #1C5C76 #631C76 #76361C
square
#2F761C #1C5C76 #631C76 #76361C
split-complementary
#2F761C #361C76 #761C5C
monochromatic
#0A1906 #1B4510 #2F761C #43A728 #5BD13C
Accessibility & contrast
On white
5.63
#2F761C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.73
#2F761C on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2F761C
5.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F761C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F761C | 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)
#796B0B
Deuteranopia (green-blind)
#716525
Tritanopia (blue-blind)
#267265
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #2f761c; /* rgb */ color: rgb(47, 118, 28); /* oklch */ color: oklch(50.2% 0.142 139.9);
Tailwind
colors: {
custom: {
50: '#709e5f',
500: '#2f761c',
950: '#000000',
},
}SCSS
$custom: #2f761c; $custom-light: #709e5f; $custom-dark: #000000;
JSON
{
"hex": "#2f761c",
"rgb": {
"r": 47,
"g": 118,
"b": 28
},
"hsl": {
"h": 107.333,
"s": 61.644,
"l": 28.627
},
"oklch": {
"l": 0.50171,
"c": 0.14199,
"h": 139.9
},
"luminance": 0.13645
}Semantic roles & 50–950 ramp
primary
#2F761C
secondary
#9544AA
accent
#43E5C3
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E05
muted
#7B7E79