#1F7145#1F7145
#1F7145 is a mid, moderate green. Relative luminance 0.125; OKLCH L 48.8% C 0.105 H 155.3°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).
Color values
| HEX | #1F7145 |
|---|---|
| RGB | rgb(31, 113, 69) |
| HSL | hsl(148, 57%, 28%) |
| HSV | hsv(148, 73%, 44%) |
| CMYK | cmyk(72.6%, 0%, 38.9%, 55.7%) |
| CIE-LAB | lab(42.05, -35.33, 17.55) |
| CIE-LCH | lch(42.05, 39.45, 153.58°) |
| OKLab | oklab(48.83% -0.0955 0.044) |
| OKLCH | oklch(48.83% 0.105 155.3) |
| XYZ | xyz(7.5437, 12.5304, 7.6501) |
| Luminance | 0.1253 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Spruce
#0A5F38
ΔE00 6.09
Darkish Green
#287C37
ΔE00 6.55
Jungle Green
#048243
ΔE00 6.73
Pine
#2B5D34
ΔE00 7.12
Hunter Green
#355E3B
ΔE00 7.54
Dark Sea Green
#11875D
ΔE00 8.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F7145 #711F4B
analogous
#22711F #1F7145 #1F716E
triadic
#1F7145 #451F71 #71451F
tetradic
#1F7145 #1F2271 #711F4B #716E1F
square
#1F7145 #1F2271 #711F4B #716E1F
split-complementary
#1F7145 #6E1F71 #711F22
monochromatic
#07180F #124128 #1F7145 #2CA162 #40CB80
Accessibility & contrast
On white
5.99
#1F7145 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.51
#1F7145 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #1F7145
5.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F7145 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F7145 | 1.00 | 5.99 | 3.51 | 5.99 |
| #FFFFFF | 5.99 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.51 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.99 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#716842
Deuteranopia (green-blind)
#666048
Tritanopia (blue-blind)
#007066
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #1f7145; /* rgb */ color: rgb(31, 113, 69); /* oklch */ color: oklch(48.8% 0.105 155.3);
Tailwind
colors: {
custom: {
50: '#679a79',
500: '#1f7145',
950: '#000000',
},
}SCSS
$custom: #1f7145; $custom-light: #679a79; $custom-dark: #000000;
JSON
{
"hex": "#1f7145",
"rgb": {
"r": 31,
"g": 113,
"b": 69
},
"hsl": {
"h": 147.805,
"s": 56.944,
"l": 28.235
},
"oklch": {
"l": 0.48828,
"c": 0.10516,
"h": 155.3
},
"luminance": 0.12531
}Semantic roles & 50–950 ramp
primary
#1F7145
secondary
#A54779
accent
#4899E0
background
#F6F9F7
surface
#EBF2ED
border
#C6CCC8
text
#070E09
muted
#7A7E7B