#0F581E#0F581E

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

Color values

HEX#0F581E
RGBrgb(15, 88, 30)
HSLhsl(132, 71%, 20%)
HSVhsv(132, 83%, 35%)
CMYKcmyk(83%, 0%, 65.9%, 65.5%)
CIE-LABlab(32.20, -35.00, 26.98)
CIE-LCHlch(32.20, 44.19, 142.37°)
OKLaboklab(40.39% -0.0943 0.0634)
OKLCHoklch(40.39% 0.114 146.1)
XYZxyz(3.9208, 7.1743, 2.4062)
Luminance0.0717 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F581E #580F49
analogous
#24580F #0F581E #0F5843
triadic
#0F581E #1E0F58 #581E0F
tetradic
#0F581E #0F2458 #580F49 #58430F
square
#0F581E #0F2458 #580F49 #58430F
split-complementary
#0F581E #430F58 #580F24
monochromatic
#041A09 #06240C #0F581E #188C30 #21C142

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##0F581E#FFFFFF#000000##FFFFFF
##0F581E1.008.622.438.62
#FFFFFF8.621.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.621.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0f581e;
/* rgb */ color: rgb(15, 88, 30);
/* oklch */ color: oklch(40.4% 0.114 146.1);
Tailwind
colors: {
  custom: {
    50: '#5c885c',
    500: '#0f581e',
    950: '#000000',
  },
}
SCSS
$custom: #0f581e;
$custom-light: #5c885c;
$custom-dark: #000000;
JSON
{
  "hex": "#0f581e",
  "rgb": {
    "r": 15,
    "g": 88,
    "b": 30
  },
  "hsl": {
    "h": 132.329,
    "s": 70.874,
    "l": 20.196
  },
  "oklch": {
    "l": 0.40392,
    "c": 0.11361,
    "h": 146.1
  },
  "luminance": 0.07175
}

Semantic roles & 50–950 ramp

primary
#0F581E
secondary
#92317E
accent
#3AC9EE
background
#F5F8F5
surface
#E9F0E9
border
#C5CBC5
text
#050B04
muted
#797C79

Preview Lab

Preview with #0F581E

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

Preview Lab → · Contrast checker → · Palette generator →

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