#1F7337#1F7337
#1F7337 is a mid, vivid green. Relative luminance 0.128; OKLCH L 49.1% C 0.122 H 148.8°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).
Color values
| HEX | #1F7337 |
|---|---|
| RGB | rgb(31, 115, 55) |
| HSL | hsl(137, 58%, 29%) |
| HSV | hsv(137, 73%, 45%) |
| CMYK | cmyk(73%, 0%, 52.2%, 54.9%) |
| CIE-LAB | lab(42.50, -38.81, 26.05) |
| CIE-LCH | lch(42.50, 46.74, 146.13°) |
| OKLab | oklab(49.13% -0.1045 0.0632) |
| OKLCH | oklch(49.13% 0.122 148.8) |
| XYZ | xyz(7.3848, 12.8278, 5.7005) |
| Luminance | 0.1283 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 3.53
Jungle Green
#048243
ΔE00 5.34
Tree Green
#2A7E19
ΔE00 7.56
Spruce
#0A5F38
ΔE00 7.98
Darkgreen
#006400
ΔE00 8.10
Pine
#2B5D34
ΔE00 8.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F7337 #731F5B
analogous
#31731F #1F7337 #1F7361
triadic
#1F7337 #371F73 #73371F
tetradic
#1F7337 #1F3173 #731F5B #73611F
square
#1F7337 #1F3173 #731F5B #73611F
split-complementary
#1F7337 #611F73 #731F31
monochromatic
#06180C #124320 #1F7337 #2CA34E #41CC68
Accessibility & contrast
On white
5.89
#1F7337 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.57
#1F7337 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #1F7337
5.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F7337 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F7337 | 1.00 | 5.89 | 3.57 | 5.89 |
| #FFFFFF | 5.89 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.89 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#746932
Deuteranopia (green-blind)
#6A623B
Tritanopia (blue-blind)
#007165
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #1f7337; /* rgb */ color: rgb(31, 115, 55); /* oklch */ color: oklch(49.1% 0.122 148.8);
Tailwind
colors: {
custom: {
50: '#679c6f',
500: '#1f7337',
950: '#000000',
},
}SCSS
$custom: #1f7337; $custom-light: #679c6f; $custom-dark: #000000;
JSON
{
"hex": "#1f7337",
"rgb": {
"r": 31,
"g": 115,
"b": 55
},
"hsl": {
"h": 137.143,
"s": 57.534,
"l": 28.627
},
"oklch": {
"l": 0.49127,
"c": 0.12212,
"h": 148.8
},
"luminance": 0.12829
}Semantic roles & 50–950 ramp
primary
#1F7337
secondary
#A7478B
accent
#47B5E1
background
#F6F9F6
surface
#EBF2EC
border
#C6CCC7
text
#070E07
muted
#7A7E7A