#0D580F#0D580F

#0D580F is a dark, vivid green. Relative luminance 0.071; OKLCH L 40.2% C 0.125 H 143.1°. Best body text is #FFFFFF at 8.68:1 contrast (WCAG AA passes).

Color values

HEX#0D580F
RGBrgb(13, 88, 15)
HSLhsl(122, 74%, 20%)
HSVhsv(122, 85%, 35%)
CMYKcmyk(85.2%, 0%, 83%, 65.5%)
CIE-LABlab(32.03, -36.94, 33.57)
CIE-LCHlch(32.03, 49.92, 137.74°)
OKLaboklab(40.2% -0.1002 0.0753)
OKLCHoklch(40.2% 0.125 143.1)
XYZxyz(3.7417, 7.0991, 1.6249)
Luminance0.0710 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D580F #580D56
analogous
#31580D #0D580F #0D5835
triadic
#0D580F #0F0D58 #580F0D
tetradic
#0D580F #0D3158 #580D56 #58350D
square
#0D580F #0D3158 #580D56 #58350D
split-complementary
#0D580F #350D58 #580D31
monochromatic
#041B05 #052306 #0D580F #158D18 #1DC321

Accessibility & contrast

On white

8.68
#0D580F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#0D580F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D580F
8.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D580F#FFFFFF#000000##FFFFFF
##0D580F1.008.682.428.68
#FFFFFF8.681.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A4F01
Deuteranopia (green-blind)
#524917
Tritanopia (blue-blind)
#00554A
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #0d580f;
/* rgb */ color: rgb(13, 88, 15);
/* oklch */ color: oklch(40.2% 0.125 143.1);
Tailwind
colors: {
  custom: {
    50: '#5c8854',
    500: '#0d580f',
    950: '#000000',
  },
}
SCSS
$custom: #0d580f;
$custom-light: #5c8854;
$custom-dark: #000000;
JSON
{
  "hex": "#0d580f",
  "rgb": {
    "r": 13,
    "g": 88,
    "b": 15
  },
  "hsl": {
    "h": 121.6,
    "s": 74.257,
    "l": 19.804
  },
  "oklch": {
    "l": 0.40199,
    "c": 0.12534,
    "h": 143.1
  },
  "luminance": 0.071
}

Semantic roles & 50–950 ramp

primary
#0D580F
secondary
#932E90
accent
#37ECF1
background
#F5F8F5
surface
#E9F0E8
border
#C5CBC4
text
#050B03
muted
#797C78

Preview Lab

Preview with #0D580F

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

Preview Lab → · Contrast checker → · Palette generator →

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