#0F571C#0F571C

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

Color values

HEX#0F571C
RGBrgb(15, 87, 28)
HSLhsl(131, 71%, 20%)
HSVhsv(131, 83%, 34%)
CMYKcmyk(82.8%, 0%, 67.8%, 65.9%)
CIE-LABlab(31.81, -34.89, 27.56)
CIE-LCHlch(31.81, 44.46, 141.70°)
OKLaboklab(40.06% -0.0941 0.0644)
OKLCHoklch(40.06% 0.114 145.6)
XYZxyz(3.8145, 7.0013, 2.2487)
Luminance0.0700 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F571C #570F4A
analogous
#26570F #0F571C #0F5740
triadic
#0F571C #1C0F57 #571C0F
tetradic
#0F571C #0F2657 #570F4A #57400F
square
#0F571C #0F2657 #570F4A #57400F
split-complementary
#0F571C #400F57 #570F26
monochromatic
#051A08 #06230B #0F571C #188B2D #21BF3E

Accessibility & contrast

On white

8.75
#0F571C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F571C
8.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F571C#FFFFFF#000000##FFFFFF
##0F571C1.008.752.408.75
#FFFFFF8.751.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.751.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0f571c;
/* rgb */ color: rgb(15, 87, 28);
/* oklch */ color: oklch(40.1% 0.114 145.6);
Tailwind
colors: {
  custom: {
    50: '#5c875b',
    500: '#0f571c',
    950: '#000000',
  },
}
SCSS
$custom: #0f571c;
$custom-light: #5c875b;
$custom-dark: #000000;
JSON
{
  "hex": "#0f571c",
  "rgb": {
    "r": 15,
    "g": 87,
    "b": 28
  },
  "hsl": {
    "h": 130.833,
    "s": 70.588,
    "l": 20
  },
  "oklch": {
    "l": 0.40061,
    "c": 0.11402,
    "h": 145.6
  },
  "luminance": 0.07002
}

Semantic roles & 50–950 ramp

primary
#0F571C
secondary
#91317F
accent
#3ACDED
background
#F5F8F5
surface
#E9EFE9
border
#C5CAC5
text
#050B04
muted
#797C79

Preview Lab

Preview with #0F571C

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

Preview Lab → · Contrast checker → · Palette generator →

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