#0D4F12#0D4F12

#0D4F12 is a dark, moderate green. Relative luminance 0.057; OKLCH L 37.4% C 0.112 H 143.8°. Best body text is #FFFFFF at 9.79:1 contrast (WCAG AA passes).

Color values

HEX#0D4F12
RGBrgb(13, 79, 18)
HSLhsl(125, 72%, 18%)
HSVhsv(125, 84%, 31%)
CMYKcmyk(83.5%, 0%, 77.2%, 69%)
CIE-LABlab(28.70, -33.41, 28.96)
CIE-LCHlch(28.70, 44.22, 139.08°)
OKLaboklab(37.43% -0.0904 0.0662)
OKLCHoklch(37.43% 0.112 143.8)
XYZxyz(3.0709, 5.7208, 1.5145)
Luminance0.0572 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D4F12 #4F0D4A
analogous
#294F0D #0D4F12 #0D4F33
triadic
#0D4F12 #120D4F #4F120D
tetradic
#0D4F12 #0D294F #4F0D4A #4F330D
square
#0D4F12 #0D294F #4F0D4A #4F330D
split-complementary
#0D4F12 #330D4F #4F0D29
monochromatic
#041A06 #041A06 #0D4F12 #16841E #1EB82A

Accessibility & contrast

On white

9.79
#0D4F12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#0D4F12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D4F12
9.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D4F12#FFFFFF#000000##FFFFFF
##0D4F121.009.792.149.79
#FFFFFF9.791.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#514709
Deuteranopia (green-blind)
#494218
Tritanopia (blue-blind)
#004D43
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #0d4f12;
/* rgb */ color: rgb(13, 79, 18);
/* oklch */ color: oklch(37.4% 0.112 143.8);
Tailwind
colors: {
  custom: {
    50: '#598154',
    500: '#0d4f12',
    950: '#000000',
  },
}
SCSS
$custom: #0d4f12;
$custom-light: #598154;
$custom-dark: #000000;
JSON
{
  "hex": "#0d4f12",
  "rgb": {
    "r": 13,
    "g": 79,
    "b": 18
  },
  "hsl": {
    "h": 124.545,
    "s": 71.739,
    "l": 18.039
  },
  "oklch": {
    "l": 0.37434,
    "c": 0.11204,
    "h": 143.8
  },
  "luminance": 0.05721
}

Semantic roles & 50–950 ramp

primary
#0D4F12
secondary
#8A2E83
accent
#39E1EE
background
#F5F7F4
surface
#E9EEE8
border
#C5C9C4
text
#040A03
muted
#797C78

Preview Lab

Preview with #0D4F12

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

Preview Lab → · Contrast checker → · Palette generator →

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