#1F702D#1F702D
#1F702D is a mid, vivid green. Relative luminance 0.121; OKLCH L 48.1% C 0.127 H 146.1°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).
Color values
| HEX | #1F702D |
|---|---|
| RGB | rgb(31, 112, 45) |
| HSL | hsl(130, 57%, 28%) |
| HSV | hsv(130, 72%, 44%) |
| CMYK | cmyk(72.3%, 0%, 59.8%, 56.1%) |
| CIE-LAB | lab(41.32, -39.19, 29.94) |
| CIE-LCH | lch(41.32, 49.32, 142.63°) |
| OKLab | oklab(48.11% -0.1058 0.0711) |
| OKLCH | oklch(48.11% 0.127 146.1) |
| XYZ | xyz(6.8324, 12.0684, 4.4515) |
| Luminance | 0.1207 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 4.20
Darkgreen
#006400
ΔE00 6.19
Jungle Green
#048243
ΔE00 6.75
Tree Green
#2A7E19
ΔE00 6.84
Deep Green
#02590F
ΔE00 7.83
Forest Green
#2D5A27
ΔE00 7.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F702D #701F62
analogous
#3A701F #1F702D #1F7055
triadic
#1F702D #2D1F70 #702D1F
tetradic
#1F702D #1F3A70 #701F62 #70551F
square
#1F702D #1F3A70 #701F62 #70551F
split-complementary
#1F702D #551F70 #701F3A
monochromatic
#07180A #12401A #1F702D #2CA040 #3FCA57
Accessibility & contrast
On white
6.15
#1F702D on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.41
#1F702D on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #1F702D
6.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F702D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F702D | 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)
#726626
Deuteranopia (green-blind)
#685F32
Tritanopia (blue-blind)
#006D61
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #1f702d; /* rgb */ color: rgb(31, 112, 45); /* oklch */ color: oklch(48.1% 0.127 146.1);
Tailwind
colors: {
custom: {
50: '#679a68',
500: '#1f702d',
950: '#000000',
},
}SCSS
$custom: #1f702d; $custom-light: #679a68; $custom-dark: #000000;
JSON
{
"hex": "#1f702d",
"rgb": {
"r": 31,
"g": 112,
"b": 45
},
"hsl": {
"h": 130.37,
"s": 56.643,
"l": 28.039
},
"oklch": {
"l": 0.4811,
"c": 0.12745,
"h": 146.1
},
"luminance": 0.12069
}Semantic roles & 50–950 ramp
primary
#1F702D
secondary
#A44794
accent
#48C6E0
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#070E06
muted
#7A7E7A