#0D5F15#0D5F15

#0D5F15 is a dark, vivid green. Relative luminance 0.083; OKLCH L 42.4% C 0.130 H 143.9°. Best body text is #FFFFFF at 7.88:1 contrast (WCAG AA passes).

Color values

HEX#0D5F15
RGBrgb(13, 95, 21)
HSLhsl(126, 76%, 21%)
HSVhsv(126, 86%, 37%)
CMYKcmyk(86.3%, 0%, 77.9%, 62.7%)
CIE-LABlab(34.65, -38.87, 33.82)
CIE-LCHlch(34.65, 51.53, 138.97°)
OKLaboklab(42.39% -0.1051 0.0768)
OKLCHoklch(42.39% 0.13 143.9)
XYZxyz(4.3932, 8.3236, 2.0844)
Luminance0.0832 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D5F15 #5F0D57
analogous
#2E5F0D #0D5F15 #0D5F3E
triadic
#0D5F15 #150D5F #5F150D
tetradic
#0D5F15 #0D2E5F #5F0D57 #5F3E0D
square
#0D5F15 #0D2E5F #5F0D57 #5F3E0D
split-complementary
#0D5F15 #3E0D5F #5F0D2E
monochromatic
#041B06 #062909 #0D5F15 #149521 #1CCB2D

Accessibility & contrast

On white

7.88
#0D5F15 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#0D5F15 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D5F15
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D5F15#FFFFFF#000000##FFFFFF
##0D5F151.007.882.667.88
#FFFFFF7.881.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#615508
Deuteranopia (green-blind)
#584F1D
Tritanopia (blue-blind)
#005C51
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #0d5f15;
/* rgb */ color: rgb(13, 95, 21);
/* oklch */ color: oklch(42.4% 0.130 143.9);
Tailwind
colors: {
  custom: {
    50: '#5e8d58',
    500: '#0d5f15',
    950: '#000000',
  },
}
SCSS
$custom: #0d5f15;
$custom-light: #5e8d58;
$custom-dark: #000000;
JSON
{
  "hex": "#0d5f15",
  "rgb": {
    "r": 13,
    "g": 95,
    "b": 21
  },
  "hsl": {
    "h": 125.854,
    "s": 75.926,
    "l": 21.176
  },
  "oklch": {
    "l": 0.42389,
    "c": 0.13016,
    "h": 143.9
  },
  "luminance": 0.08324
}

Semantic roles & 50–950 ramp

primary
#0D5F15
secondary
#992F8F
accent
#35E0F3
background
#F5F8F5
surface
#EAF0E9
border
#C6CBC5
text
#050C03
muted
#797D78

Preview Lab

Preview with #0D5F15

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

Preview Lab → · Contrast checker → · Palette generator →

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