---
title: "#1F5142 Hex Color — RGB, HSL, CMYK & CSS"
description: "Hex color #1F5142 — RGB(31, 81, 66), HSL(162, 45%, 22%), CMYK, OKLCH, shades, harmonies and contrast."
url: https://superdevpro.com/hex-colors/1f5142
---
Custom color

# #1F5142

#

Add to Chrome →

Reference

## Color values

Every format for this color — click any value to copy it.

Hue

162°

Sat

45%

Light

22%

Shades & tints

CSS variables

CSS

```
/* #1F5142 */
:root {
  --color--1f5142: #1F5142;
  --color--1f5142-rgb: 31, 81, 66;
  --color--1f5142-hsl: 162, 45%, 22%;
}
```

Explore

## Harmonies & accessibility

Color harmonies

Complementary

#1F5142

#511F2E

Analogous

#1F5129

#1F5142

#1F4751

Triadic

#1F5142

#421F51

#51421F

Split complementary

#1F5142

#511F47

#51291F

WCAG contrast

Aa

The quick brown fox.

9.08

White on this color

✓ AA

✓ AA Large

✓ AAA

Aa

2.31

Black on this color

✕ AA

✕ AA Large

✕ AAA

## Similar colors

12 colors

Timber Green

#16322C

Te Papa Green

#1E433C

Stromboli

#325D52

Viridian

#40826D

Green Pea

#1D6142

Gable Green

#163531

Aztec

#0D1C19

Everglade

#1C402E

Plantation

#27504B

Jungle Green

#29AB87

Mineral Green

#3F5D53

Eucalyptus

#278A5B

Free to install

## Pick this color from any page. Use SuperDev Pro’s eyedropper, contrast checker and 50+ dev tools right inside your browser.

Add to Chrome

Browse all colors

Free to install · No account · Works on Chrome & Firefox
