#2F751E#2F751E
#2F751E is a mid, vivid green. Relative luminance 0.134; OKLCH L 49.9% C 0.139 H 140.1°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).
Color values
| HEX | #2F751E |
|---|---|
| RGB | rgb(47, 117, 30) |
| HSL | hsl(108, 59%, 29%) |
| HSV | hsv(108, 74%, 46%) |
| CMYK | cmyk(59.8%, 0%, 74.4%, 54.1%) |
| CIE-LAB | lab(43.39, -39.01, 39.36) |
| CIE-LCH | lch(43.39, 55.42, 134.74°) |
| OKLab | oklab(49.9% -0.107 0.0894) |
| OKLCH | oklch(49.9% 0.139 140.1) |
| XYZ | xyz(7.7676, 13.4200, 3.4090) |
| Luminance | 0.1342 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 3.34
Darkish Green
#287C37
ΔE00 4.66
Green
#008000
ΔE00 5.07
Dark Grass Green
#388004
ΔE00 5.24
Darkgreen
#006400
ΔE00 6.47
Forestgreen (CSS)
#228B22
ΔE00 7.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F751E #641E75
analogous
#5B751E #2F751E #1E7539
triadic
#2F751E #1E2F75 #751E2F
tetradic
#2F751E #1E5B75 #641E75 #75391E
square
#2F751E #1E5B75 #641E75 #75391E
split-complementary
#2F751E #391E75 #751E5B
monochromatic
#0A1806 #1B4412 #2F751E #43A62A #5BCE40
Accessibility & contrast
On white
5.70
#2F751E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.68
#2F751E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2F751E
5.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F751E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F751E | 1.00 | 5.70 | 3.68 | 5.70 |
| #FFFFFF | 5.70 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.68 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.70 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#786A10
Deuteranopia (green-blind)
#706427
Tritanopia (blue-blind)
#267164
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #2f751e; /* rgb */ color: rgb(47, 117, 30); /* oklch */ color: oklch(49.9% 0.139 140.1);
Tailwind
colors: {
custom: {
50: '#709d60',
500: '#2f751e',
950: '#000000',
},
}SCSS
$custom: #2f751e; $custom-light: #709d60; $custom-dark: #000000;
JSON
{
"hex": "#2f751e",
"rgb": {
"r": 47,
"g": 117,
"b": 30
},
"hsl": {
"h": 108.276,
"s": 59.184,
"l": 28.824
},
"oklch": {
"l": 0.49904,
"c": 0.1394,
"h": 140.1
},
"luminance": 0.13421
}Semantic roles & 50–950 ramp
primary
#2F751E
secondary
#9646A9
accent
#45E2C4
background
#F7F9F5
surface
#EDF2EA
border
#C8CCC6
text
#080E05
muted
#7B7E79