#0D4D18#0D4D18

#0D4D18 is a dark, moderate green. Relative luminance 0.055; OKLCH L 36.9% C 0.104 H 145.5°. Best body text is #FFFFFF at 10.04:1 contrast (WCAG AA passes).

Color values

HEX#0D4D18
RGBrgb(13, 77, 24)
HSLhsl(130, 71%, 18%)
HSVhsv(130, 83%, 30%)
CMYKcmyk(83.1%, 0%, 68.8%, 69.8%)
CIE-LABlab(28.00, -31.93, 25.30)
CIE-LCHlch(28.00, 40.74, 141.61°)
OKLaboklab(36.88% -0.0861 0.0592)
OKLCHoklch(36.88% 0.104 145.5)
XYZxyz(2.9845, 5.4589, 1.7604)
Luminance0.0546 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D4D18 #4D0D42
analogous
#224D0D #0D4D18 #0D4D38
triadic
#0D4D18 #180D4D #4D180D
tetradic
#0D4D18 #0D224D #4D0D42 #4D380D
square
#0D4D18 #0D224D #4D0D42 #4D380D
split-complementary
#0D4D18 #380D4D #4D0D22
monochromatic
#041A08 #041A08 #0D4D18 #168128 #1FB639

Accessibility & contrast

On white

10.04
#0D4D18 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#0D4D18 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D4D18
10.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D4D18#FFFFFF#000000##FFFFFF
##0D4D181.0010.042.0910.04
#FFFFFF10.041.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E4512
Deuteranopia (green-blind)
#47401D
Tritanopia (blue-blind)
#004B42
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #0d4d18;
/* rgb */ color: rgb(13, 77, 24);
/* oklch */ color: oklch(36.9% 0.104 145.5);
Tailwind
colors: {
  custom: {
    50: '#588057',
    500: '#0d4d18',
    950: '#000000',
  },
}
SCSS
$custom: #0d4d18;
$custom-light: #588057;
$custom-dark: #000000;
JSON
{
  "hex": "#0d4d18",
  "rgb": {
    "r": 13,
    "g": 77,
    "b": 24
  },
  "hsl": {
    "h": 130.313,
    "s": 71.111,
    "l": 17.647
  },
  "oklch": {
    "l": 0.36878,
    "c": 0.10449,
    "h": 145.5
  },
  "luminance": 0.05459
}

Semantic roles & 50–950 ramp

primary
#0D4D18
secondary
#882E79
accent
#3ACFEE
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#040A03
muted
#797C78

Preview Lab

Preview with #0D4D18

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

Preview Lab → · Contrast checker → · Palette generator →

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