#0D6015#0D6015

#0D6015 is a dark, vivid green. Relative luminance 0.085; OKLCH L 42.7% C 0.131 H 143.8°. Best body text is #FFFFFF at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#0D6015
RGBrgb(13, 96, 21)
HSLhsl(126, 76%, 21%)
HSVhsv(126, 86%, 38%)
CMYKcmyk(86.5%, 0%, 78.1%, 62.4%)
CIE-LABlab(35.01, -39.22, 34.19)
CIE-LCHlch(35.01, 52.03, 138.91°)
OKLaboklab(42.69% -0.1061 0.0775)
OKLCHoklch(42.69% 0.131 143.8)
XYZxyz(4.4839, 8.5049, 2.1146)
Luminance0.0851 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D6015 #600D58
analogous
#2F600D #0D6015 #0D603F
triadic
#0D6015 #150D60 #60150D
tetradic
#0D6015 #0D2F60 #600D58 #603F0D
square
#0D6015 #0D2F60 #600D58 #603F0D
split-complementary
#0D6015 #3F0D60 #600D2F
monochromatic
#041B06 #062A09 #0D6015 #149621 #1CCC2D

Accessibility & contrast

On white

7.77
#0D6015 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#0D6015 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D6015
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D6015#FFFFFF#000000##FFFFFF
##0D60151.007.772.707.77
#FFFFFF7.771.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#625607
Deuteranopia (green-blind)
#59501D
Tritanopia (blue-blind)
#005D51
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #0d6015;
/* rgb */ color: rgb(13, 96, 21);
/* oklch */ color: oklch(42.7% 0.131 143.8);
Tailwind
colors: {
  custom: {
    50: '#5e8e58',
    500: '#0d6015',
    950: '#000000',
  },
}
SCSS
$custom: #0d6015;
$custom-light: #5e8e58;
$custom-dark: #000000;
JSON
{
  "hex": "#0d6015",
  "rgb": {
    "r": 13,
    "g": 96,
    "b": 21
  },
  "hsl": {
    "h": 125.783,
    "s": 76.147,
    "l": 21.373
  },
  "oklch": {
    "l": 0.42693,
    "c": 0.13138,
    "h": 143.8
  },
  "luminance": 0.08505
}

Semantic roles & 50–950 ramp

primary
#0D6015
secondary
#9A2F90
accent
#35E0F3
background
#F5F8F5
surface
#EAF0E9
border
#C6CBC5
text
#050C03
muted
#797D78

Preview Lab

Preview with #0D6015

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

Preview Lab → · Contrast checker → · Palette generator →

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