#0D4A1F#0D4A1F

#0D4A1F is a dark, moderate green. Relative luminance 0.051; OKLCH L 36.0% C 0.093 H 148.6°. Best body text is #FFFFFF at 10.41:1 contrast (WCAG AA passes).

Color values

HEX#0D4A1F
RGBrgb(13, 74, 31)
HSLhsl(138, 70%, 17%)
HSVhsv(138, 82%, 29%)
CMYKcmyk(82.4%, 0%, 58.1%, 71%)
CIE-LABlab(26.97, -29.65, 20.22)
CIE-LCHlch(26.97, 35.89, 145.70°)
OKLaboklab(36.05% -0.0797 0.0487)
OKLCHoklch(36.05% 0.093 148.6)
XYZxyz(2.8619, 5.0817, 2.1261)
Luminance0.0508 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D4A1F #4A0D38
analogous
#1A4A0D #0D4A1F #0D4A3E
triadic
#0D4A1F #1F0D4A #4A1F0D
tetradic
#0D4A1F #0D1A4A #4A0D38 #4A3E0D
square
#0D4A1F #0D1A4A #4A0D38 #4A3E0D
split-complementary
#0D4A1F #3E0D4A #4A0D1A
monochromatic
#051A0B #051A0B #0D4A1F #167E35 #1FB24B

Accessibility & contrast

On white

10.41
#0D4A1F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#0D4A1F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D4A1F
10.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D4A1F#FFFFFF#000000##FFFFFF
##0D4A1F1.0010.412.0210.41
#FFFFFF10.411.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B431B
Deuteranopia (green-blind)
#443E22
Tritanopia (blue-blind)
#004840
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #0d4a1f;
/* rgb */ color: rgb(13, 74, 31);
/* oklch */ color: oklch(36.0% 0.093 148.6);
Tailwind
colors: {
  custom: {
    50: '#577d5c',
    500: '#0d4a1f',
    950: '#000000',
  },
}
SCSS
$custom: #0d4a1f;
$custom-light: #577d5c;
$custom-dark: #000000;
JSON
{
  "hex": "#0d4a1f",
  "rgb": {
    "r": 13,
    "g": 74,
    "b": 31
  },
  "hsl": {
    "h": 137.705,
    "s": 70.115,
    "l": 17.059
  },
  "oklch": {
    "l": 0.36047,
    "c": 0.09346,
    "h": 148.6
  },
  "luminance": 0.05082
}

Semantic roles & 50–950 ramp

primary
#0D4A1F
secondary
#852E6B
accent
#3BB8ED
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#040A04
muted
#797C79

Preview Lab

Preview with #0D4A1F

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

Preview Lab → · Contrast checker → · Palette generator →

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