#0D5F1C#0D5F1C

#0D5F1C is a dark, vivid green. Relative luminance 0.084; OKLCH L 42.5% C 0.125 H 145.3°. Best body text is #FFFFFF at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#0D5F1C
RGBrgb(13, 95, 28)
HSLhsl(131, 76%, 21%)
HSVhsv(131, 86%, 37%)
CMYKcmyk(86.3%, 0%, 70.5%, 62.7%)
CIE-LABlab(34.71, -38.12, 30.77)
CIE-LCHlch(34.71, 48.99, 141.09°)
OKLaboklab(42.46% -0.1028 0.0713)
OKLCHoklch(42.46% 0.125 145.3)
XYZxyz(4.4675, 8.3533, 2.4753)
Luminance0.0835 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D5F1C #5F0D50
analogous
#275F0D #0D5F1C #0D5F45
triadic
#0D5F1C #1C0D5F #5F1C0D
tetradic
#0D5F1C #0D275F #5F0D50 #5F450D
square
#0D5F1C #0D275F #5F0D50 #5F450D
split-complementary
#0D5F1C #450D5F #5F0D27
monochromatic
#041B08 #06290C #0D5F1C #14952C #1CCB3C

Accessibility & contrast

On white

7.86
#0D5F1C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#0D5F1C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D5F1C
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D5F1C#FFFFFF#000000##FFFFFF
##0D5F1C1.007.862.677.86
#FFFFFF7.861.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#615513
Deuteranopia (green-blind)
#584F22
Tritanopia (blue-blind)
#005C51
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #0d5f1c;
/* rgb */ color: rgb(13, 95, 28);
/* oklch */ color: oklch(42.5% 0.125 145.3);
Tailwind
colors: {
  custom: {
    50: '#5d8d5c',
    500: '#0d5f1c',
    950: '#000000',
  },
}
SCSS
$custom: #0d5f1c;
$custom-light: #5d8d5c;
$custom-dark: #000000;
JSON
{
  "hex": "#0d5f1c",
  "rgb": {
    "r": 13,
    "g": 95,
    "b": 28
  },
  "hsl": {
    "h": 130.976,
    "s": 75.926,
    "l": 21.176
  },
  "oklch": {
    "l": 0.42458,
    "c": 0.12506,
    "h": 145.3
  },
  "luminance": 0.08354
}

Semantic roles & 50–950 ramp

primary
#0D5F1C
secondary
#992F86
accent
#35D0F3
background
#F5F8F5
surface
#EAF0E9
border
#C6CBC5
text
#050C04
muted
#797D79

Preview Lab

Preview with #0D5F1C

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

Preview Lab → · Contrast checker → · Palette generator →

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