#0F591B#0F591B

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

Color values

HEX#0F591B
RGBrgb(15, 89, 27)
HSLhsl(130, 71%, 20%)
HSVhsv(130, 83%, 35%)
CMYKcmyk(83.1%, 0%, 69.7%, 65.1%)
CIE-LABlab(32.54, -35.77, 28.87)
CIE-LCHlch(32.54, 45.96, 141.09°)
OKLaboklab(40.66% -0.0965 0.0671)
OKLCHoklch(40.66% 0.118 145.2)
XYZxyz(3.9669, 7.3250, 2.2415)
Luminance0.0732 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F591B #590F4D
analogous
#28590F #0F591B #0F5940
triadic
#0F591B #1B0F59 #591B0F
tetradic
#0F591B #0F2859 #590F4D #59400F
square
#0F591B #0F2859 #590F4D #59400F
split-complementary
#0F591B #400F59 #590F28
monochromatic
#041A08 #06250B #0F591B #188D2B #21C23B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##0F591B#FFFFFF#000000##FFFFFF
##0F591B1.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)
#5B5013
Deuteranopia (green-blind)
#524A21
Tritanopia (blue-blind)
#00574C
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #0f591b;
/* rgb */ color: rgb(15, 89, 27);
/* oklch */ color: oklch(40.7% 0.118 145.2);
Tailwind
colors: {
  custom: {
    50: '#5c895a',
    500: '#0f591b',
    950: '#000000',
  },
}
SCSS
$custom: #0f591b;
$custom-light: #5c895a;
$custom-dark: #000000;
JSON
{
  "hex": "#0f591b",
  "rgb": {
    "r": 15,
    "g": 89,
    "b": 27
  },
  "hsl": {
    "h": 129.73,
    "s": 71.154,
    "l": 20.392
  },
  "oklch": {
    "l": 0.4066,
    "c": 0.11753,
    "h": 145.2
  },
  "luminance": 0.07325
}

Semantic roles & 50–950 ramp

primary
#0F591B
secondary
#933183
accent
#3AD1EE
background
#F5F8F5
surface
#E9F0E9
border
#C5CBC5
text
#050B04
muted
#797C79

Preview Lab

Preview with #0F591B

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

Preview Lab → · Contrast checker → · Palette generator →

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