#1F712E#1F712E
#1F712E is a mid, vivid green. Relative luminance 0.123; OKLCH L 48.4% C 0.128 H 146.3°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).
Color values
| HEX | #1F712E |
|---|---|
| RGB | rgb(31, 113, 46) |
| HSL | hsl(131, 57%, 28%) |
| HSV | hsv(131, 73%, 44%) |
| CMYK | cmyk(72.6%, 0%, 59.3%, 55.7%) |
| CIE-LAB | lab(41.69, -39.43, 29.85) |
| CIE-LCH | lch(41.69, 49.46, 142.88°) |
| OKLab | oklab(48.41% -0.1064 0.071) |
| OKLCH | oklch(48.41% 0.128 146.3) |
| XYZ | xyz(6.9629, 12.2981, 4.5911) |
| Luminance | 0.1230 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 3.87
Jungle Green
#048243
ΔE00 6.42
Darkgreen
#006400
ΔE00 6.46
Tree Green
#2A7E19
ΔE00 6.67
Green
#008000
ΔE00 8.00
Deep Green
#02590F
ΔE00 8.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F712E #711F62
analogous
#39711F #1F712E #1F7157
triadic
#1F712E #2E1F71 #712E1F
tetradic
#1F712E #1F3971 #711F62 #71571F
square
#1F712E #1F3971 #711F62 #71571F
split-complementary
#1F712E #571F71 #711F39
monochromatic
#07180A #12411A #1F712E #2CA142 #40CB59
Accessibility & contrast
On white
6.07
#1F712E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.46
#1F712E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #1F712E
6.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F712E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F712E | 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)
#736627
Deuteranopia (green-blind)
#696033
Tritanopia (blue-blind)
#006E62
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #1f712e; /* rgb */ color: rgb(31, 113, 46); /* oklch */ color: oklch(48.4% 0.128 146.3);
Tailwind
colors: {
custom: {
50: '#679b69',
500: '#1f712e',
950: '#000000',
},
}SCSS
$custom: #1f712e; $custom-light: #679b69; $custom-dark: #000000;
JSON
{
"hex": "#1f712e",
"rgb": {
"r": 31,
"g": 113,
"b": 46
},
"hsl": {
"h": 130.976,
"s": 56.944,
"l": 28.235
},
"oklch": {
"l": 0.48413,
"c": 0.12791,
"h": 146.3
},
"luminance": 0.12299
}Semantic roles & 50–950 ramp
primary
#1F712E
secondary
#A54794
accent
#48C4E0
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#070E06
muted
#7A7E7A