#0D5C18#0D5C18

#0D5C18 is a dark, vivid green. Relative luminance 0.078; OKLCH L 41.5% C 0.124 H 144.6°. Best body text is #FFFFFF at 8.20:1 contrast (WCAG AA passes).

Color values

HEX#0D5C18
RGBrgb(13, 92, 24)
HSLhsl(128, 75%, 21%)
HSVhsv(128, 86%, 36%)
CMYKcmyk(85.9%, 0%, 73.9%, 63.9%)
CIE-LABlab(33.57, -37.51, 31.40)
CIE-LCHlch(33.57, 48.92, 140.06°)
OKLaboklab(41.5% -0.1013 0.0721)
OKLCHoklch(41.5% 0.124 144.6)
XYZxyz(4.1577, 7.8053, 2.1514)
Luminance0.0781 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D5C18 #5C0D51
analogous
#2A5C0D #0D5C18 #0D5C3F
triadic
#0D5C18 #180D5C #5C180D
tetradic
#0D5C18 #0D2A5C #5C0D51 #5C3F0D
square
#0D5C18 #0D2A5C #5C0D51 #5C3F0D
split-complementary
#0D5C18 #3F0D5C #5C0D2A
monochromatic
#041B07 #05260A #0D5C18 #159226 #1CC734

Accessibility & contrast

On white

8.20
#0D5C18 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#0D5C18 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D5C18
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D5C18#FFFFFF#000000##FFFFFF
##0D5C181.008.202.568.20
#FFFFFF8.201.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E530E
Deuteranopia (green-blind)
#554D1F
Tritanopia (blue-blind)
#00594E
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #0d5c18;
/* rgb */ color: rgb(13, 92, 24);
/* oklch */ color: oklch(41.5% 0.124 144.6);
Tailwind
colors: {
  custom: {
    50: '#5d8b59',
    500: '#0d5c18',
    950: '#000000',
  },
}
SCSS
$custom: #0d5c18;
$custom-light: #5d8b59;
$custom-dark: #000000;
JSON
{
  "hex": "#0d5c18",
  "rgb": {
    "r": 13,
    "g": 92,
    "b": 24
  },
  "hsl": {
    "h": 128.354,
    "s": 75.238,
    "l": 20.588
  },
  "oklch": {
    "l": 0.41504,
    "c": 0.12431,
    "h": 144.6
  },
  "luminance": 0.07806
}

Semantic roles & 50–950 ramp

primary
#0D5C18
secondary
#962F88
accent
#36D8F2
background
#F5F8F5
surface
#EAF0E9
border
#C6CBC5
text
#050C04
muted
#797D79

Preview Lab

Preview with #0D5C18

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

Preview Lab → · Contrast checker → · Palette generator →

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