#1F712B#1F712B
#1F712B is a mid, vivid green. Relative luminance 0.123; OKLCH L 48.4% C 0.131 H 145.5°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).
Color values
| HEX | #1F712B |
|---|---|
| RGB | rgb(31, 113, 43) |
| HSL | hsl(129, 57%, 28%) |
| HSV | hsv(129, 73%, 44%) |
| CMYK | cmyk(72.6%, 0%, 61.9%, 55.7%) |
| CIE-LAB | lab(41.65, -39.85, 31.34) |
| CIE-LCH | lch(41.65, 50.70, 141.82°) |
| OKLab | oklab(48.37% -0.1076 0.074) |
| OKLCH | oklch(48.37% 0.131 145.5) |
| XYZ | xyz(6.9058, 12.2752, 4.2904) |
| Luminance | 0.1228 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 3.94
Darkgreen
#006400
ΔE00 6.05
Tree Green
#2A7E19
ΔE00 6.25
Jungle Green
#048243
ΔE00 6.66
Green
#008000
ΔE00 7.56
Deep Green
#02590F
ΔE00 8.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F712B #711F65
analogous
#3C711F #1F712B #1F7154
triadic
#1F712B #2B1F71 #712B1F
tetradic
#1F712B #1F3C71 #711F65 #71541F
square
#1F712B #1F3C71 #711F65 #71541F
split-complementary
#1F712B #541F71 #711F3C
monochromatic
#071809 #124119 #1F712B #2CA13D #40CB54
Accessibility & contrast
On white
6.08
#1F712B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.46
#1F712B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #1F712B
6.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F712B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F712B | 1.00 | 6.08 | 3.46 | 6.08 |
| #FFFFFF | 6.08 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.08 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#736624
Deuteranopia (green-blind)
#696031
Tritanopia (blue-blind)
#016E62
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #1f712b; /* rgb */ color: rgb(31, 113, 43); /* oklch */ color: oklch(48.4% 0.131 145.5);
Tailwind
colors: {
custom: {
50: '#679b67',
500: '#1f712b',
950: '#000000',
},
}SCSS
$custom: #1f712b; $custom-light: #679b67; $custom-dark: #000000;
JSON
{
"hex": "#1f712b",
"rgb": {
"r": 31,
"g": 113,
"b": 43
},
"hsl": {
"h": 128.78,
"s": 56.944,
"l": 28.235
},
"oklch": {
"l": 0.48371,
"c": 0.13061,
"h": 145.5
},
"luminance": 0.12276
}Semantic roles & 50–950 ramp
primary
#1F712B
secondary
#A54797
accent
#48CAE0
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#070E06
muted
#7A7E7A