#0F580D#0F580D

#0F580D is a dark, vivid green. Relative luminance 0.071; OKLCH L 40.2% C 0.126 H 142.5°. Best body text is #FFFFFF at 8.67:1 contrast (WCAG AA passes).

Color values

HEX#0F580D
RGBrgb(15, 88, 13)
HSLhsl(118, 74%, 20%)
HSVhsv(118, 85%, 35%)
CMYKcmyk(83%, 0%, 85.2%, 65.5%)
CIE-LABlab(32.06, -36.78, 34.33)
CIE-LCHlch(32.06, 50.31, 136.97°)
OKLaboklab(40.23% -0.0999 0.0766)
OKLCHoklch(40.23% 0.126 142.5)
XYZxyz(3.7591, 7.1096, 1.5549)
Luminance0.0711 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F580D #560D58
analogous
#35580D #0F580D #0D5831
triadic
#0F580D #0D0F58 #580D0F
tetradic
#0F580D #0D3558 #560D58 #58310D
square
#0F580D #0D3558 #560D58 #58310D
split-complementary
#0F580D #310D58 #580D35
monochromatic
#051B04 #062305 #0F580D #188D15 #21C31D

Accessibility & contrast

On white

8.67
#0F580D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#0F580D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F580D
8.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F580D#FFFFFF#000000##FFFFFF
##0F580D1.008.672.428.67
#FFFFFF8.671.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A4F00
Deuteranopia (green-blind)
#524916
Tritanopia (blue-blind)
#00554A
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #0f580d;
/* rgb */ color: rgb(15, 88, 13);
/* oklch */ color: oklch(40.2% 0.126 142.5);
Tailwind
colors: {
  custom: {
    50: '#5d8853',
    500: '#0f580d',
    950: '#000000',
  },
}
SCSS
$custom: #0f580d;
$custom-light: #5d8853;
$custom-dark: #000000;
JSON
{
  "hex": "#0f580d",
  "rgb": {
    "r": 15,
    "g": 88,
    "b": 13
  },
  "hsl": {
    "h": 118.4,
    "s": 74.257,
    "l": 19.804
  },
  "oklch": {
    "l": 0.40225,
    "c": 0.12591,
    "h": 142.5
  },
  "luminance": 0.0711
}

Semantic roles & 50–950 ramp

primary
#0F580D
secondary
#902E93
accent
#37F1EC
background
#F5F8F4
surface
#EAF0E7
border
#C6CBC3
text
#050B03
muted
#797C78

Preview Lab

Preview with #0F580D

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

Preview Lab → · Contrast checker → · Palette generator →

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