#1F712C#1F712C
#1F712C is a mid, vivid green. Relative luminance 0.123; OKLCH L 48.4% C 0.130 H 145.8°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).
Color values
| HEX | #1F712C |
|---|---|
| RGB | rgb(31, 113, 44) |
| HSL | hsl(130, 57%, 28%) |
| HSV | hsv(130, 73%, 44%) |
| CMYK | cmyk(72.6%, 0%, 61.1%, 55.7%) |
| CIE-LAB | lab(41.66, -39.72, 30.85) |
| CIE-LCH | lch(41.66, 50.29, 142.17°) |
| OKLab | oklab(48.39% -0.1072 0.073) |
| OKLCH | oklch(48.39% 0.13 145.8) |
| XYZ | xyz(6.9243, 12.2827, 4.3883) |
| Luminance | 0.1228 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 3.90
Darkgreen
#006400
ΔE00 6.18
Tree Green
#2A7E19
ΔE00 6.38
Jungle Green
#048243
ΔE00 6.58
Green
#008000
ΔE00 7.70
Deep Green
#02590F
ΔE00 8.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F712C #711F64
analogous
#3B711F #1F712C #1F7155
triadic
#1F712C #2C1F71 #712C1F
tetradic
#1F712C #1F3B71 #711F64 #71551F
square
#1F712C #1F3B71 #711F64 #71551F
split-complementary
#1F712C #551F71 #711F3B
monochromatic
#071809 #124119 #1F712C #2CA13F #40CB56
Accessibility & contrast
On white
6.08
#1F712C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.46
#1F712C on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #1F712C
6.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F712C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F712C | 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)
#736625
Deuteranopia (green-blind)
#696032
Tritanopia (blue-blind)
#006E62
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #1f712c; /* rgb */ color: rgb(31, 113, 44); /* oklch */ color: oklch(48.4% 0.130 145.8);
Tailwind
colors: {
custom: {
50: '#679b67',
500: '#1f712c',
950: '#000000',
},
}SCSS
$custom: #1f712c; $custom-light: #679b67; $custom-dark: #000000;
JSON
{
"hex": "#1f712c",
"rgb": {
"r": 31,
"g": 113,
"b": 44
},
"hsl": {
"h": 129.512,
"s": 56.944,
"l": 28.235
},
"oklch": {
"l": 0.48385,
"c": 0.12972,
"h": 145.8
},
"luminance": 0.12283
}Semantic roles & 50–950 ramp
primary
#1F712C
secondary
#A54796
accent
#48C8E0
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#070E06
muted
#7A7E7A