#0F582D#0F582D

#0F582D is a dark, moderate green. Relative luminance 0.073; OKLCH L 40.6% C 0.099 H 152.0°. Best body text is #FFFFFF at 8.56:1 contrast (WCAG AA passes).

Color values

HEX#0F582D
RGBrgb(15, 88, 45)
HSLhsl(145, 71%, 20%)
HSVhsv(145, 83%, 35%)
CMYKcmyk(83%, 0%, 48.9%, 65.5%)
CIE-LABlab(32.41, -32.47, 18.89)
CIE-LCHlch(32.41, 37.57, 149.81°)
OKLaboklab(40.64% -0.0873 0.0464)
OKLCHoklch(40.64% 0.099 152)
XYZxyz(4.1600, 7.2700, 3.6661)
Luminance0.0727 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F582D #580F3A
analogous
#15580F #0F582D #0F5852
triadic
#0F582D #2D0F58 #582D0F
tetradic
#0F582D #0F1558 #580F3A #58520F
square
#0F582D #0F1558 #580F3A #58520F
split-complementary
#0F582D #520F58 #580F15
monochromatic
#041A0D #062412 #0F582D #188C48 #21C162

Accessibility & contrast

On white

8.56
#0F582D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#0F582D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F582D
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F582D#FFFFFF#000000##FFFFFF
##0F582D1.008.562.458.56
#FFFFFF8.561.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#58502A
Deuteranopia (green-blind)
#504A30
Tritanopia (blue-blind)
#00574E
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #0f582d;
/* rgb */ color: rgb(15, 88, 45);
/* oklch */ color: oklch(40.6% 0.099 152.0);
Tailwind
colors: {
  custom: {
    50: '#5b8866',
    500: '#0f582d',
    950: '#000000',
  },
}
SCSS
$custom: #0f582d;
$custom-light: #5b8866;
$custom-dark: #000000;
JSON
{
  "hex": "#0f582d",
  "rgb": {
    "r": 15,
    "g": 88,
    "b": 45
  },
  "hsl": {
    "h": 144.658,
    "s": 70.874,
    "l": 20.196
  },
  "oklch": {
    "l": 0.40638,
    "c": 0.09888,
    "h": 152
  },
  "luminance": 0.0727
}

Semantic roles & 50–950 ramp

primary
#0F582D
secondary
#92316A
accent
#3AA4EE
background
#F5F8F6
surface
#E9F0EB
border
#C5CBC6
text
#040B06
muted
#797C7A

Preview Lab

Preview with #0F582D

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

Preview Lab → · Contrast checker → · Palette generator →

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