#0F571D#0F571D

#0F571D is a dark, moderate green. Relative luminance 0.070; OKLCH L 40.1% C 0.113 H 145.9°. Best body text is #FFFFFF at 8.74:1 contrast (WCAG AA passes).

Color values

HEX#0F571D
RGBrgb(15, 87, 29)
HSLhsl(132, 71%, 20%)
HSVhsv(132, 83%, 34%)
CMYKcmyk(82.8%, 0%, 66.7%, 65.9%)
CIE-LABlab(31.82, -34.76, 27.06)
CIE-LCHlch(31.82, 44.05, 142.10°)
OKLaboklab(40.07% -0.0937 0.0635)
OKLCHoklch(40.07% 0.113 145.9)
XYZxyz(3.8267, 7.0062, 2.3128)
Luminance0.0701 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F571D #570F49
analogous
#25570F #0F571D #0F5741
triadic
#0F571D #1D0F57 #571D0F
tetradic
#0F571D #0F2557 #570F49 #57410F
square
#0F571D #0F2557 #570F49 #57410F
split-complementary
#0F571D #410F57 #570F25
monochromatic
#051A09 #06230C #0F571D #188B2E #21BF40

Accessibility & contrast

On white

8.74
#0F571D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#0F571D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F571D
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F571D#FFFFFF#000000##FFFFFF
##0F571D1.008.742.408.74
#FFFFFF8.741.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#584E17
Deuteranopia (green-blind)
#504922
Tritanopia (blue-blind)
#00554B
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #0f571d;
/* rgb */ color: rgb(15, 87, 29);
/* oklch */ color: oklch(40.1% 0.113 145.9);
Tailwind
colors: {
  custom: {
    50: '#5c875b',
    500: '#0f571d',
    950: '#000000',
  },
}
SCSS
$custom: #0f571d;
$custom-light: #5c875b;
$custom-dark: #000000;
JSON
{
  "hex": "#0f571d",
  "rgb": {
    "r": 15,
    "g": 87,
    "b": 29
  },
  "hsl": {
    "h": 131.667,
    "s": 70.588,
    "l": 20
  },
  "oklch": {
    "l": 0.40074,
    "c": 0.11315,
    "h": 145.9
  },
  "luminance": 0.07007
}

Semantic roles & 50–950 ramp

primary
#0F571D
secondary
#91317E
accent
#3ACBED
background
#F5F8F5
surface
#E9EFE9
border
#C5CAC5
text
#050B04
muted
#797C79

Preview Lab

Preview with #0F571D

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

Preview Lab → · Contrast checker → · Palette generator →

#0F571D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva