#0D4012#0D4012

#0D4012 is a dark, moderate green. Relative luminance 0.038; OKLCH L 32.7% C 0.092 H 144.5°. Best body text is #FFFFFF at 11.94:1 contrast (WCAG AA passes).

Color values

HEX#0D4012
RGBrgb(13, 64, 18)
HSLhsl(126, 66%, 15%)
HSVhsv(126, 80%, 25%)
CMYKcmyk(79.7%, 0%, 71.9%, 74.9%)
CIE-LABlab(22.98, -27.55, 22.78)
CIE-LCHlch(22.98, 35.75, 140.41°)
OKLaboklab(32.69% -0.0745 0.0531)
OKLCHoklch(32.69% 0.092 144.5)
XYZxyz(2.1084, 3.7958, 1.1937)
Luminance0.0380 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D4012 #400D3B
analogous
#22400D #0D4012 #0D402B
triadic
#0D4012 #120D40 #40120D
tetradic
#0D4012 #0D2240 #400D3B #402B0D
square
#0D4012 #0D2240 #400D3B #402B0D
split-complementary
#0D4012 #2B0D40 #400D22
monochromatic
#051907 #051907 #0D4012 #177320 #22A62F

Accessibility & contrast

On white

11.94
#0D4012 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#0D4012 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D4012
11.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D4012#FFFFFF#000000##FFFFFF
##0D40121.0011.941.7611.94
#FFFFFF11.941.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#41390D
Deuteranopia (green-blind)
#3B3516
Tritanopia (blue-blind)
#003E36
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #0d4012;
/* rgb */ color: rgb(13, 64, 18);
/* oklch */ color: oklch(32.7% 0.092 144.5);
Tailwind
colors: {
  custom: {
    50: '#557552',
    500: '#0d4012',
    950: '#000000',
  },
}
SCSS
$custom: #0d4012;
$custom-light: #557552;
$custom-dark: #000000;
JSON
{
  "hex": "#0d4012",
  "rgb": {
    "r": 13,
    "g": 64,
    "b": 18
  },
  "hsl": {
    "h": 125.882,
    "s": 66.234,
    "l": 15.098
  },
  "oklch": {
    "l": 0.32694,
    "c": 0.09151,
    "h": 144.5
  },
  "luminance": 0.03796
}

Semantic roles & 50–950 ramp

primary
#0D4012
secondary
#7C2D74
accent
#3FD8E9
background
#F5F7F4
surface
#E9EDE7
border
#C5C8C3
text
#030802
muted
#787B78

Preview Lab

Preview with #0D4012

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

Preview Lab → · Contrast checker → · Palette generator →

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