#1F702B#1F702B
#1F702B is a mid, vivid green. Relative luminance 0.121; OKLCH L 48.1% C 0.129 H 145.6°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).
Color values
| HEX | #1F702B |
|---|---|
| RGB | rgb(31, 112, 43) |
| HSL | hsl(129, 57%, 28%) |
| HSV | hsv(129, 72%, 44%) |
| CMYK | cmyk(72.3%, 0%, 61.6%, 56.1%) |
| CIE-LAB | lab(41.30, -39.47, 30.93) |
| CIE-LCH | lch(41.30, 50.15, 141.91°) |
| OKLab | oklab(48.08% -0.1066 0.0731) |
| OKLCH | oklch(48.08% 0.129 145.6) |
| XYZ | xyz(6.7948, 12.0533, 4.2535) |
| Luminance | 0.1205 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 4.24
Darkgreen
#006400
ΔE00 5.91
Tree Green
#2A7E19
ΔE00 6.57
Jungle Green
#048243
ΔE00 6.91
Deep Green
#02590F
ΔE00 7.74
Green
#008000
ΔE00 7.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F702B #701F64
analogous
#3B701F #1F702B #1F7053
triadic
#1F702B #2B1F70 #702B1F
tetradic
#1F702B #1F3B70 #701F64 #70531F
square
#1F702B #1F3B70 #701F64 #70531F
split-complementary
#1F702B #531F70 #701F3B
monochromatic
#071809 #124019 #1F702B #2CA03D #3FCA54
Accessibility & contrast
On white
6.16
#1F702B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.41
#1F702B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #1F702B
6.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F702B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F702B | 1.00 | 6.16 | 3.41 | 6.16 |
| #FFFFFF | 6.16 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.41 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.16 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#726524
Deuteranopia (green-blind)
#685F31
Tritanopia (blue-blind)
#016D61
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #1f702b; /* rgb */ color: rgb(31, 112, 43); /* oklch */ color: oklch(48.1% 0.129 145.6);
Tailwind
colors: {
custom: {
50: '#679a67',
500: '#1f702b',
950: '#000000',
},
}SCSS
$custom: #1f702b; $custom-light: #679a67; $custom-dark: #000000;
JSON
{
"hex": "#1f702b",
"rgb": {
"r": 31,
"g": 112,
"b": 43
},
"hsl": {
"h": 128.889,
"s": 56.643,
"l": 28.039
},
"oklch": {
"l": 0.48082,
"c": 0.12926,
"h": 145.6
},
"luminance": 0.12054
}Semantic roles & 50–950 ramp
primary
#1F702B
secondary
#A44796
accent
#48C9E0
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#070E06
muted
#7A7E7A