#1F570E#1F570E

#1F570E is a dark, moderate green. Relative luminance 0.071; OKLCH L 40.4% C 0.118 H 139.7°. Best body text is #FFFFFF at 8.65:1 contrast (WCAG AA passes).

Color values

HEX#1F570E
RGBrgb(31, 87, 14)
HSLhsl(106, 72%, 20%)
HSVhsv(106, 84%, 34%)
CMYKcmyk(64.4%, 0%, 83.9%, 65.9%)
CIE-LABlab(32.12, -32.75, 34.19)
CIE-LCHlch(32.12, 47.34, 133.77°)
OKLaboklab(40.4% -0.09 0.0763)
OKLCHoklch(40.4% 0.118 139.7)
XYZxyz(4.0524, 7.1390, 1.5798)
Luminance0.0714 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1F570E #460E57
analogous
#44570E #1F570E #0E5721
triadic
#1F570E #0E1F57 #570E1F
tetradic
#1F570E #0E4457 #460E57 #57210E
square
#1F570E #0E4457 #460E57 #57210E
split-complementary
#1F570E #210E57 #570E44
monochromatic
#091A04 #0C2206 #1F570E #328C16 #45C01F

Accessibility & contrast

On white

8.65
#1F570E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#1F570E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1F570E
8.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1F570E#FFFFFF#000000##FFFFFF
##1F570E1.008.652.438.65
#FFFFFF8.651.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A4E00
Deuteranopia (green-blind)
#534A16
Tritanopia (blue-blind)
#185449
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #1f570e;
/* rgb */ color: rgb(31, 87, 14);
/* oklch */ color: oklch(40.4% 0.118 139.7);
Tailwind
colors: {
  custom: {
    50: '#638753',
    500: '#1f570e',
    950: '#000000',
  },
}
SCSS
$custom: #1f570e;
$custom-light: #638753;
$custom-dark: #000000;
JSON
{
  "hex": "#1f570e",
  "rgb": {
    "r": 31,
    "g": 87,
    "b": 14
  },
  "hsl": {
    "h": 106.027,
    "s": 72.277,
    "l": 19.804
  },
  "oklch": {
    "l": 0.40404,
    "c": 0.118,
    "h": 139.7
  },
  "luminance": 0.07139
}

Semantic roles & 50–950 ramp

primary
#1F570E
secondary
#7A3091
accent
#39EFC5
background
#F6F8F4
surface
#EBEFE7
border
#C6CAC3
text
#060B03
muted
#7A7C78

Preview Lab

Preview with #1F570E

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#1F570E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva