#1F7440#1F7440
#1F7440 is a mid, moderate green. Relative luminance 0.132; OKLCH L 49.6% C 0.115 H 152.1°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).
Color values
| HEX | #1F7440 |
|---|---|
| RGB | rgb(31, 116, 64) |
| HSL | hsl(143, 58%, 29%) |
| HSV | hsv(143, 73%, 45%) |
| CMYK | cmyk(73.3%, 0%, 44.8%, 54.5%) |
| CIE-LAB | lab(42.99, -37.59, 21.66) |
| CIE-LCH | lch(42.99, 43.39, 150.05°) |
| OKLab | oklab(49.58% -0.1013 0.0535) |
| OKLCH | oklch(49.58% 0.115 152.1) |
| XYZ | xyz(7.7352, 13.1514, 6.9803) |
| Luminance | 0.1315 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 4.48
Jungle Green
#048243
ΔE00 5.11
Spruce
#0A5F38
ΔE00 7.45
Dark Sea Green
#11875D
ΔE00 7.90
Pine
#2B5D34
ΔE00 8.05
Sea Green
#2E8B57
ΔE00 8.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F7440 #741F53
analogous
#29741F #1F7440 #1F746B
triadic
#1F7440 #401F74 #74401F
tetradic
#1F7440 #1F2974 #741F53 #746B1F
square
#1F7440 #1F2974 #741F53 #746B1F
split-complementary
#1F7440 #6B1F74 #741F29
monochromatic
#06180D #124425 #1F7440 #2CA45B #41CC77
Accessibility & contrast
On white
5.78
#1F7440 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.63
#1F7440 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #1F7440
5.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F7440 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F7440 | 1.00 | 5.78 | 3.63 | 5.78 |
| #FFFFFF | 5.78 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.63 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.78 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#746A3C
Deuteranopia (green-blind)
#6A6344
Tritanopia (blue-blind)
#007267
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #1f7440; /* rgb */ color: rgb(31, 116, 64); /* oklch */ color: oklch(49.6% 0.115 152.1);
Tailwind
colors: {
custom: {
50: '#679d75',
500: '#1f7440',
950: '#000000',
},
}SCSS
$custom: #1f7440; $custom-light: #679d75; $custom-dark: #000000;
JSON
{
"hex": "#1f7440",
"rgb": {
"r": 31,
"g": 116,
"b": 64
},
"hsl": {
"h": 143.294,
"s": 57.823,
"l": 28.824
},
"oklch": {
"l": 0.49576,
"c": 0.11457,
"h": 152.1
},
"luminance": 0.13152
}Semantic roles & 50–950 ramp
primary
#1F7440
secondary
#A84782
accent
#47A5E1
background
#F6F9F7
surface
#EBF2ED
border
#C6CCC8
text
#070E08
muted
#7A7E7B