#0D5018#0D5018

#0D5018 is a dark, moderate green. Relative luminance 0.059; OKLCH L 37.8% C 0.109 H 145.3°. Best body text is #FFFFFF at 9.64:1 contrast (WCAG AA passes).

Color values

HEX#0D5018
RGBrgb(13, 80, 24)
HSLhsl(130, 72%, 18%)
HSVhsv(130, 84%, 31%)
CMYKcmyk(83.7%, 0%, 70%, 68.6%)
CIE-LABlab(29.13, -33.08, 26.56)
CIE-LCHlch(29.13, 42.43, 141.24°)
OKLaboklab(37.81% -0.0892 0.0619)
OKLCHoklch(37.81% 0.109 145.3)
XYZxyz(3.1993, 5.8885, 1.8320)
Luminance0.0589 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D5018 #500D45
analogous
#23500D #0D5018 #0D5039
triadic
#0D5018 #180D50 #50180D
tetradic
#0D5018 #0D2350 #500D45 #50390D
square
#0D5018 #0D2350 #500D45 #50390D
split-complementary
#0D5018 #390D50 #500D23
monochromatic
#041A08 #041B08 #0D5018 #168528 #1EB938

Accessibility & contrast

On white

9.64
#0D5018 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#0D5018 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D5018
9.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D5018#FFFFFF#000000##FFFFFF
##0D50181.009.642.189.64
#FFFFFF9.641.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#514811
Deuteranopia (green-blind)
#4A431D
Tritanopia (blue-blind)
#004E44
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #0d5018;
/* rgb */ color: rgb(13, 80, 24);
/* oklch */ color: oklch(37.8% 0.109 145.3);
Tailwind
colors: {
  custom: {
    50: '#598257',
    500: '#0d5018',
    950: '#000000',
  },
}
SCSS
$custom: #0d5018;
$custom-light: #598257;
$custom-dark: #000000;
JSON
{
  "hex": "#0d5018",
  "rgb": {
    "r": 13,
    "g": 80,
    "b": 24
  },
  "hsl": {
    "h": 129.851,
    "s": 72.043,
    "l": 18.235
  },
  "oklch": {
    "l": 0.37811,
    "c": 0.1086,
    "h": 145.3
  },
  "luminance": 0.05889
}

Semantic roles & 50–950 ramp

primary
#0D5018
secondary
#8B2E7C
accent
#39D1EF
background
#F5F8F5
surface
#E9EFE9
border
#C5CAC5
text
#040A03
muted
#797C78

Preview Lab

Preview with #0D5018

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

Preview Lab → · Contrast checker → · Palette generator →

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