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

# #1F5126

#

Add to Chrome →

Reference

## Color values

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

Hue

128°

Sat

45%

Light

22%

Shades & tints

CSS variables

CSS

```
/* #1F5126 */
:root {
  --color--1f5126: #1F5126;
  --color--1f5126-rgb: 31, 81, 38;
  --color--1f5126-hsl: 128, 45%, 22%;
}
```

Explore

## Harmonies & accessibility

Color harmonies

Complementary

#1F5126

#511F4B

Analogous

#31511F

#1F5126

#1F513F

Triadic

#1F5126

#261F51

#51261F

Split complementary

#1F5126

#3F1F51

#511F31

WCAG contrast

Aa

The quick brown fox.

9.28

White on this color

✓ AA

✓ AA Large

✓ AAA

Aa

2.26

Black on this color

✕ AA

✕ AA Large

✕ AAA

## Similar colors

12 colors

Parsley

#134F19

Palm Green

#09230F

Killarney

#3A6A47

Fruit Salad

#4F9D5D

Chateau Green

#40A860

Forest Green

#228B22

Fern

#63B76C

Dark Fern

#0A480D

Midnight Moss

#041004

Goblin

#3D7D52

Celtic

#163222

De York

#7AC488

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
