#0D401B#0D401B

#0D401B is a dark, moderate green. Relative luminance 0.038; OKLCH L 32.8% C 0.083 H 148.5°. Best body text is #FFFFFF at 11.89:1 contrast (WCAG AA passes).

Color values

HEX#0D401B
RGBrgb(13, 64, 27)
HSLhsl(136, 66%, 15%)
HSVhsv(136, 80%, 25%)
CMYKcmyk(79.7%, 0%, 57.8%, 74.9%)
CIE-LABlab(23.11, -26.13, 17.83)
CIE-LCHlch(23.11, 31.63, 145.69°)
OKLaboklab(32.83% -0.0704 0.0431)
OKLCHoklch(32.83% 0.083 148.5)
XYZxyz(2.1970, 3.8312, 1.6604)
Luminance0.0383 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D401B #400D32
analogous
#18400D #0D401B #0D4035
triadic
#0D401B #1B0D40 #401B0D
tetradic
#0D401B #0D1840 #400D32 #40350D
square
#0D401B #0D1840 #400D32 #40350D
split-complementary
#0D401B #350D40 #400D18
monochromatic
#05190B #05190B #0D401B #177330 #22A646

Accessibility & contrast

On white

11.89
#0D401B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0D401B
11.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D401B#FFFFFF#000000##FFFFFF
##0D401B1.0011.891.7711.89
#FFFFFF11.891.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#413A18
Deuteranopia (green-blind)
#3B351E
Tritanopia (blue-blind)
#003F37
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #0d401b;
/* rgb */ color: rgb(13, 64, 27);
/* oklch */ color: oklch(32.8% 0.083 148.5);
Tailwind
colors: {
  custom: {
    50: '#547558',
    500: '#0d401b',
    950: '#000000',
  },
}
SCSS
$custom: #0d401b;
$custom-light: #547558;
$custom-dark: #000000;
JSON
{
  "hex": "#0d401b",
  "rgb": {
    "r": 13,
    "g": 64,
    "b": 27
  },
  "hsl": {
    "h": 136.471,
    "s": 66.234,
    "l": 15.098
  },
  "oklch": {
    "l": 0.32834,
    "c": 0.08252,
    "h": 148.5
  },
  "luminance": 0.03831
}

Semantic roles & 50–950 ramp

primary
#0D401B
secondary
#7C2D66
accent
#3FBAE9
background
#F5F7F5
surface
#E9EDE9
border
#C5C8C5
text
#030803
muted
#787B78

Preview Lab

Preview with #0D401B

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

Preview Lab → · Contrast checker → · Palette generator →

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