#0D5815#0D5815

#0D5815 is a dark, vivid green. Relative luminance 0.071; OKLCH L 40.3% C 0.121 H 144.1°. Best body text is #FFFFFF at 8.66:1 contrast (WCAG AA passes).

Color values

HEX#0D5815
RGBrgb(13, 88, 21)
HSLhsl(126, 74%, 20%)
HSVhsv(126, 85%, 35%)
CMYKcmyk(85.2%, 0%, 76.1%, 65.5%)
CIE-LABlab(32.08, -36.39, 31.16)
CIE-LCHlch(32.08, 47.91, 139.43°)
OKLaboklab(40.25% -0.0984 0.0712)
OKLCHoklch(40.25% 0.121 144.1)
XYZxyz(3.7908, 7.1187, 1.8836)
Luminance0.0712 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D5815 #580D50
analogous
#2B580D #0D5815 #0D583B
triadic
#0D5815 #150D58 #58150D
tetradic
#0D5815 #0D2B58 #580D50 #583B0D
square
#0D5815 #0D2B58 #580D50 #583B0D
split-complementary
#0D5815 #3B0D58 #580D2B
monochromatic
#041B06 #052308 #0D5815 #158D22 #1DC32E

Accessibility & contrast

On white

8.66
#0D5815 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#0D5815 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D5815
8.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D5815#FFFFFF#000000##FFFFFF
##0D58151.008.662.428.66
#FFFFFF8.661.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A4F0A
Deuteranopia (green-blind)
#52491C
Tritanopia (blue-blind)
#00554B
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #0d5815;
/* rgb */ color: rgb(13, 88, 21);
/* oklch */ color: oklch(40.3% 0.121 144.1);
Tailwind
colors: {
  custom: {
    50: '#5c8857',
    500: '#0d5815',
    950: '#000000',
  },
}
SCSS
$custom: #0d5815;
$custom-light: #5c8857;
$custom-dark: #000000;
JSON
{
  "hex": "#0d5815",
  "rgb": {
    "r": 13,
    "g": 88,
    "b": 21
  },
  "hsl": {
    "h": 126.4,
    "s": 74.257,
    "l": 19.804
  },
  "oklch": {
    "l": 0.4025,
    "c": 0.12144,
    "h": 144.1
  },
  "luminance": 0.07119
}

Semantic roles & 50–950 ramp

primary
#0D5815
secondary
#932E88
accent
#37DDF1
background
#F5F8F5
surface
#E9F0E9
border
#C5CBC5
text
#050B03
muted
#797C78

Preview Lab

Preview with #0D5815

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

Preview Lab → · Contrast checker → · Palette generator →

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