#0D5515#0D5515

#0D5515 is a dark, moderate green. Relative luminance 0.066; OKLCH L 39.3% C 0.118 H 144.2°. Best body text is #FFFFFF at 9.02:1 contrast (WCAG AA passes).

Color values

HEX#0D5515
RGBrgb(13, 85, 21)
HSLhsl(127, 73%, 19%)
HSVhsv(127, 85%, 33%)
CMYKcmyk(84.7%, 0%, 75.3%, 66.7%)
CIE-LABlab(30.96, -35.30, 29.99)
CIE-LCHlch(30.96, 46.32, 139.65°)
OKLaboklab(39.33% -0.0954 0.0687)
OKLCHoklch(39.33% 0.118 144.2)
XYZxyz(3.5496, 6.6363, 1.8032)
Luminance0.0664 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D5515 #550D4D
analogous
#29550D #0D5515 #0D5539
triadic
#0D5515 #150D55 #55150D
tetradic
#0D5515 #0D2955 #550D4D #55390D
square
#0D5515 #0D2955 #550D4D #55390D
split-complementary
#0D5515 #390D55 #550D29
monochromatic
#041B07 #052008 #0D5515 #158A22 #1DBF2F

Accessibility & contrast

On white

9.02
#0D5515 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#0D5515 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D5515
9.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D5515#FFFFFF#000000##FFFFFF
##0D55151.009.022.339.02
#FFFFFF9.021.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#574C0B
Deuteranopia (green-blind)
#4F471B
Tritanopia (blue-blind)
#005248
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #0d5515;
/* rgb */ color: rgb(13, 85, 21);
/* oklch */ color: oklch(39.3% 0.118 144.2);
Tailwind
colors: {
  custom: {
    50: '#5b8656',
    500: '#0d5515',
    950: '#000000',
  },
}
SCSS
$custom: #0d5515;
$custom-light: #5b8656;
$custom-dark: #000000;
JSON
{
  "hex": "#0d5515",
  "rgb": {
    "r": 13,
    "g": 85,
    "b": 21
  },
  "hsl": {
    "h": 126.667,
    "s": 73.469,
    "l": 19.216
  },
  "oklch": {
    "l": 0.39326,
    "c": 0.1176,
    "h": 144.2
  },
  "luminance": 0.06637
}

Semantic roles & 50–950 ramp

primary
#0D5515
secondary
#902E85
accent
#38DCF0
background
#F5F8F5
surface
#E9EFE9
border
#C5CAC5
text
#040B03
muted
#797C78

Preview Lab

Preview with #0D5515

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

Preview Lab → · Contrast checker → · Palette generator →

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