#1F7C49#1F7C49
#1F7C49 is a mid, moderate green. Relative luminance 0.152; OKLCH L 52.0% C 0.117 H 154.3°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).
Color values
| HEX | #1F7C49 |
|---|---|
| RGB | rgb(31, 124, 73) |
| HSL | hsl(147, 60%, 30%) |
| HSV | hsv(147, 75%, 49%) |
| CMYK | cmyk(75%, 0%, 41.1%, 51.4%) |
| CIE-LAB | lab(45.89, -39.08, 20.36) |
| CIE-LCH | lch(45.89, 44.07, 152.48°) |
| OKLab | oklab(52.02% -0.1054 0.0507) |
| OKLCH | oklch(52.02% 0.117 154.3) |
| XYZ | xyz(8.9745, 15.1866, 8.7604) |
| Luminance | 0.1519 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Jungle Green
#048243
ΔE00 3.11
Darkish Green
#287C37
ΔE00 4.32
Dark Sea Green
#11875D
ΔE00 5.16
Sea Green
#2E8B57
ΔE00 5.62
Dark Sage
#598556
ΔE00 8.20
Viridian
#1E9167
ΔE00 8.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#1F7C49 #7C1F52
analogous
#237C1F #1F7C49 #1F7C77
triadic
#1F7C49 #491F7C #7C491F
tetradic
#1F7C49 #1F237C #7C1F52 #7C771F
square
#1F7C49 #1F237C #7C1F52 #7C771F
split-complementary
#1F7C49 #771F7C #7C1F23
monochromatic
#071A0F #134B2C #1F7C49 #2BAD66 #45D084
Accessibility & contrast
On white
5.20
#1F7C49 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.04
#1F7C49 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #1F7C49
5.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##1F7C49 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##1F7C49 | 1.00 | 5.20 | 4.04 | 5.20 |
| #FFFFFF | 5.20 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.04 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.20 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7C7145
Deuteranopia (green-blind)
#70694C
Tritanopia (blue-blind)
#007B6F
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #1f7c49; /* rgb */ color: rgb(31, 124, 73); /* oklch */ color: oklch(52.0% 0.117 154.3);
Tailwind
colors: {
custom: {
50: '#69a37c',
500: '#1f7c49',
950: '#000000',
},
}SCSS
$custom: #1f7c49; $custom-light: #69a37c; $custom-dark: #000000;
JSON
{
"hex": "#1f7c49",
"rgb": {
"r": 31,
"g": 124,
"b": 73
},
"hsl": {
"h": 147.097,
"s": 60,
"l": 30.392
},
"oklch": {
"l": 0.52018,
"c": 0.117,
"h": 154.3
},
"luminance": 0.15188
}Semantic roles & 50–950 ramp
primary
#1F7C49
secondary
#AF4880
accent
#459CE3
background
#F6FAF7
surface
#ECF4EE
border
#C7CEC9
text
#070F09
muted
#7A7F7B