#0D5F12#0D5F12

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

Color values

HEX#0D5F12
RGBrgb(13, 95, 18)
HSLhsl(124, 76%, 21%)
HSVhsv(124, 86%, 37%)
CMYKcmyk(86.3%, 0%, 81.1%, 62.7%)
CIE-LABlab(34.63, -39.13, 34.99)
CIE-LCHlch(34.63, 52.50, 138.20°)
OKLaboklab(42.36% -0.106 0.0788)
OKLCHoklch(42.36% 0.132 143.4)
XYZxyz(4.3671, 8.3131, 1.9466)
Luminance0.0831 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D5F12 #5F0D5A
analogous
#315F0D #0D5F12 #0D5F3B
triadic
#0D5F12 #120D5F #5F120D
tetradic
#0D5F12 #0D315F #5F0D5A #5F3B0D
square
#0D5F12 #0D315F #5F0D5A #5F3B0D
split-complementary
#0D5F12 #3B0D5F #5F0D31
monochromatic
#041B05 #062908 #0D5F12 #14951C #1CCB26

Accessibility & contrast

On white

7.89
#0D5F12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0D5F12
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D5F12#FFFFFF#000000##FFFFFF
##0D5F121.007.892.667.89
#FFFFFF7.891.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#615503
Deuteranopia (green-blind)
#584F1B
Tritanopia (blue-blind)
#005C50
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #0d5f12;
/* rgb */ color: rgb(13, 95, 18);
/* oklch */ color: oklch(42.4% 0.132 143.4);
Tailwind
colors: {
  custom: {
    50: '#5e8d56',
    500: '#0d5f12',
    950: '#000000',
  },
}
SCSS
$custom: #0d5f12;
$custom-light: #5e8d56;
$custom-dark: #000000;
JSON
{
  "hex": "#0d5f12",
  "rgb": {
    "r": 13,
    "g": 95,
    "b": 18
  },
  "hsl": {
    "h": 123.659,
    "s": 75.926,
    "l": 21.176
  },
  "oklch": {
    "l": 0.42364,
    "c": 0.13204,
    "h": 143.4
  },
  "luminance": 0.08314
}

Semantic roles & 50–950 ramp

primary
#0D5F12
secondary
#992F93
accent
#35E7F3
background
#F5F8F5
surface
#EAF0E9
border
#C6CBC5
text
#050C03
muted
#797D78

Preview Lab

Preview with #0D5F12

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

Preview Lab → · Contrast checker → · Palette generator →

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