#0D4018#0D4018

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

Color values

HEX#0D4018
RGBrgb(13, 64, 24)
HSLhsl(133, 66%, 15%)
HSVhsv(133, 80%, 25%)
CMYKcmyk(79.7%, 0%, 62.5%, 74.9%)
CIE-LABlab(23.06, -26.65, 19.54)
CIE-LCHlch(23.06, 33.05, 143.75°)
OKLaboklab(32.78% -0.0718 0.0467)
OKLCHoklch(32.78% 0.086 147)
XYZxyz(2.1641, 3.8181, 1.4869)
Luminance0.0382 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D4018 #400D35
analogous
#1C400D #0D4018 #0D4031
triadic
#0D4018 #180D40 #40180D
tetradic
#0D4018 #0D1C40 #400D35 #40310D
square
#0D4018 #0D1C40 #400D35 #40310D
split-complementary
#0D4018 #310D40 #400D1C
monochromatic
#05190A #05190A #0D4018 #17732B #22A63E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##0D4018#FFFFFF#000000##FFFFFF
##0D40181.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)
#413A14
Deuteranopia (green-blind)
#3B351B
Tritanopia (blue-blind)
#003E37
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #0d4018;
/* rgb */ color: rgb(13, 64, 24);
/* oklch */ color: oklch(32.8% 0.086 147.0);
Tailwind
colors: {
  custom: {
    50: '#547556',
    500: '#0d4018',
    950: '#000000',
  },
}
SCSS
$custom: #0d4018;
$custom-light: #547556;
$custom-dark: #000000;
JSON
{
  "hex": "#0d4018",
  "rgb": {
    "r": 13,
    "g": 64,
    "b": 24
  },
  "hsl": {
    "h": 132.941,
    "s": 66.234,
    "l": 15.098
  },
  "oklch": {
    "l": 0.32782,
    "c": 0.08568,
    "h": 147
  },
  "luminance": 0.03818
}

Semantic roles & 50–950 ramp

primary
#0D4018
secondary
#7C2D6B
accent
#3FC4E9
background
#F5F7F5
surface
#E9EDE9
border
#C5C8C5
text
#030803
muted
#787B78

Preview Lab

Preview with #0D4018

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

Preview Lab → · Contrast checker → · Palette generator →

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