#0D401E#0D401E

#0D401E is a dark, moderate green. Relative luminance 0.038; OKLCH L 32.9% C 0.079 H 150.3°. Best body text is #FFFFFF at 11.87:1 contrast (WCAG AA passes).

Color values

HEX#0D401E
RGBrgb(13, 64, 30)
HSLhsl(140, 66%, 15%)
HSVhsv(140, 80%, 25%)
CMYKcmyk(79.7%, 0%, 53.1%, 74.9%)
CIE-LABlab(23.16, -25.56, 16.07)
CIE-LCHlch(23.16, 30.19, 147.84°)
OKLaboklab(32.89% -0.0688 0.0393)
OKLCHoklch(32.89% 0.079 150.3)
XYZxyz(2.2335, 3.8458, 1.8527)
Luminance0.0385 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D401E #400D2F
analogous
#15400D #0D401E #0D4037
triadic
#0D401E #1E0D40 #401E0D
tetradic
#0D401E #0D1540 #400D2F #40370D
square
#0D401E #0D1540 #400D2F #40370D
split-complementary
#0D401E #370D40 #400D15
monochromatic
#05190C #05190C #0D401E #177336 #22A64E

Accessibility & contrast

On white

11.87
#0D401E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0D401E
11.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D401E#FFFFFF#000000##FFFFFF
##0D401E1.0011.871.7711.87
#FFFFFF11.871.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.871.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0d401e;
/* rgb */ color: rgb(13, 64, 30);
/* oklch */ color: oklch(32.9% 0.079 150.3);
Tailwind
colors: {
  custom: {
    50: '#54755a',
    500: '#0d401e',
    950: '#000000',
  },
}
SCSS
$custom: #0d401e;
$custom-light: #54755a;
$custom-dark: #000000;
JSON
{
  "hex": "#0d401e",
  "rgb": {
    "r": 13,
    "g": 64,
    "b": 30
  },
  "hsl": {
    "h": 140,
    "s": 66.234,
    "l": 15.098
  },
  "oklch": {
    "l": 0.32891,
    "c": 0.07925,
    "h": 150.3
  },
  "luminance": 0.03846
}

Semantic roles & 50–950 ramp

primary
#0D401E
secondary
#7C2D61
accent
#3FB0E9
background
#F5F7F5
surface
#E9EDE9
border
#C5C8C5
text
#030804
muted
#787B79

Preview Lab

Preview with #0D401E

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

Preview Lab → · Contrast checker → · Palette generator →

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