#0D4C17#0D4C17

#0D4C17 is a dark, moderate green. Relative luminance 0.053; OKLCH L 36.6% C 0.104 H 145.3°. Best body text is #FFFFFF at 10.18:1 contrast (WCAG AA passes).

Color values

HEX#0D4C17
RGBrgb(13, 76, 23)
HSLhsl(130, 71%, 17%)
HSVhsv(130, 83%, 30%)
CMYKcmyk(82.9%, 0%, 69.7%, 70.2%)
CIE-LABlab(27.62, -31.68, 25.38)
CIE-LCHlch(27.62, 40.59, 141.30°)
OKLaboklab(36.55% -0.0855 0.0592)
OKLCHoklch(36.55% 0.104 145.3)
XYZxyz(2.9049, 5.3160, 1.6834)
Luminance0.0532 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D4C17 #4C0D42
analogous
#224C0D #0D4C17 #0D4C37
triadic
#0D4C17 #170D4C #4C170D
tetradic
#0D4C17 #0D224C #4C0D42 #4C370D
square
#0D4C17 #0D224C #4C0D42 #4C370D
split-complementary
#0D4C17 #370D4C #4C0D22
monochromatic
#041A08 #041A08 #0D4C17 #168027 #1FB537

Accessibility & contrast

On white

10.18
#0D4C17 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#0D4C17 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D4C17
10.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D4C17#FFFFFF#000000##FFFFFF
##0D4C171.0010.182.0610.18
#FFFFFF10.181.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D4411
Deuteranopia (green-blind)
#463F1C
Tritanopia (blue-blind)
#004A41
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #0d4c17;
/* rgb */ color: rgb(13, 76, 23);
/* oklch */ color: oklch(36.6% 0.104 145.3);
Tailwind
colors: {
  custom: {
    50: '#587f56',
    500: '#0d4c17',
    950: '#000000',
  },
}
SCSS
$custom: #0d4c17;
$custom-light: #587f56;
$custom-dark: #000000;
JSON
{
  "hex": "#0d4c17",
  "rgb": {
    "r": 13,
    "g": 76,
    "b": 23
  },
  "hsl": {
    "h": 129.524,
    "s": 70.787,
    "l": 17.451
  },
  "oklch": {
    "l": 0.36553,
    "c": 0.10399,
    "h": 145.3
  },
  "luminance": 0.05316
}

Semantic roles & 50–950 ramp

primary
#0D4C17
secondary
#872E79
accent
#3AD1EE
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#040A03
muted
#797C78

Preview Lab

Preview with #0D4C17

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

Preview Lab → · Contrast checker → · Palette generator →

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