#0D4017#0D4017

#0D4017 is a dark, moderate green. Relative luminance 0.038; OKLCH L 32.8% C 0.087 H 146.5°. Best body text is #FFFFFF at 11.91:1 contrast (WCAG AA passes).

Color values

HEX#0D4017
RGBrgb(13, 64, 23)
HSLhsl(132, 66%, 15%)
HSVhsv(132, 80%, 25%)
CMYKcmyk(79.7%, 0%, 64.1%, 74.9%)
CIE-LABlab(23.05, -26.81, 20.10)
CIE-LCHlch(23.05, 33.51, 143.14°)
OKLaboklab(32.77% -0.0723 0.0478)
OKLCHoklch(32.77% 0.087 146.5)
XYZxyz(2.1539, 3.8140, 1.4331)
Luminance0.0381 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D4017 #400D36
analogous
#1C400D #0D4017 #0D4031
triadic
#0D4017 #170D40 #40170D
tetradic
#0D4017 #0D1C40 #400D36 #40310D
square
#0D4017 #0D1C40 #400D36 #40310D
split-complementary
#0D4017 #310D40 #400D1C
monochromatic
#051909 #051909 #0D4017 #177329 #22A63C

Accessibility & contrast

On white

11.91
#0D4017 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#0D4017 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D4017
11.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D4017#FFFFFF#000000##FFFFFF
##0D40171.0011.911.7611.91
#FFFFFF11.911.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#413A13
Deuteranopia (green-blind)
#3B351A
Tritanopia (blue-blind)
#003E37
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #0d4017;
/* rgb */ color: rgb(13, 64, 23);
/* oklch */ color: oklch(32.8% 0.087 146.5);
Tailwind
colors: {
  custom: {
    50: '#547555',
    500: '#0d4017',
    950: '#000000',
  },
}
SCSS
$custom: #0d4017;
$custom-light: #547555;
$custom-dark: #000000;
JSON
{
  "hex": "#0d4017",
  "rgb": {
    "r": 13,
    "g": 64,
    "b": 23
  },
  "hsl": {
    "h": 131.765,
    "s": 66.234,
    "l": 15.098
  },
  "oklch": {
    "l": 0.32766,
    "c": 0.08671,
    "h": 146.5
  },
  "luminance": 0.03814
}

Semantic roles & 50–950 ramp

primary
#0D4017
secondary
#7C2D6C
accent
#3FC8E9
background
#F5F7F5
surface
#E9EDE9
border
#C5C8C5
text
#030803
muted
#787B78

Preview Lab

Preview with #0D4017

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

Preview Lab → · Contrast checker → · Palette generator →

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