#0D4A12#0D4A12

#0D4A12 is a dark, moderate green. Relative luminance 0.050; OKLCH L 35.9% C 0.105 H 144.0°. Best body text is #FFFFFF at 10.47:1 contrast (WCAG AA passes).

Color values

HEX#0D4A12
RGBrgb(13, 74, 18)
HSLhsl(125, 70%, 17%)
HSVhsv(125, 82%, 29%)
CMYKcmyk(82.4%, 0%, 75.7%, 71%)
CIE-LABlab(26.81, -31.52, 26.97)
CIE-LCHlch(26.81, 41.48, 139.45°)
OKLaboklab(35.87% -0.0853 0.062)
OKLCHoklch(35.87% 0.105 144)
XYZxyz(2.7238, 5.0265, 1.3988)
Luminance0.0503 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D4A12 #4A0D45
analogous
#274A0D #0D4A12 #0D4A31
triadic
#0D4A12 #120D4A #4A120D
tetradic
#0D4A12 #0D274A #4A0D45 #4A310D
square
#0D4A12 #0D274A #4A0D45 #4A310D
split-complementary
#0D4A12 #310D4A #4A0D27
monochromatic
#051A06 #051A06 #0D4A12 #167E1F #1FB22B

Accessibility & contrast

On white

10.47
#0D4A12 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#0D4A12 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D4A12
10.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D4A12#FFFFFF#000000##FFFFFF
##0D4A121.0010.472.0110.47
#FFFFFF10.471.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C420A
Deuteranopia (green-blind)
#453E17
Tritanopia (blue-blind)
#00483F
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #0d4a12;
/* rgb */ color: rgb(13, 74, 18);
/* oklch */ color: oklch(35.9% 0.105 144.0);
Tailwind
colors: {
  custom: {
    50: '#587d53',
    500: '#0d4a12',
    950: '#000000',
  },
}
SCSS
$custom: #0d4a12;
$custom-light: #587d53;
$custom-dark: #000000;
JSON
{
  "hex": "#0d4a12",
  "rgb": {
    "r": 13,
    "g": 74,
    "b": 18
  },
  "hsl": {
    "h": 124.918,
    "s": 70.115,
    "l": 17.059
  },
  "oklch": {
    "l": 0.35867,
    "c": 0.10543,
    "h": 144
  },
  "luminance": 0.05027
}

Semantic roles & 50–950 ramp

primary
#0D4A12
secondary
#852E7E
accent
#3BDEED
background
#F5F7F4
surface
#E9EEE7
border
#C5C9C3
text
#040A02
muted
#797C78

Preview Lab

Preview with #0D4A12

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

Preview Lab → · Contrast checker → · Palette generator →

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