#2F711F#2F711F
#2F711F is a mid, vivid green. Relative luminance 0.125; OKLCH L 48.8% C 0.133 H 140.1°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).
Color values
| HEX | #2F711F |
|---|---|
| RGB | rgb(47, 113, 31) |
| HSL | hsl(108, 57%, 28%) |
| HSV | hsv(108, 73%, 44%) |
| CMYK | cmyk(58.4%, 0%, 72.6%, 55.7%) |
| CIE-LAB | lab(42.02, -37.31, 37.52) |
| CIE-LCH | lch(42.02, 52.91, 134.84°) |
| OKLab | oklab(48.78% -0.1023 0.0856) |
| OKLCH | oklch(48.78% 0.133 140.1) |
| XYZ | xyz(7.3244, 12.5129, 3.3253) |
| Luminance | 0.1251 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 4.78
Darkish Green
#287C37
ΔE00 5.18
Darkgreen
#006400
ΔE00 5.49
Green
#008000
ΔE00 6.36
Dark Grass Green
#388004
ΔE00 6.56
Darkolivegreen
#556B2F
ΔE00 7.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F711F #611F71
analogous
#58711F #2F711F #1F7138
triadic
#2F711F #1F2F71 #711F2F
tetradic
#2F711F #1F5871 #611F71 #71381F
square
#2F711F #1F5871 #611F71 #71381F
split-complementary
#2F711F #381F71 #711F58
monochromatic
#0A1807 #1B4112 #2F711F #43A12C #5BCB40
Accessibility & contrast
On white
6.00
#2F711F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.50
#2F711F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2F711F
6.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F711F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F711F | 1.00 | 6.00 | 3.50 | 6.00 |
| #FFFFFF | 6.00 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.50 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.00 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#746713
Deuteranopia (green-blind)
#6C6127
Tritanopia (blue-blind)
#276D61
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #2f711f; /* rgb */ color: rgb(47, 113, 31); /* oklch */ color: oklch(48.8% 0.133 140.1);
Tailwind
colors: {
custom: {
50: '#6f9a60',
500: '#2f711f',
950: '#000000',
},
}SCSS
$custom: #2f711f; $custom-light: #6f9a60; $custom-dark: #000000;
JSON
{
"hex": "#2f711f",
"rgb": {
"r": 47,
"g": 113,
"b": 31
},
"hsl": {
"h": 108.293,
"s": 56.944,
"l": 28.235
},
"oklch": {
"l": 0.48777,
"c": 0.13345,
"h": 140.1
},
"luminance": 0.12514
}Semantic roles & 50–950 ramp
primary
#2F711F
secondary
#9347A5
accent
#48E0C2
background
#F7F9F5
surface
#EDF2EA
border
#C8CCC6
text
#080E05
muted
#7B7E79