#0D4918#0D4918

#0D4918 is a dark, moderate green. Relative luminance 0.049; OKLCH L 35.6% C 0.099 H 145.9°. Best body text is #FFFFFF at 10.59:1 contrast (WCAG AA passes).

Color values

HEX#0D4918
RGBrgb(13, 73, 24)
HSLhsl(131, 70%, 17%)
HSVhsv(131, 82%, 29%)
CMYKcmyk(82.2%, 0%, 67.1%, 71.4%)
CIE-LABlab(26.50, -30.36, 23.58)
CIE-LCHlch(26.50, 38.44, 142.17°)
OKLaboklab(35.63% -0.0819 0.0555)
OKLCHoklch(35.63% 0.099 145.9)
XYZxyz(2.7132, 4.9163, 1.6699)
Luminance0.0492 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D4918 #490D3E
analogous
#20490D #0D4918 #0D4936
triadic
#0D4918 #180D49 #49180D
tetradic
#0D4918 #0D2049 #490D3E #49360D
square
#0D4918 #0D2049 #490D3E #49360D
split-complementary
#0D4918 #360D49 #490D20
monochromatic
#051A09 #051A09 #0D4918 #167D29 #20B13A

Accessibility & contrast

On white

10.59
#0D4918 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#0D4918 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D4918
10.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D4918#FFFFFF#000000##FFFFFF
##0D49181.0010.591.9810.59
#FFFFFF10.591.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A4213
Deuteranopia (green-blind)
#433D1C
Tritanopia (blue-blind)
#00473E
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #0d4918;
/* rgb */ color: rgb(13, 73, 24);
/* oklch */ color: oklch(35.6% 0.099 145.9);
Tailwind
colors: {
  custom: {
    50: '#577c57',
    500: '#0d4918',
    950: '#000000',
  },
}
SCSS
$custom: #0d4918;
$custom-light: #577c57;
$custom-dark: #000000;
JSON
{
  "hex": "#0d4918",
  "rgb": {
    "r": 13,
    "g": 73,
    "b": 24
  },
  "hsl": {
    "h": 131,
    "s": 69.767,
    "l": 16.863
  },
  "oklch": {
    "l": 0.35626,
    "c": 0.09888,
    "h": 145.9
  },
  "luminance": 0.04917
}

Semantic roles & 50–950 ramp

primary
#0D4918
secondary
#842D74
accent
#3BCCED
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#040903
muted
#797B78

Preview Lab

Preview with #0D4918

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

Preview Lab → · Contrast checker → · Palette generator →

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