#0F581A#0F581A

#0F581A is a dark, moderate green. Relative luminance 0.072; OKLCH L 40.3% C 0.117 H 145.0°. Best body text is #FFFFFF at 8.64:1 contrast (WCAG AA passes).

Color values

HEX#0F581A
RGBrgb(15, 88, 26)
HSLhsl(129, 71%, 20%)
HSVhsv(129, 83%, 35%)
CMYKcmyk(83%, 0%, 70.5%, 65.5%)
CIE-LABlab(32.16, -35.52, 28.94)
CIE-LCHlch(32.16, 45.82, 140.83°)
OKLaboklab(40.34% -0.0959 0.0671)
OKLCHoklch(40.34% 0.117 145)
XYZxyz(3.8729, 7.1551, 2.1540)
Luminance0.0716 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F581A #580F4D
analogous
#28580F #0F581A #0F583E
triadic
#0F581A #1A0F58 #581A0F
tetradic
#0F581A #0F2858 #580F4D #583E0F
square
#0F581A #0F2858 #580F4D #583E0F
split-complementary
#0F581A #3E0F58 #580F28
monochromatic
#041A08 #06240B #0F581A #188C29 #21C139

Accessibility & contrast

On white

8.64
#0F581A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F581A
8.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F581A#FFFFFF#000000##FFFFFF
##0F581A1.008.642.438.64
#FFFFFF8.641.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A4F12
Deuteranopia (green-blind)
#524920
Tritanopia (blue-blind)
#00564B
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #0f581a;
/* rgb */ color: rgb(15, 88, 26);
/* oklch */ color: oklch(40.3% 0.117 145.0);
Tailwind
colors: {
  custom: {
    50: '#5c885a',
    500: '#0f581a',
    950: '#000000',
  },
}
SCSS
$custom: #0f581a;
$custom-light: #5c885a;
$custom-dark: #000000;
JSON
{
  "hex": "#0f581a",
  "rgb": {
    "r": 15,
    "g": 88,
    "b": 26
  },
  "hsl": {
    "h": 129.041,
    "s": 70.874,
    "l": 20.196
  },
  "oklch": {
    "l": 0.40343,
    "c": 0.11703,
    "h": 145
  },
  "luminance": 0.07156
}

Semantic roles & 50–950 ramp

primary
#0F581A
secondary
#923183
accent
#3AD3EE
background
#F5F8F5
surface
#E9F0E9
border
#C5CBC5
text
#050B04
muted
#797C79

Preview Lab

Preview with #0F581A

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

Preview Lab → · Contrast checker → · Palette generator →

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