#0D401F#0D401F

#0D401F is a dark, moderate green. Relative luminance 0.039; OKLCH L 32.9% C 0.078 H 150.9°. Best body text is #FFFFFF at 11.86:1 contrast (WCAG AA passes).

Color values

HEX#0D401F
RGBrgb(13, 64, 31)
HSLhsl(141, 66%, 15%)
HSVhsv(141, 80%, 25%)
CMYKcmyk(79.7%, 0%, 51.6%, 74.9%)
CIE-LABlab(23.17, -25.36, 15.47)
CIE-LCHlch(23.17, 29.70, 148.61°)
OKLaboklab(32.91% -0.0683 0.038)
OKLCHoklch(32.91% 0.078 150.9)
XYZxyz(2.2465, 3.8510, 1.9210)
Luminance0.0385 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D401F #400D2E
analogous
#15400D #0D401F #0D4038
triadic
#0D401F #1F0D40 #401F0D
tetradic
#0D401F #0D1540 #400D2E #40380D
square
#0D401F #0D1540 #400D2E #40380D
split-complementary
#0D401F #380D40 #400D15
monochromatic
#05190C #05190C #0D401F #177338 #22A650

Accessibility & contrast

On white

11.86
#0D401F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#0D401F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0D401F
11.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D401F#FFFFFF#000000##FFFFFF
##0D401F1.0011.861.7711.86
#FFFFFF11.861.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#403A1C
Deuteranopia (green-blind)
#3A3621
Tritanopia (blue-blind)
#003F38
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #0d401f;
/* rgb */ color: rgb(13, 64, 31);
/* oklch */ color: oklch(32.9% 0.078 150.9);
Tailwind
colors: {
  custom: {
    50: '#54755b',
    500: '#0d401f',
    950: '#000000',
  },
}
SCSS
$custom: #0d401f;
$custom-light: #54755b;
$custom-dark: #000000;
JSON
{
  "hex": "#0d401f",
  "rgb": {
    "r": 13,
    "g": 64,
    "b": 31
  },
  "hsl": {
    "h": 141.176,
    "s": 66.234,
    "l": 15.098
  },
  "oklch": {
    "l": 0.32911,
    "c": 0.07815,
    "h": 150.9
  },
  "luminance": 0.03851
}

Semantic roles & 50–950 ramp

primary
#0D401F
secondary
#7C2D60
accent
#3FADE9
background
#F5F7F5
surface
#E9EDE9
border
#C5C8C5
text
#030804
muted
#787B79

Preview Lab

Preview with #0D401F

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

Preview Lab → · Contrast checker → · Palette generator →

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