#0D5119#0D5119

#0D5119 is a dark, moderate green. Relative luminance 0.060; OKLCH L 38.1% C 0.109 H 145.5°. Best body text is #FFFFFF at 9.51:1 contrast (WCAG AA passes).

Color values

HEX#0D5119
RGBrgb(13, 81, 25)
HSLhsl(131, 72%, 18%)
HSVhsv(131, 84%, 32%)
CMYKcmyk(84%, 0%, 69.1%, 68.2%)
CIE-LABlab(29.51, -33.33, 26.48)
CIE-LCHlch(29.51, 42.58, 141.53°)
OKLaboklab(38.13% -0.0899 0.0618)
OKLCHoklch(38.13% 0.109 145.5)
XYZxyz(3.2836, 6.0402, 1.9123)
Luminance0.0604 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D5119 #510D45
analogous
#23510D #0D5119 #0D513B
triadic
#0D5119 #190D51 #51190D
tetradic
#0D5119 #0D2351 #510D45 #513B0D
square
#0D5119 #0D2351 #510D45 #513B0D
split-complementary
#0D5119 #3B0D51 #510D23
monochromatic
#041A08 #051C09 #0D5119 #158629 #1EBA3A

Accessibility & contrast

On white

9.51
#0D5119 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#0D5119 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D5119
9.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D5119#FFFFFF#000000##FFFFFF
##0D51191.009.512.219.51
#FFFFFF9.511.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#524912
Deuteranopia (green-blind)
#4B431E
Tritanopia (blue-blind)
#004F45
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #0d5119;
/* rgb */ color: rgb(13, 81, 25);
/* oklch */ color: oklch(38.1% 0.109 145.5);
Tailwind
colors: {
  custom: {
    50: '#598358',
    500: '#0d5119',
    950: '#000000',
  },
}
SCSS
$custom: #0d5119;
$custom-light: #598358;
$custom-dark: #000000;
JSON
{
  "hex": "#0d5119",
  "rgb": {
    "r": 13,
    "g": 81,
    "b": 25
  },
  "hsl": {
    "h": 130.588,
    "s": 72.34,
    "l": 18.431
  },
  "oklch": {
    "l": 0.38134,
    "c": 0.10909,
    "h": 145.5
  },
  "luminance": 0.06041
}

Semantic roles & 50–950 ramp

primary
#0D5119
secondary
#8C2E7B
accent
#39CFEF
background
#F5F8F5
surface
#E9EFE9
border
#C5CAC5
text
#040A03
muted
#797C78

Preview Lab

Preview with #0D5119

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

Preview Lab → · Contrast checker → · Palette generator →

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