#0D5818#0D5818

#0D5818 is a dark, moderate green. Relative luminance 0.071; OKLCH L 40.3% C 0.119 H 144.8°. Best body text is #FFFFFF at 8.66:1 contrast (WCAG AA passes).

Color values

HEX#0D5818
RGBrgb(13, 88, 24)
HSLhsl(129, 74%, 20%)
HSVhsv(129, 85%, 35%)
CMYKcmyk(85.2%, 0%, 72.7%, 65.5%)
CIE-LABlab(32.10, -36.06, 29.82)
CIE-LCHlch(32.10, 46.80, 140.41°)
OKLaboklab(40.28% -0.0973 0.0688)
OKLCHoklch(40.28% 0.119 144.8)
XYZxyz(3.8203, 7.1305, 2.0390)
Luminance0.0713 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D5818 #580D4D
analogous
#28580D #0D5818 #0D583E
triadic
#0D5818 #180D58 #58180D
tetradic
#0D5818 #0D2858 #580D4D #583E0D
square
#0D5818 #0D2858 #580D4D #583E0D
split-complementary
#0D5818 #3E0D58 #580D28
monochromatic
#041B07 #052309 #0D5818 #158D27 #1DC335

Accessibility & contrast

On white

8.66
#0D5818 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#0D5818 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D5818
8.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D5818#FFFFFF#000000##FFFFFF
##0D58181.008.662.438.66
#FFFFFF8.661.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A4F0F
Deuteranopia (green-blind)
#52491E
Tritanopia (blue-blind)
#00554B
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #0d5818;
/* rgb */ color: rgb(13, 88, 24);
/* oklch */ color: oklch(40.3% 0.119 144.8);
Tailwind
colors: {
  custom: {
    50: '#5c8858',
    500: '#0d5818',
    950: '#000000',
  },
}
SCSS
$custom: #0d5818;
$custom-light: #5c8858;
$custom-dark: #000000;
JSON
{
  "hex": "#0d5818",
  "rgb": {
    "r": 13,
    "g": 88,
    "b": 24
  },
  "hsl": {
    "h": 128.8,
    "s": 74.257,
    "l": 19.804
  },
  "oklch": {
    "l": 0.4028,
    "c": 0.11919,
    "h": 144.8
  },
  "luminance": 0.07131
}

Semantic roles & 50–950 ramp

primary
#0D5818
secondary
#932E84
accent
#37D6F1
background
#F5F8F5
surface
#E9F0E9
border
#C5CBC5
text
#050B03
muted
#797C78

Preview Lab

Preview with #0D5818

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

Preview Lab → · Contrast checker → · Palette generator →

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