#0D5F1A#0D5F1A

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

Color values

HEX#0D5F1A
RGBrgb(13, 95, 26)
HSLhsl(130, 76%, 21%)
HSVhsv(130, 86%, 37%)
CMYKcmyk(86.3%, 0%, 72.6%, 62.7%)
CIE-LABlab(34.69, -38.36, 31.68)
CIE-LCHlch(34.69, 49.75, 140.44°)
OKLaboklab(42.44% -0.1035 0.073)
OKLCHoklch(42.44% 0.127 144.8)
XYZxyz(4.4443, 8.3440, 2.3534)
Luminance0.0834 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D5F1A #5F0D52
analogous
#295F0D #0D5F1A #0D5F43
triadic
#0D5F1A #1A0D5F #5F1A0D
tetradic
#0D5F1A #0D295F #5F0D52 #5F430D
square
#0D5F1A #0D295F #5F0D52 #5F430D
split-complementary
#0D5F1A #430D5F #5F0D29
monochromatic
#041B07 #06290B #0D5F1A #149529 #1CCB37

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##0D5F1A#FFFFFF#000000##FFFFFF
##0D5F1A1.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)
#615510
Deuteranopia (green-blind)
#584F21
Tritanopia (blue-blind)
#005C51
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #0d5f1a;
/* rgb */ color: rgb(13, 95, 26);
/* oklch */ color: oklch(42.4% 0.127 144.8);
Tailwind
colors: {
  custom: {
    50: '#5e8d5a',
    500: '#0d5f1a',
    950: '#000000',
  },
}
SCSS
$custom: #0d5f1a;
$custom-light: #5e8d5a;
$custom-dark: #000000;
JSON
{
  "hex": "#0d5f1a",
  "rgb": {
    "r": 13,
    "g": 95,
    "b": 26
  },
  "hsl": {
    "h": 129.512,
    "s": 75.926,
    "l": 21.176
  },
  "oklch": {
    "l": 0.42437,
    "c": 0.12662,
    "h": 144.8
  },
  "luminance": 0.08345
}

Semantic roles & 50–950 ramp

primary
#0D5F1A
secondary
#992F88
accent
#35D5F3
background
#F5F8F5
surface
#EAF0E9
border
#C6CBC5
text
#050C04
muted
#797D79

Preview Lab

Preview with #0D5F1A

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

Preview Lab → · Contrast checker → · Palette generator →

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