#0F582C#0F582C

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

Color values

HEX#0F582C
RGBrgb(15, 88, 44)
HSLhsl(144, 71%, 20%)
HSVhsv(144, 83%, 35%)
CMYKcmyk(83%, 0%, 50%, 65.5%)
CIE-LABlab(32.40, -32.67, 19.45)
CIE-LCHlch(32.40, 38.02, 149.23°)
OKLaboklab(40.62% -0.0878 0.0477)
OKLCHoklch(40.62% 0.1 151.5)
XYZxyz(4.1410, 7.2624, 3.5659)
Luminance0.0726 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F582C #580F3B
analogous
#16580F #0F582C #0F5851
triadic
#0F582C #2C0F58 #582C0F
tetradic
#0F582C #0F1658 #580F3B #58510F
square
#0F582C #0F1658 #580F3B #58510F
split-complementary
#0F582C #510F58 #580F16
monochromatic
#041A0D #062412 #0F582C #188C46 #21C160

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##0F582C#FFFFFF#000000##FFFFFF
##0F582C1.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)
#585029
Deuteranopia (green-blind)
#504A2F
Tritanopia (blue-blind)
#00564D
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #0f582c;
/* rgb */ color: rgb(15, 88, 44);
/* oklch */ color: oklch(40.6% 0.100 151.5);
Tailwind
colors: {
  custom: {
    50: '#5b8866',
    500: '#0f582c',
    950: '#000000',
  },
}
SCSS
$custom: #0f582c;
$custom-light: #5b8866;
$custom-dark: #000000;
JSON
{
  "hex": "#0f582c",
  "rgb": {
    "r": 15,
    "g": 88,
    "b": 44
  },
  "hsl": {
    "h": 143.836,
    "s": 70.874,
    "l": 20.196
  },
  "oklch": {
    "l": 0.40619,
    "c": 0.09992,
    "h": 151.5
  },
  "luminance": 0.07263
}

Semantic roles & 50–950 ramp

primary
#0F582C
secondary
#92316B
accent
#3AA6EE
background
#F5F8F6
surface
#E9F0EB
border
#C5CBC6
text
#040B06
muted
#797C7A

Preview Lab

Preview with #0F582C

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

Preview Lab → · Contrast checker → · Palette generator →

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