#0D5F1B#0D5F1B

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

Color values

HEX#0D5F1B
RGBrgb(13, 95, 27)
HSLhsl(130, 76%, 21%)
HSVhsv(130, 86%, 37%)
CMYKcmyk(86.3%, 0%, 71.6%, 62.7%)
CIE-LABlab(34.70, -38.24, 31.23)
CIE-LCHlch(34.70, 49.37, 140.76°)
OKLaboklab(42.45% -0.1031 0.0721)
OKLCHoklch(42.45% 0.126 145)
XYZxyz(4.4557, 8.3486, 2.4133)
Luminance0.0835 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D5F1B #5F0D51
analogous
#285F0D #0D5F1B #0D5F44
triadic
#0D5F1B #1B0D5F #5F1B0D
tetradic
#0D5F1B #0D285F #5F0D51 #5F440D
square
#0D5F1B #0D285F #5F0D51 #5F440D
split-complementary
#0D5F1B #440D5F #5F0D28
monochromatic
#041B08 #06290C #0D5F1B #14952A #1CCB3A

Accessibility & contrast

On white

7.87
#0D5F1B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0D5F1B
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D5F1B#FFFFFF#000000##FFFFFF
##0D5F1B1.007.872.677.87
#FFFFFF7.871.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.871.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0d5f1b;
/* rgb */ color: rgb(13, 95, 27);
/* oklch */ color: oklch(42.4% 0.126 145.0);
Tailwind
colors: {
  custom: {
    50: '#5e8d5b',
    500: '#0d5f1b',
    950: '#000000',
  },
}
SCSS
$custom: #0d5f1b;
$custom-light: #5e8d5b;
$custom-dark: #000000;
JSON
{
  "hex": "#0d5f1b",
  "rgb": {
    "r": 13,
    "g": 95,
    "b": 27
  },
  "hsl": {
    "h": 130.244,
    "s": 75.926,
    "l": 21.176
  },
  "oklch": {
    "l": 0.42447,
    "c": 0.12585,
    "h": 145
  },
  "luminance": 0.08349
}

Semantic roles & 50–950 ramp

primary
#0D5F1B
secondary
#992F87
accent
#35D2F3
background
#F5F8F5
surface
#EAF0E9
border
#C6CBC5
text
#050C04
muted
#797D79

Preview Lab

Preview with #0D5F1B

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

Preview Lab → · Contrast checker → · Palette generator →

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