#0F581F#0F581F

#0F581F is a dark, moderate green. Relative luminance 0.072; OKLCH L 40.4% C 0.113 H 146.4°. Best body text is #FFFFFF at 8.62:1 contrast (WCAG AA passes).

Color values

HEX#0F581F
RGBrgb(15, 88, 31)
HSLhsl(133, 71%, 20%)
HSVhsv(133, 83%, 35%)
CMYKcmyk(83%, 0%, 64.8%, 65.5%)
CIE-LABlab(32.21, -34.86, 26.47)
CIE-LCHlch(32.21, 43.77, 142.78°)
OKLaboklab(40.41% -0.0939 0.0624)
OKLCHoklch(40.41% 0.113 146.4)
XYZxyz(3.9338, 7.1795, 2.4745)
Luminance0.0718 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F581F #580F48
analogous
#23580F #0F581F #0F5844
triadic
#0F581F #1F0F58 #581F0F
tetradic
#0F581F #0F2358 #580F48 #58440F
square
#0F581F #0F2358 #580F48 #58440F
split-complementary
#0F581F #440F58 #580F23
monochromatic
#041A09 #06240D #0F581F #188C31 #21C144

Accessibility & contrast

On white

8.62
#0F581F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#0F581F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F581F
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F581F#FFFFFF#000000##FFFFFF
##0F581F1.008.622.448.62
#FFFFFF8.621.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#594F19
Deuteranopia (green-blind)
#514A24
Tritanopia (blue-blind)
#00564C
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #0f581f;
/* rgb */ color: rgb(15, 88, 31);
/* oklch */ color: oklch(40.4% 0.113 146.4);
Tailwind
colors: {
  custom: {
    50: '#5c885d',
    500: '#0f581f',
    950: '#000000',
  },
}
SCSS
$custom: #0f581f;
$custom-light: #5c885d;
$custom-dark: #000000;
JSON
{
  "hex": "#0f581f",
  "rgb": {
    "r": 15,
    "g": 88,
    "b": 31
  },
  "hsl": {
    "h": 133.151,
    "s": 70.874,
    "l": 20.196
  },
  "oklch": {
    "l": 0.40406,
    "c": 0.11272,
    "h": 146.4
  },
  "luminance": 0.0718
}

Semantic roles & 50–950 ramp

primary
#0F581F
secondary
#92317D
accent
#3AC6EE
background
#F5F8F5
surface
#E9F0E9
border
#C5CBC5
text
#050B04
muted
#797C79

Preview Lab

Preview with #0F581F

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

Preview Lab → · Contrast checker → · Palette generator →

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