#1F702C#1F702C
#1F702C is a mid, vivid green. Relative luminance 0.121; OKLCH L 48.1% C 0.128 H 145.8°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).
Color values
| HEX | #1F702C |
|---|---|
| RGB | rgb(31, 112, 44) |
| HSL | hsl(130, 57%, 28%) |
| HSV | hsv(130, 72%, 44%) |
| CMYK | cmyk(72.3%, 0%, 60.7%, 56.1%) |
| CIE-LAB | lab(41.31, -39.33, 30.44) |
| CIE-LCH | lch(41.31, 49.73, 142.27°) |
| OKLab | oklab(48.1% -0.1062 0.0721) |
| OKLCH | oklch(48.1% 0.128 145.8) |
| XYZ | xyz(6.8134, 12.0608, 4.3513) |
| Luminance | 0.1206 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 4.22
Darkgreen
#006400
ΔE00 6.05
Tree Green
#2A7E19
ΔE00 6.71
Jungle Green
#048243
ΔE00 6.83
Deep Green
#02590F
ΔE00 7.79
Forest Green
#2D5A27
ΔE00 7.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F702C #701F63
analogous
#3A701F #1F702C #1F7054
triadic
#1F702C #2C1F70 #702C1F
tetradic
#1F702C #1F3A70 #701F63 #70541F
square
#1F702C #1F3A70 #701F63 #70541F
split-complementary
#1F702C #541F70 #701F3A
monochromatic
#071809 #124019 #1F702C #2CA03F #3FCA56
Accessibility & contrast
On white
6.15
#1F702C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.41
#1F702C on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #1F702C
6.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F702C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F702C | 1.00 | 6.15 | 3.41 | 6.15 |
| #FFFFFF | 6.15 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.41 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.15 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#726525
Deuteranopia (green-blind)
#685F31
Tritanopia (blue-blind)
#016D61
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #1f702c; /* rgb */ color: rgb(31, 112, 44); /* oklch */ color: oklch(48.1% 0.128 145.8);
Tailwind
colors: {
custom: {
50: '#679a67',
500: '#1f702c',
950: '#000000',
},
}SCSS
$custom: #1f702c; $custom-light: #679a67; $custom-dark: #000000;
JSON
{
"hex": "#1f702c",
"rgb": {
"r": 31,
"g": 112,
"b": 44
},
"hsl": {
"h": 129.63,
"s": 56.643,
"l": 28.039
},
"oklch": {
"l": 0.48096,
"c": 0.12837,
"h": 145.8
},
"luminance": 0.12061
}Semantic roles & 50–950 ramp
primary
#1F702C
secondary
#A44795
accent
#48C8E0
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#070E06
muted
#7A7E7A