#0D4112#0D4112

#0D4112 is a dark, moderate green. Relative luminance 0.039; OKLCH L 33.0% C 0.093 H 144.5°. Best body text is #FFFFFF at 11.78:1 contrast (WCAG AA passes).

Color values

HEX#0D4112
RGBrgb(13, 65, 18)
HSLhsl(126, 67%, 15%)
HSVhsv(126, 80%, 25%)
CMYKcmyk(80%, 0%, 72.3%, 74.5%)
CIE-LABlab(23.37, -27.96, 23.22)
CIE-LCHlch(23.37, 36.34, 140.29°)
OKLaboklab(33.01% -0.0756 0.054)
OKLCHoklch(33.01% 0.093 144.5)
XYZxyz(2.1653, 3.9096, 1.2127)
Luminance0.0391 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D4112 #410D3C
analogous
#22410D #0D4112 #0D412C
triadic
#0D4112 #120D41 #41120D
tetradic
#0D4112 #0D2241 #410D3C #412C0D
square
#0D4112 #0D2241 #410D3C #412C0D
split-complementary
#0D4112 #2C0D41 #410D22
monochromatic
#051A07 #051A07 #0D4112 #177420 #21A72E

Accessibility & contrast

On white

11.78
#0D4112 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#0D4112 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D4112
11.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D4112#FFFFFF#000000##FFFFFF
##0D41121.0011.781.7811.78
#FFFFFF11.781.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#423A0C
Deuteranopia (green-blind)
#3C3616
Tritanopia (blue-blind)
#003F37
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #0d4112;
/* rgb */ color: rgb(13, 65, 18);
/* oklch */ color: oklch(33.0% 0.093 144.5);
Tailwind
colors: {
  custom: {
    50: '#557652',
    500: '#0d4112',
    950: '#000000',
  },
}
SCSS
$custom: #0d4112;
$custom-light: #557652;
$custom-dark: #000000;
JSON
{
  "hex": "#0d4112",
  "rgb": {
    "r": 13,
    "g": 65,
    "b": 18
  },
  "hsl": {
    "h": 125.769,
    "s": 66.667,
    "l": 15.294
  },
  "oklch": {
    "l": 0.33014,
    "c": 0.09295,
    "h": 144.5
  },
  "luminance": 0.0391
}

Semantic roles & 50–950 ramp

primary
#0D4112
secondary
#7D2D75
accent
#3ED9EA
background
#F5F7F4
surface
#E9EDE7
border
#C5C8C3
text
#030802
muted
#787B78

Preview Lab

Preview with #0D4112

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

Preview Lab → · Contrast checker → · Palette generator →

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