#0F571F#0F571F

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

Color values

HEX#0F571F
RGBrgb(15, 87, 31)
HSLhsl(133, 71%, 20%)
HSVhsv(133, 83%, 34%)
CMYKcmyk(82.8%, 0%, 64.4%, 65.9%)
CIE-LABlab(31.84, -34.48, 26.05)
CIE-LCHlch(31.84, 43.21, 142.93°)
OKLaboklab(40.1% -0.0928 0.0615)
OKLCHoklch(40.1% 0.111 146.5)
XYZxyz(3.8522, 7.0164, 2.4473)
Luminance0.0702 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F571F #570F47
analogous
#23570F #0F571F #0F5743
triadic
#0F571F #1F0F57 #571F0F
tetradic
#0F571F #0F2357 #570F47 #57430F
square
#0F571F #0F2357 #570F47 #57430F
split-complementary
#0F571F #430F57 #570F23
monochromatic
#051A09 #06230C #0F571F #188B32 #21BF44

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##0F571F#FFFFFF#000000##FFFFFF
##0F571F1.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)
#584E19
Deuteranopia (green-blind)
#504924
Tritanopia (blue-blind)
#00554B
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #0f571f;
/* rgb */ color: rgb(15, 87, 31);
/* oklch */ color: oklch(40.1% 0.111 146.5);
Tailwind
colors: {
  custom: {
    50: '#5b875d',
    500: '#0f571f',
    950: '#000000',
  },
}
SCSS
$custom: #0f571f;
$custom-light: #5b875d;
$custom-dark: #000000;
JSON
{
  "hex": "#0f571f",
  "rgb": {
    "r": 15,
    "g": 87,
    "b": 31
  },
  "hsl": {
    "h": 133.333,
    "s": 70.588,
    "l": 20
  },
  "oklch": {
    "l": 0.40101,
    "c": 0.11135,
    "h": 146.5
  },
  "luminance": 0.07017
}

Semantic roles & 50–950 ramp

primary
#0F571F
secondary
#91317C
accent
#3AC6ED
background
#F5F8F5
surface
#E9EFE9
border
#C5CAC5
text
#040B04
muted
#797C79

Preview Lab

Preview with #0F571F

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

Preview Lab → · Contrast checker → · Palette generator →

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