#0F591C#0F591C

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

Color values

HEX#0F591C
RGBrgb(15, 89, 28)
HSLhsl(131, 71%, 20%)
HSVhsv(131, 83%, 35%)
CMYKcmyk(83.1%, 0%, 68.5%, 65.1%)
CIE-LABlab(32.55, -35.64, 28.39)
CIE-LCHlch(32.55, 45.56, 141.47°)
OKLaboklab(40.67% -0.0961 0.0662)
OKLCHoklch(40.67% 0.117 145.4)
XYZxyz(3.9787, 7.3297, 2.3035)
Luminance0.0733 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F591C #590F4C
analogous
#27590F #0F591C #0F5941
triadic
#0F591C #1C0F59 #591C0F
tetradic
#0F591C #0F2759 #590F4C #59410F
square
#0F591C #0F2759 #590F4C #59410F
split-complementary
#0F591C #410F59 #590F27
monochromatic
#041A08 #06250C #0F591C #188D2C #21C23D

Accessibility & contrast

On white

8.52
#0F591C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F591C
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F591C#FFFFFF#000000##FFFFFF
##0F591C1.008.522.478.52
#FFFFFF8.521.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B5015
Deuteranopia (green-blind)
#524A21
Tritanopia (blue-blind)
#00574C
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #0f591c;
/* rgb */ color: rgb(15, 89, 28);
/* oklch */ color: oklch(40.7% 0.117 145.4);
Tailwind
colors: {
  custom: {
    50: '#5c895b',
    500: '#0f591c',
    950: '#000000',
  },
}
SCSS
$custom: #0f591c;
$custom-light: #5c895b;
$custom-dark: #000000;
JSON
{
  "hex": "#0f591c",
  "rgb": {
    "r": 15,
    "g": 89,
    "b": 28
  },
  "hsl": {
    "h": 130.541,
    "s": 71.154,
    "l": 20.392
  },
  "oklch": {
    "l": 0.40672,
    "c": 0.11669,
    "h": 145.4
  },
  "luminance": 0.0733
}

Semantic roles & 50–950 ramp

primary
#0F591C
secondary
#933182
accent
#3ACEEE
background
#F5F8F5
surface
#E9F0E9
border
#C5CBC5
text
#050B04
muted
#797C79

Preview Lab

Preview with #0F591C

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

Preview Lab → · Contrast checker → · Palette generator →

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