#0D4C18#0D4C18

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

Color values

HEX#0D4C18
RGBrgb(13, 76, 24)
HSLhsl(130, 71%, 17%)
HSVhsv(130, 83%, 30%)
CMYKcmyk(82.9%, 0%, 68.4%, 70.2%)
CIE-LABlab(27.63, -31.54, 24.87)
CIE-LCHlch(27.63, 40.17, 141.74°)
OKLaboklab(36.57% -0.0851 0.0583)
OKLCHoklch(36.57% 0.103 145.6)
XYZxyz(2.9151, 5.3201, 1.7372)
Luminance0.0532 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D4C18 #4C0D41
analogous
#224C0D #0D4C18 #0D4C37
triadic
#0D4C18 #180D4C #4C180D
tetradic
#0D4C18 #0D224C #4C0D41 #4C370D
square
#0D4C18 #0D224C #4C0D41 #4C370D
split-complementary
#0D4C18 #370D4C #4C0D22
monochromatic
#041A08 #041A08 #0D4C18 #168029 #1FB539

Accessibility & contrast

On white

10.17
#0D4C18 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0D4C18
10.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D4C18#FFFFFF#000000##FFFFFF
##0D4C181.0010.172.0610.17
#FFFFFF10.171.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.171.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0d4c18;
/* rgb */ color: rgb(13, 76, 24);
/* oklch */ color: oklch(36.6% 0.103 145.6);
Tailwind
colors: {
  custom: {
    50: '#587f57',
    500: '#0d4c18',
    950: '#000000',
  },
}
SCSS
$custom: #0d4c18;
$custom-light: #587f57;
$custom-dark: #000000;
JSON
{
  "hex": "#0d4c18",
  "rgb": {
    "r": 13,
    "g": 76,
    "b": 24
  },
  "hsl": {
    "h": 130.476,
    "s": 70.787,
    "l": 17.451
  },
  "oklch": {
    "l": 0.36565,
    "c": 0.1031,
    "h": 145.6
  },
  "luminance": 0.0532
}

Semantic roles & 50–950 ramp

primary
#0D4C18
secondary
#872E78
accent
#3ACEEE
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#040A03
muted
#797C78

Preview Lab

Preview with #0D4C18

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

Preview Lab → · Contrast checker → · Palette generator →

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