#1F702F#1F702F
#1F702F is a mid, vivid green. Relative luminance 0.121; OKLCH L 48.1% C 0.126 H 146.6°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).
Color values
| HEX | #1F702F |
|---|---|
| RGB | rgb(31, 112, 47) |
| HSL | hsl(132, 57%, 28%) |
| HSV | hsv(132, 72%, 44%) |
| CMYK | cmyk(72.3%, 0%, 58%, 56.1%) |
| CIE-LAB | lab(41.35, -38.90, 28.92) |
| CIE-LCH | lch(41.35, 48.48, 143.37°) |
| OKLab | oklab(48.14% -0.1049 0.0691) |
| OKLCH | oklch(48.14% 0.126 146.6) |
| XYZ | xyz(6.8718, 12.0841, 4.6591) |
| Luminance | 0.1208 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 4.20
Darkgreen
#006400
ΔE00 6.50
Jungle Green
#048243
ΔE00 6.62
Tree Green
#2A7E19
ΔE00 7.13
Pine
#2B5D34
ΔE00 7.76
Forest Green
#2D5A27
ΔE00 7.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F702F #701F60
analogous
#37701F #1F702F #1F7057
triadic
#1F702F #2F1F70 #702F1F
tetradic
#1F702F #1F3770 #701F60 #70571F
square
#1F702F #1F3770 #701F60 #70571F
split-complementary
#1F702F #571F70 #701F37
monochromatic
#07180A #12401B #1F702F #2CA043 #3FCA5B
Accessibility & contrast
On white
6.15
#1F702F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.42
#1F702F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #1F702F
6.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F702F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F702F | 1.00 | 6.15 | 3.42 | 6.15 |
| #FFFFFF | 6.15 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.42 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.15 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#726629
Deuteranopia (green-blind)
#685F34
Tritanopia (blue-blind)
#006D61
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #1f702f; /* rgb */ color: rgb(31, 112, 47); /* oklch */ color: oklch(48.1% 0.126 146.6);
Tailwind
colors: {
custom: {
50: '#679a69',
500: '#1f702f',
950: '#000000',
},
}SCSS
$custom: #1f702f; $custom-light: #679a69; $custom-dark: #000000;
JSON
{
"hex": "#1f702f",
"rgb": {
"r": 31,
"g": 112,
"b": 47
},
"hsl": {
"h": 131.852,
"s": 56.643,
"l": 28.039
},
"oklch": {
"l": 0.48138,
"c": 0.12561,
"h": 146.6
},
"luminance": 0.12085
}Semantic roles & 50–950 ramp
primary
#1F702F
secondary
#A44792
accent
#48C2E0
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#070E06
muted
#7A7E7A