#0D5412#0D5412

#0D5412 is a dark, moderate green. Relative luminance 0.065; OKLCH L 39.0% C 0.118 H 143.7°. Best body text is #FFFFFF at 9.15:1 contrast (WCAG AA passes).

Color values

HEX#0D5412
RGBrgb(13, 84, 18)
HSLhsl(124, 73%, 19%)
HSVhsv(124, 85%, 33%)
CMYKcmyk(84.5%, 0%, 78.6%, 67.1%)
CIE-LABlab(30.57, -35.25, 30.90)
CIE-LCHlch(30.57, 46.88, 138.76°)
OKLaboklab(38.99% -0.0954 0.0702)
OKLCHoklch(38.99% 0.118 143.7)
XYZxyz(3.4453, 6.4695, 1.6393)
Luminance0.0647 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D5412 #540D4F
analogous
#2C540D #0D5412 #0D5436
triadic
#0D5412 #120D54 #54120D
tetradic
#0D5412 #0D2C54 #540D4F #54360D
square
#0D5412 #0D2C54 #540D4F #54360D
split-complementary
#0D5412 #360D54 #540D2C
monochromatic
#041A06 #051F07 #0D5412 #15891D #1DBE29

Accessibility & contrast

On white

9.15
#0D5412 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#0D5412 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D5412
9.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D5412#FFFFFF#000000##FFFFFF
##0D54121.009.152.299.15
#FFFFFF9.151.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#564B07
Deuteranopia (green-blind)
#4E4619
Tritanopia (blue-blind)
#005147
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #0d5412;
/* rgb */ color: rgb(13, 84, 18);
/* oklch */ color: oklch(39.0% 0.118 143.7);
Tailwind
colors: {
  custom: {
    50: '#5b8554',
    500: '#0d5412',
    950: '#000000',
  },
}
SCSS
$custom: #0d5412;
$custom-light: #5b8554;
$custom-dark: #000000;
JSON
{
  "hex": "#0d5412",
  "rgb": {
    "r": 13,
    "g": 84,
    "b": 18
  },
  "hsl": {
    "h": 124.225,
    "s": 73.196,
    "l": 19.02
  },
  "oklch": {
    "l": 0.38988,
    "c": 0.11847,
    "h": 143.7
  },
  "luminance": 0.0647
}

Semantic roles & 50–950 ramp

primary
#0D5412
secondary
#8F2E88
accent
#38E3F0
background
#F5F8F5
surface
#E9EFE9
border
#C5CAC5
text
#040B03
muted
#797C78

Preview Lab

Preview with #0D5412

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

Preview Lab → · Contrast checker → · Palette generator →

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