#0F581D#0F581D

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

Color values

HEX#0F581D
RGBrgb(15, 88, 29)
HSLhsl(132, 71%, 20%)
HSVhsv(132, 83%, 35%)
CMYKcmyk(83%, 0%, 67%, 65.5%)
CIE-LABlab(32.19, -35.14, 27.48)
CIE-LCHlch(32.19, 44.61, 141.97°)
OKLaboklab(40.38% -0.0947 0.0644)
OKLCHoklch(40.38% 0.115 145.8)
XYZxyz(3.9082, 7.1693, 2.3400)
Luminance0.0717 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F581D #580F4A
analogous
#25580F #0F581D #0F5841
triadic
#0F581D #1D0F58 #581D0F
tetradic
#0F581D #0F2558 #580F4A #58410F
square
#0F581D #0F2558 #580F4A #58410F
split-complementary
#0F581D #410F58 #580F25
monochromatic
#041A09 #06240C #0F581D #188C2E #21C13F

Accessibility & contrast

On white

8.63
#0F581D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#0F581D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F581D
8.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F581D#FFFFFF#000000##FFFFFF
##0F581D1.008.632.438.63
#FFFFFF8.631.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#594F16
Deuteranopia (green-blind)
#514922
Tritanopia (blue-blind)
#00564B
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #0f581d;
/* rgb */ color: rgb(15, 88, 29);
/* oklch */ color: oklch(40.4% 0.115 145.8);
Tailwind
colors: {
  custom: {
    50: '#5c885b',
    500: '#0f581d',
    950: '#000000',
  },
}
SCSS
$custom: #0f581d;
$custom-light: #5c885b;
$custom-dark: #000000;
JSON
{
  "hex": "#0f581d",
  "rgb": {
    "r": 15,
    "g": 88,
    "b": 29
  },
  "hsl": {
    "h": 131.507,
    "s": 70.874,
    "l": 20.196
  },
  "oklch": {
    "l": 0.40379,
    "c": 0.1145,
    "h": 145.8
  },
  "luminance": 0.0717
}

Semantic roles & 50–950 ramp

primary
#0F581D
secondary
#92317F
accent
#3ACBEE
background
#F5F8F5
surface
#E9F0E9
border
#C5CBC5
text
#050B04
muted
#797C79

Preview Lab

Preview with #0F581D

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

Preview Lab → · Contrast checker → · Palette generator →

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