#1F701F#1F701F
#1F701F is a mid, vivid green. Relative luminance 0.120; OKLCH L 47.9% C 0.139 H 143.0°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).
Color values
| HEX | #1F701F |
|---|---|
| RGB | rgb(31, 112, 31) |
| HSL | hsl(120, 57%, 28%) |
| HSV | hsv(120, 72%, 44%) |
| CMYK | cmyk(72.3%, 0%, 72.3%, 56.1%) |
| CIE-LAB | lab(41.18, -40.89, 36.49) |
| CIE-LCH | lch(41.18, 54.80, 138.26°) |
| OKLab | oklab(47.94% -0.111 0.0836) |
| OKLCH | oklch(47.94% 0.139 143) |
| XYZ | xyz(6.6062, 11.9779, 3.2599) |
| Luminance | 0.1198 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 4.68
Darkish Green
#287C37
ΔE00 5.01
Tree Green
#2A7E19
ΔE00 5.40
Green
#008000
ΔE00 6.54
Deep Green
#02590F
ΔE00 7.60
Dark Grass Green
#388004
ΔE00 7.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F701F #701F70
analogous
#47701F #1F701F #1F7047
triadic
#1F701F #1F1F70 #701F1F
tetradic
#1F701F #1F4770 #701F70 #70471F
square
#1F701F #1F4770 #701F70 #70471F
split-complementary
#1F701F #471F70 #701F47
monochromatic
#071807 #124012 #1F701F #2CA02C #3FCA3F
Accessibility & contrast
On white
6.18
#1F701F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.40
#1F701F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #1F701F
6.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F701F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F701F | 1.00 | 6.18 | 3.40 | 6.18 |
| #FFFFFF | 6.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.40 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#726513
Deuteranopia (green-blind)
#695F27
Tritanopia (blue-blind)
#086D60
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #1f701f; /* rgb */ color: rgb(31, 112, 31); /* oklch */ color: oklch(47.9% 0.139 143.0);
Tailwind
colors: {
custom: {
50: '#689a5f',
500: '#1f701f',
950: '#000000',
},
}SCSS
$custom: #1f701f; $custom-light: #689a5f; $custom-dark: #000000;
JSON
{
"hex": "#1f701f",
"rgb": {
"r": 31,
"g": 112,
"b": 31
},
"hsl": {
"h": 120,
"s": 56.643,
"l": 28.039
},
"oklch": {
"l": 0.47944,
"c": 0.13898,
"h": 143
},
"luminance": 0.11979
}Semantic roles & 50–950 ramp
primary
#1F701F
secondary
#A447A4
accent
#48E0E0
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#070E05
muted
#7A7E79