#0D4B1F#0D4B1F

#0D4B1F is a dark, moderate green. Relative luminance 0.052; OKLCH L 36.4% C 0.095 H 148.4°. Best body text is #FFFFFF at 10.28:1 contrast (WCAG AA passes).

Color values

HEX#0D4B1F
RGBrgb(13, 75, 31)
HSLhsl(137, 70%, 17%)
HSVhsv(137, 83%, 29%)
CMYKcmyk(82.7%, 0%, 58.7%, 70.6%)
CIE-LABlab(27.34, -30.06, 20.68)
CIE-LCHlch(27.34, 36.49, 145.47°)
OKLaboklab(36.36% -0.0808 0.0498)
OKLCHoklch(36.36% 0.095 148.4)
XYZxyz(2.9291, 5.2163, 2.1485)
Luminance0.0522 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D4B1F #4B0D39
analogous
#1A4B0D #0D4B1F #0D4B3E
triadic
#0D4B1F #1F0D4B #4B1F0D
tetradic
#0D4B1F #0D1A4B #4B0D39 #4B3E0D
square
#0D4B1F #0D1A4B #4B0D39 #4B3E0D
split-complementary
#0D4B1F #3E0D4B #4B0D1A
monochromatic
#051A0B #051A0B #0D4B1F #167F35 #1FB34A

Accessibility & contrast

On white

10.28
#0D4B1F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#0D4B1F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D4B1F
10.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D4B1F#FFFFFF#000000##FFFFFF
##0D4B1F1.0010.282.0410.28
#FFFFFF10.281.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C441B
Deuteranopia (green-blind)
#453F22
Tritanopia (blue-blind)
#004941
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #0d4b1f;
/* rgb */ color: rgb(13, 75, 31);
/* oklch */ color: oklch(36.4% 0.095 148.4);
Tailwind
colors: {
  custom: {
    50: '#577e5c',
    500: '#0d4b1f',
    950: '#000000',
  },
}
SCSS
$custom: #0d4b1f;
$custom-light: #577e5c;
$custom-dark: #000000;
JSON
{
  "hex": "#0d4b1f",
  "rgb": {
    "r": 13,
    "g": 75,
    "b": 31
  },
  "hsl": {
    "h": 137.419,
    "s": 70.455,
    "l": 17.255
  },
  "oklch": {
    "l": 0.36358,
    "c": 0.09493,
    "h": 148.4
  },
  "luminance": 0.05217
}

Semantic roles & 50–950 ramp

primary
#0D4B1F
secondary
#862E6C
accent
#3BB9ED
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#040A04
muted
#797C79

Preview Lab

Preview with #0D4B1F

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

Preview Lab → · Contrast checker → · Palette generator →

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