#0D5019#0D5019

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

Color values

HEX#0D5019
RGBrgb(13, 80, 25)
HSLhsl(131, 72%, 18%)
HSVhsv(131, 84%, 31%)
CMYKcmyk(83.7%, 0%, 68.8%, 68.6%)
CIE-LABlab(29.14, -32.95, 26.06)
CIE-LCHlch(29.14, 42.01, 141.66°)
OKLaboklab(37.82% -0.0888 0.0609)
OKLCHoklch(37.82% 0.108 145.6)
XYZxyz(3.2099, 5.8927, 1.8877)
Luminance0.0589 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D5019 #500D44
analogous
#22500D #0D5019 #0D503A
triadic
#0D5019 #190D50 #50190D
tetradic
#0D5019 #0D2250 #500D44 #503A0D
square
#0D5019 #0D2250 #500D44 #503A0D
split-complementary
#0D5019 #3A0D50 #500D22
monochromatic
#041A08 #041B09 #0D5019 #168529 #1EB93A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##0D5019#FFFFFF#000000##FFFFFF
##0D50191.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)
#514813
Deuteranopia (green-blind)
#4A431E
Tritanopia (blue-blind)
#004E44
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #0d5019;
/* rgb */ color: rgb(13, 80, 25);
/* oklch */ color: oklch(37.8% 0.108 145.6);
Tailwind
colors: {
  custom: {
    50: '#598258',
    500: '#0d5019',
    950: '#000000',
  },
}
SCSS
$custom: #0d5019;
$custom-light: #598258;
$custom-dark: #000000;
JSON
{
  "hex": "#0d5019",
  "rgb": {
    "r": 13,
    "g": 80,
    "b": 25
  },
  "hsl": {
    "h": 130.746,
    "s": 72.043,
    "l": 18.235
  },
  "oklch": {
    "l": 0.37824,
    "c": 0.10773,
    "h": 145.6
  },
  "luminance": 0.05893
}

Semantic roles & 50–950 ramp

primary
#0D5019
secondary
#8B2E7A
accent
#39CEEF
background
#F5F8F5
surface
#E9EFE9
border
#C5CAC5
text
#040A03
muted
#797C78

Preview Lab

Preview with #0D5019

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

Preview Lab → · Contrast checker → · Palette generator →

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