#0D5E12#0D5E12

#0D5E12 is a dark, vivid green. Relative luminance 0.081; OKLCH L 42.1% C 0.131 H 143.4°. Best body text is #FFFFFF at 7.99:1 contrast (WCAG AA passes).

Color values

HEX#0D5E12
RGBrgb(13, 94, 18)
HSLhsl(124, 76%, 21%)
HSVhsv(124, 86%, 37%)
CMYKcmyk(86.2%, 0%, 80.9%, 63.1%)
CIE-LABlab(34.26, -38.79, 34.63)
CIE-LCHlch(34.26, 52.00, 138.24°)
OKLaboklab(42.06% -0.105 0.078)
OKLCHoklch(42.06% 0.131 143.4)
XYZxyz(4.2776, 8.1341, 1.9167)
Luminance0.0814 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D5E12 #5E0D59
analogous
#305E0D #0D5E12 #0D5E3A
triadic
#0D5E12 #120D5E #5E120D
tetradic
#0D5E12 #0D305E #5E0D59 #5E3A0D
square
#0D5E12 #0D305E #5E0D59 #5E3A0D
split-complementary
#0D5E12 #3A0D5E #5E0D30
monochromatic
#041B05 #062808 #0D5E12 #14941C #1CCA27

Accessibility & contrast

On white

7.99
#0D5E12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#0D5E12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D5E12
7.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D5E12#FFFFFF#000000##FFFFFF
##0D5E121.007.992.637.99
#FFFFFF7.991.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#605403
Deuteranopia (green-blind)
#574E1A
Tritanopia (blue-blind)
#005B50
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #0d5e12;
/* rgb */ color: rgb(13, 94, 18);
/* oklch */ color: oklch(42.1% 0.131 143.4);
Tailwind
colors: {
  custom: {
    50: '#5e8d56',
    500: '#0d5e12',
    950: '#000000',
  },
}
SCSS
$custom: #0d5e12;
$custom-light: #5e8d56;
$custom-dark: #000000;
JSON
{
  "hex": "#0d5e12",
  "rgb": {
    "r": 13,
    "g": 94,
    "b": 18
  },
  "hsl": {
    "h": 123.704,
    "s": 75.701,
    "l": 20.98
  },
  "oklch": {
    "l": 0.4206,
    "c": 0.13084,
    "h": 143.4
  },
  "luminance": 0.08135
}

Semantic roles & 50–950 ramp

primary
#0D5E12
secondary
#982F92
accent
#36E7F2
background
#F5F8F5
surface
#EAF0E9
border
#C6CBC5
text
#050C03
muted
#797D78

Preview Lab

Preview with #0D5E12

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

Preview Lab → · Contrast checker → · Palette generator →

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