#2F701F#2F701F
#2F701F is a mid, vivid green. Relative luminance 0.123; OKLCH L 48.5% C 0.132 H 140.0°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).
Color values
| HEX | #2F701F |
|---|---|
| RGB | rgb(47, 112, 31) |
| HSL | hsl(108, 57%, 28%) |
| HSV | hsv(108, 72%, 44%) |
| CMYK | cmyk(58%, 0%, 72.3%, 56.1%) |
| CIE-LAB | lab(41.67, -36.91, 37.16) |
| CIE-LCH | lch(41.67, 52.37, 134.81°) |
| OKLab | oklab(48.49% -0.1013 0.0849) |
| OKLCH | oklch(48.49% 0.132 140) |
| XYZ | xyz(7.2135, 12.2910, 3.2883) |
| Luminance | 0.1229 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Tree Green
#2A7E19
ΔE00 5.13
Darkgreen
#006400
ΔE00 5.27
Darkish Green
#287C37
ΔE00 5.39
Green
#008000
ΔE00 6.68
Dark Grass Green
#388004
ΔE00 6.88
Darkolivegreen
#556B2F
ΔE00 7.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#2F701F #601F70
analogous
#57701F #2F701F #1F7037
triadic
#2F701F #1F2F70 #701F2F
tetradic
#2F701F #1F5770 #601F70 #70371F
square
#2F701F #1F5770 #601F70 #70371F
split-complementary
#2F701F #371F70 #701F57
monochromatic
#0A1807 #1B4012 #2F701F #43A02C #5BCA3F
Accessibility & contrast
On white
6.07
#2F701F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.46
#2F701F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #2F701F
6.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##2F701F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##2F701F | 1.00 | 6.07 | 3.46 | 6.07 |
| #FFFFFF | 6.07 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.07 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#736613
Deuteranopia (green-blind)
#6B6027
Tritanopia (blue-blind)
#286C60
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #2f701f; /* rgb */ color: rgb(47, 112, 31); /* oklch */ color: oklch(48.5% 0.132 140.0);
Tailwind
colors: {
custom: {
50: '#6f9a5f',
500: '#2f701f',
950: '#000000',
},
}SCSS
$custom: #2f701f; $custom-light: #6f9a5f; $custom-dark: #000000;
JSON
{
"hex": "#2f701f",
"rgb": {
"r": 47,
"g": 112,
"b": 31
},
"hsl": {
"h": 108.148,
"s": 56.643,
"l": 28.039
},
"oklch": {
"l": 0.48492,
"c": 0.13212,
"h": 140
},
"luminance": 0.12292
}Semantic roles & 50–950 ramp
primary
#2F701F
secondary
#9247A4
accent
#48E0C2
background
#F7F9F5
surface
#EDF2EA
border
#C8CCC6
text
#080E05
muted
#7B7E79