#0D5017#0D5017

#0D5017 is a dark, moderate green. Relative luminance 0.059; OKLCH L 37.8% C 0.109 H 145.0°. Best body text is #FFFFFF at 9.65:1 contrast (WCAG AA passes).

Color values

HEX#0D5017
RGBrgb(13, 80, 23)
HSLhsl(129, 72%, 18%)
HSVhsv(129, 84%, 31%)
CMYKcmyk(83.7%, 0%, 71.2%, 68.6%)
CIE-LABlab(29.12, -33.21, 27.05)
CIE-LCHlch(29.12, 42.83, 140.84°)
OKLaboklab(37.8% -0.0896 0.0628)
OKLCHoklch(37.8% 0.109 145)
XYZxyz(3.1891, 5.8844, 1.7782)
Luminance0.0588 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D5017 #500D46
analogous
#24500D #0D5017 #0D5038
triadic
#0D5017 #170D50 #50170D
tetradic
#0D5017 #0D2450 #500D46 #50380D
square
#0D5017 #0D2450 #500D46 #50380D
split-complementary
#0D5017 #380D50 #500D24
monochromatic
#041A08 #041B08 #0D5017 #168526 #1EB935

Accessibility & contrast

On white

9.65
#0D5017 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#0D5017 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D5017
9.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D5017#FFFFFF#000000##FFFFFF
##0D50171.009.652.189.65
#FFFFFF9.651.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#514810
Deuteranopia (green-blind)
#4A431C
Tritanopia (blue-blind)
#004E44
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #0d5017;
/* rgb */ color: rgb(13, 80, 23);
/* oklch */ color: oklch(37.8% 0.109 145.0);
Tailwind
colors: {
  custom: {
    50: '#598257',
    500: '#0d5017',
    950: '#000000',
  },
}
SCSS
$custom: #0d5017;
$custom-light: #598257;
$custom-dark: #000000;
JSON
{
  "hex": "#0d5017",
  "rgb": {
    "r": 13,
    "g": 80,
    "b": 23
  },
  "hsl": {
    "h": 128.955,
    "s": 72.043,
    "l": 18.235
  },
  "oklch": {
    "l": 0.37799,
    "c": 0.10944,
    "h": 145
  },
  "luminance": 0.05885
}

Semantic roles & 50–950 ramp

primary
#0D5017
secondary
#8B2E7D
accent
#39D4EF
background
#F5F8F5
surface
#E9EFE9
border
#C5CAC5
text
#040A03
muted
#797C78

Preview Lab

Preview with #0D5017

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

Preview Lab → · Contrast checker → · Palette generator →

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