#1F702E#1F702E
#1F702E is a mid, vivid green. Relative luminance 0.121; OKLCH L 48.1% C 0.127 H 146.4°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).
Color values
| HEX | #1F702E |
|---|---|
| RGB | rgb(31, 112, 46) |
| HSL | hsl(131, 57%, 28%) |
| HSV | hsv(131, 72%, 44%) |
| CMYK | cmyk(72.3%, 0%, 58.9%, 56.1%) |
| CIE-LAB | lab(41.34, -39.05, 29.43) |
| CIE-LCH | lch(41.34, 48.90, 142.99°) |
| OKLab | oklab(48.12% -0.1053 0.0701) |
| OKLCH | oklch(48.12% 0.127 146.4) |
| XYZ | xyz(6.8519, 12.0762, 4.5541) |
| Luminance | 0.1208 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 4.20
Darkgreen
#006400
ΔE00 6.34
Jungle Green
#048243
ΔE00 6.68
Tree Green
#2A7E19
ΔE00 6.98
Forest Green
#2D5A27
ΔE00 7.84
Pine
#2B5D34
ΔE00 7.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F702E #701F61
analogous
#38701F #1F702E #1F7056
triadic
#1F702E #2E1F70 #702E1F
tetradic
#1F702E #1F3870 #701F61 #70561F
square
#1F702E #1F3870 #701F61 #70561F
split-complementary
#1F702E #561F70 #701F38
monochromatic
#07180A #12401A #1F702E #2CA042 #3FCA59
Accessibility & contrast
On white
6.15
#1F702E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.42
#1F702E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #1F702E
6.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F702E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F702E | 1.00 | 6.15 | 3.42 | 6.15 |
| #FFFFFF | 6.15 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.42 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.15 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#726628
Deuteranopia (green-blind)
#685F33
Tritanopia (blue-blind)
#006D61
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #1f702e; /* rgb */ color: rgb(31, 112, 46); /* oklch */ color: oklch(48.1% 0.127 146.4);
Tailwind
colors: {
custom: {
50: '#679a69',
500: '#1f702e',
950: '#000000',
},
}SCSS
$custom: #1f702e; $custom-light: #679a69; $custom-dark: #000000;
JSON
{
"hex": "#1f702e",
"rgb": {
"r": 31,
"g": 112,
"b": 46
},
"hsl": {
"h": 131.111,
"s": 56.643,
"l": 28.039
},
"oklch": {
"l": 0.48124,
"c": 0.12654,
"h": 146.4
},
"luminance": 0.12077
}Semantic roles & 50–950 ramp
primary
#1F702E
secondary
#A44793
accent
#48C4E0
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#070E06
muted
#7A7E7A