#0F591F#0F591F

#0F591F is a dark, moderate green. Relative luminance 0.073; OKLCH L 40.7% C 0.114 H 146.3°. Best body text is #FFFFFF at 8.51:1 contrast (WCAG AA passes).

Color values

HEX#0F591F
RGBrgb(15, 89, 31)
HSLhsl(133, 71%, 20%)
HSVhsv(133, 83%, 35%)
CMYKcmyk(83.1%, 0%, 65.2%, 65.1%)
CIE-LABlab(32.58, -35.24, 26.90)
CIE-LCHlch(32.58, 44.33, 142.65°)
OKLaboklab(40.71% -0.0949 0.0633)
OKLCHoklch(40.71% 0.114 146.3)
XYZxyz(4.0164, 7.3448, 2.5021)
Luminance0.0735 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F591F #590F49
analogous
#24590F #0F591F #0F5944
triadic
#0F591F #1F0F59 #591F0F
tetradic
#0F591F #0F2459 #590F49 #59440F
square
#0F591F #0F2459 #590F49 #59440F
split-complementary
#0F591F #440F59 #590F24
monochromatic
#041A09 #06250D #0F591F #188D31 #21C243

Accessibility & contrast

On white

8.51
#0F591F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#0F591F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F591F
8.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F591F#FFFFFF#000000##FFFFFF
##0F591F1.008.512.478.51
#FFFFFF8.511.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A5019
Deuteranopia (green-blind)
#524A24
Tritanopia (blue-blind)
#00574D
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #0f591f;
/* rgb */ color: rgb(15, 89, 31);
/* oklch */ color: oklch(40.7% 0.114 146.3);
Tailwind
colors: {
  custom: {
    50: '#5c895d',
    500: '#0f591f',
    950: '#000000',
  },
}
SCSS
$custom: #0f591f;
$custom-light: #5c895d;
$custom-dark: #000000;
JSON
{
  "hex": "#0f591f",
  "rgb": {
    "r": 15,
    "g": 89,
    "b": 31
  },
  "hsl": {
    "h": 132.973,
    "s": 71.154,
    "l": 20.392
  },
  "oklch": {
    "l": 0.4071,
    "c": 0.11408,
    "h": 146.3
  },
  "luminance": 0.07345
}

Semantic roles & 50–950 ramp

primary
#0F591F
secondary
#93317E
accent
#3AC7EE
background
#F5F8F5
surface
#E9F0E9
border
#C5CBC5
text
#050B04
muted
#797C79

Preview Lab

Preview with #0F591F

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

Preview Lab → · Contrast checker → · Palette generator →

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