#0D4F17#0D4F17

#0D4F17 is a dark, moderate green. Relative luminance 0.057; OKLCH L 37.5% C 0.108 H 145.1°. Best body text is #FFFFFF at 9.78:1 contrast (WCAG AA passes).

Color values

HEX#0D4F17
RGBrgb(13, 79, 23)
HSLhsl(129, 72%, 18%)
HSVhsv(129, 84%, 31%)
CMYKcmyk(83.5%, 0%, 70.9%, 69%)
CIE-LABlab(28.74, -32.83, 26.64)
CIE-LCHlch(28.74, 42.28, 140.95°)
OKLaboklab(37.49% -0.0886 0.0619)
OKLCHoklch(37.49% 0.108 145.1)
XYZxyz(3.1164, 5.7390, 1.7539)
Luminance0.0574 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D4F17 #4F0D45
analogous
#244F0D #0D4F17 #0D4F38
triadic
#0D4F17 #170D4F #4F170D
tetradic
#0D4F17 #0D244F #4F0D45 #4F380D
square
#0D4F17 #0D244F #4F0D45 #4F380D
split-complementary
#0D4F17 #380D4F #4F0D24
monochromatic
#041A08 #041A08 #0D4F17 #168426 #1EB836

Accessibility & contrast

On white

9.78
#0D4F17 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#0D4F17 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D4F17
9.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D4F17#FFFFFF#000000##FFFFFF
##0D4F171.009.782.159.78
#FFFFFF9.781.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#504710
Deuteranopia (green-blind)
#49421C
Tritanopia (blue-blind)
#004D43
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #0d4f17;
/* rgb */ color: rgb(13, 79, 23);
/* oklch */ color: oklch(37.5% 0.108 145.1);
Tailwind
colors: {
  custom: {
    50: '#598157',
    500: '#0d4f17',
    950: '#000000',
  },
}
SCSS
$custom: #0d4f17;
$custom-light: #598157;
$custom-dark: #000000;
JSON
{
  "hex": "#0d4f17",
  "rgb": {
    "r": 13,
    "g": 79,
    "b": 23
  },
  "hsl": {
    "h": 129.091,
    "s": 71.739,
    "l": 18.039
  },
  "oklch": {
    "l": 0.37488,
    "c": 0.10809,
    "h": 145.1
  },
  "luminance": 0.05739
}

Semantic roles & 50–950 ramp

primary
#0D4F17
secondary
#8A2E7C
accent
#39D3EE
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#040A03
muted
#797C78

Preview Lab

Preview with #0D4F17

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

Preview Lab → · Contrast checker → · Palette generator →

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