Nearest named color · #1F7A5C
#1F7A5C
Nearest named color: Greasy Greens
#1F7A5C (rgb(31 122 92), hsl(160 59% 30%), oklch(0.519 0.096 166.2)) is closest to the named color Greasy Greens. See tints, shades, harmonies, WCAG & APCA contrast, and CSS, Tailwind v4 & SCSS code.
#1F7A5C
oklch(0.519 0.096 166.2)
Color conversions
- HEX
- #1f7a5c
- RGB
- rgb(31 122 92)
- HSL
- hsl(160 59% 30%)
- HWB
- hwb(160 12% 52%)
- OKLCH
- oklch(0.519 0.096 166.2)
- OKLab
- oklab(0.519 -0.094 0.023)
- CIE Lab
- lab(45.5 -33.17 8.57)
- LCH
- lch(45.5 34.26 165.5)
- CMYK
- cmyk(75% 0% 25% 52%)
Tints · Shades · Tones
Tints
- 3C876B
- 54947A
- 6AA18A
- 7FAE9A
- 95BBAA
- AAC9BB
- BFD6CB
- D4E4DC
- E9F1EE
Shades
- 19694F
- 145942
- 0F4936
- 0A3A2A
- 062B1F
- 031D14
- 01100A
- 000503
- 000100
Tones
- 2F7B60
- 3C7C63
- 467C67
- 507D6A
- 597E6E
- 617E72
- 697F75
- 717F79
- 79807C
Color harmonies
Complementary +180°
- 1F7A5C
Greasy Greens
- 905174
≈ Sugar Plum
Analogous -30° +30°
- 1F7A5C
Greasy Greens
- 4E753B
≈ Nereus
- 007879
≈ Prismarine
Triadic +120° +240°
- 1F7A5C
Greasy Greens
- 645F9D
≈ Giant Onion
- 965636
≈ Polished Brown
Split-complementary +150° +210°
- 1F7A5C
Greasy Greens
- 7E568E
≈ Purple Mystery
- 985055
≈ Crantini
Tetradic +90° +180° +270°
- 1F7A5C
Greasy Greens
- 426A9F
≈ Star Sapphire
- 905174
≈ Sugar Plum
- 88601C
≈ Kumera
Contrast & accessibility
Ag
AAOn white
WCAG 5.25:1 · APCA Lc 76
Ag
FailOn black
WCAG 3.99:1 · APCA Lc 26
Best text color: #FFFFFF
WCAG 5.25:1 (AA) · APCA Lc 76
Contrast pairs
Code snippets
CSS
:root {
--greasy-greens: #1f7a5c;
--greasy-greens-rgb: 31 122 92;
--greasy-greens-oklch: oklch(0.519 0.096 166.2);
}
.element {
color: var(--greasy-greens);
background-color: hsl(160 59% 30%);
border-color: oklch(0.519 0.096 166.2);
}Tailwind CSS v4
@theme {
--color-greasy-greens: #1f7a5c;
--color-greasy-greens-50: #dcfff0;
--color-greasy-greens-100: #caf3e2;
--color-greasy-greens-200: #ade2cd;
--color-greasy-greens-300: #85c8ae;
--color-greasy-greens-400: #62b192;
--color-greasy-greens-500: #389a78;
--color-greasy-greens-600: #318265;
--color-greasy-greens-700: #276851;
--color-greasy-greens-800: #1c4d39;
--color-greasy-greens-900: #133527;
--color-greasy-greens-950: #042015;
}SCSS
$greasy-greens: #1f7a5c;
$greasy-greens-rgb: 31, 122, 92;
$greasy-greens-light: mix(#fff, $greasy-greens, 20%);
$greasy-greens-dark: mix(#000, $greasy-greens, 20%);
.element {
color: $greasy-greens;
box-shadow: 0 0 0 2px rgba($greasy-greens, 0.35);
}