#0F571B#0F571B

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

Color values

HEX#0F571B
RGBrgb(15, 87, 27)
HSLhsl(130, 71%, 20%)
HSVhsv(130, 83%, 34%)
CMYKcmyk(82.8%, 0%, 69%, 65.9%)
CIE-LABlab(31.80, -35.02, 28.05)
CIE-LCHlch(31.80, 44.87, 141.31°)
OKLaboklab(40.05% -0.0945 0.0654)
OKLCHoklch(40.05% 0.115 145.3)
XYZxyz(3.8028, 6.9966, 2.1868)
Luminance0.0700 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F571B #570F4B
analogous
#27570F #0F571B #0F573F
triadic
#0F571B #1B0F57 #571B0F
tetradic
#0F571B #0F2757 #570F4B #573F0F
square
#0F571B #0F2757 #570F4B #573F0F
split-complementary
#0F571B #3F0F57 #570F27
monochromatic
#051A08 #06230B #0F571B #188B2B #21BF3B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##0F571B#FFFFFF#000000##FFFFFF
##0F571B1.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)
#594E14
Deuteranopia (green-blind)
#514920
Tritanopia (blue-blind)
#00554A
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #0f571b;
/* rgb */ color: rgb(15, 87, 27);
/* oklch */ color: oklch(40.0% 0.115 145.3);
Tailwind
colors: {
  custom: {
    50: '#5c875a',
    500: '#0f571b',
    950: '#000000',
  },
}
SCSS
$custom: #0f571b;
$custom-light: #5c875a;
$custom-dark: #000000;
JSON
{
  "hex": "#0f571b",
  "rgb": {
    "r": 15,
    "g": 87,
    "b": 27
  },
  "hsl": {
    "h": 130,
    "s": 70.588,
    "l": 20
  },
  "oklch": {
    "l": 0.40049,
    "c": 0.11487,
    "h": 145.3
  },
  "luminance": 0.06997
}

Semantic roles & 50–950 ramp

primary
#0F571B
secondary
#913181
accent
#3AD0ED
background
#F5F8F5
surface
#E9F0E9
border
#C5CBC5
text
#050B04
muted
#797C79

Preview Lab

Preview with #0F571B

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

Preview Lab → · Contrast checker → · Palette generator →

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