#0F582A#0F582A

#0F582A is a dark, moderate green. Relative luminance 0.072; OKLCH L 40.6% C 0.102 H 150.5°. Best body text is #FFFFFF at 8.57:1 contrast (WCAG AA passes).

Color values

HEX#0F582A
RGBrgb(15, 88, 42)
HSLhsl(142, 71%, 20%)
HSVhsv(142, 83%, 35%)
CMYKcmyk(83%, 0%, 52.3%, 65.5%)
CIE-LABlab(32.36, -33.05, 20.58)
CIE-LCHlch(32.36, 38.93, 148.10°)
OKLaboklab(40.58% -0.0888 0.0502)
OKLCHoklch(40.58% 0.102 150.5)
XYZxyz(4.1043, 7.2477, 3.3727)
Luminance0.0725 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F582A #580F3D
analogous
#18580F #0F582A #0F584F
triadic
#0F582A #2A0F58 #582A0F
tetradic
#0F582A #0F1858 #580F3D #584F0F
square
#0F582A #0F1858 #580F3D #584F0F
split-complementary
#0F582A #4F0F58 #580F18
monochromatic
#041A0C #062411 #0F582A #188C43 #21C15C

Accessibility & contrast

On white

8.57
#0F582A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F582A
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F582A#FFFFFF#000000##FFFFFF
##0F582A1.008.572.458.57
#FFFFFF8.571.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#585026
Deuteranopia (green-blind)
#504A2D
Tritanopia (blue-blind)
#00564D
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #0f582a;
/* rgb */ color: rgb(15, 88, 42);
/* oklch */ color: oklch(40.6% 0.102 150.5);
Tailwind
colors: {
  custom: {
    50: '#5b8864',
    500: '#0f582a',
    950: '#000000',
  },
}
SCSS
$custom: #0f582a;
$custom-light: #5b8864;
$custom-dark: #000000;
JSON
{
  "hex": "#0f582a",
  "rgb": {
    "r": 15,
    "g": 88,
    "b": 42
  },
  "hsl": {
    "h": 142.192,
    "s": 70.874,
    "l": 20.196
  },
  "oklch": {
    "l": 0.40581,
    "c": 0.10199,
    "h": 150.5
  },
  "luminance": 0.07248
}

Semantic roles & 50–950 ramp

primary
#0F582A
secondary
#92316E
accent
#3AABEE
background
#F5F8F6
surface
#E9F0EB
border
#C5CBC6
text
#040B05
muted
#797C7A

Preview Lab

Preview with #0F582A

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

Preview Lab → · Contrast checker → · Palette generator →

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