#1F7645#1F7645
#1F7645 is a mid, moderate green. Relative luminance 0.137; OKLCH L 50.2% C 0.112 H 153.9°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).
Color values
| HEX | #1F7645 |
|---|---|
| RGB | rgb(31, 118, 69) |
| HSL | hsl(146, 58%, 29%) |
| HSV | hsv(146, 74%, 46%) |
| CMYK | cmyk(73.7%, 0%, 41.5%, 53.7%) |
| CIE-LAB | lab(43.77, -37.43, 19.84) |
| CIE-LCH | lch(43.77, 42.36, 152.08°) |
| OKLab | oklab(50.24% -0.101 0.0494) |
| OKLCH | oklch(50.24% 0.112 153.9) |
| XYZ | xyz(8.1170, 13.6769, 7.8412) |
| Luminance | 0.1368 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Jungle Green
#048243
ΔE00 4.79
Darkish Green
#287C37
ΔE00 4.87
Dark Sea Green
#11875D
ΔE00 6.85
Sea Green
#2E8B57
ΔE00 7.69
Spruce
#0A5F38
ΔE00 7.88
Pine
#2B5D34
ΔE00 8.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F7645 #761F50
analogous
#25761F #1F7645 #1F7671
triadic
#1F7645 #451F76 #76451F
tetradic
#1F7645 #1F2576 #761F50 #76711F
square
#1F7645 #1F2576 #761F50 #76711F
split-complementary
#1F7645 #711F76 #761F25
monochromatic
#06180E #124629 #1F7645 #2CA661 #42CD7F
Accessibility & contrast
On white
5.62
#1F7645 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.74
#1F7645 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #1F7645
5.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F7645 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F7645 | 1.00 | 5.62 | 3.74 | 5.62 |
| #FFFFFF | 5.62 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.74 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.62 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#766C42
Deuteranopia (green-blind)
#6B6448
Tritanopia (blue-blind)
#00756A
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #1f7645; /* rgb */ color: rgb(31, 118, 69); /* oklch */ color: oklch(50.2% 0.112 153.9);
Tailwind
colors: {
custom: {
50: '#689e79',
500: '#1f7645',
950: '#000000',
},
}SCSS
$custom: #1f7645; $custom-light: #689e79; $custom-dark: #000000;
JSON
{
"hex": "#1f7645",
"rgb": {
"r": 31,
"g": 118,
"b": 69
},
"hsl": {
"h": 146.207,
"s": 58.389,
"l": 29.216
},
"oklch": {
"l": 0.50244,
"c": 0.11242,
"h": 153.9
},
"luminance": 0.13678
}Semantic roles & 50–950 ramp
primary
#1F7645
secondary
#AA477F
accent
#469EE2
background
#F6F9F7
surface
#EBF2ED
border
#C6CCC8
text
#070E09
muted
#7A7E7B