#0D401C#0D401C

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

Color values

HEX#0D401C
RGBrgb(13, 64, 28)
HSLhsl(138, 66%, 15%)
HSVhsv(138, 80%, 25%)
CMYKcmyk(79.7%, 0%, 56.2%, 74.9%)
CIE-LABlab(23.12, -25.94, 17.25)
CIE-LCHlch(23.12, 31.15, 146.39°)
OKLaboklab(32.85% -0.0698 0.0419)
OKLCHoklch(32.85% 0.081 149.1)
XYZxyz(2.2088, 3.8360, 1.7224)
Luminance0.0384 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0D401C #400D31
analogous
#17400D #0D401C #0D4035
triadic
#0D401C #1C0D40 #401C0D
tetradic
#0D401C #0D1740 #400D31 #40350D
square
#0D401C #0D1740 #400D31 #40350D
split-complementary
#0D401C #350D40 #400D17
monochromatic
#05190B #05190B #0D401C #177332 #22A649

Accessibility & contrast

On white

11.88
#0D401C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0D401C
11.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0D401C#FFFFFF#000000##FFFFFF
##0D401C1.0011.881.7711.88
#FFFFFF11.881.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#413A19
Deuteranopia (green-blind)
#3A351F
Tritanopia (blue-blind)
#003F38
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #0d401c;
/* rgb */ color: rgb(13, 64, 28);
/* oklch */ color: oklch(32.9% 0.081 149.1);
Tailwind
colors: {
  custom: {
    50: '#547559',
    500: '#0d401c',
    950: '#000000',
  },
}
SCSS
$custom: #0d401c;
$custom-light: #547559;
$custom-dark: #000000;
JSON
{
  "hex": "#0d401c",
  "rgb": {
    "r": 13,
    "g": 64,
    "b": 28
  },
  "hsl": {
    "h": 137.647,
    "s": 66.234,
    "l": 15.098
  },
  "oklch": {
    "l": 0.32852,
    "c": 0.08144,
    "h": 149.1
  },
  "luminance": 0.03836
}

Semantic roles & 50–950 ramp

primary
#0D401C
secondary
#7C2D65
accent
#3FB7E9
background
#F5F7F5
surface
#E9EDE9
border
#C5C8C5
text
#030803
muted
#787B78

Preview Lab

Preview with #0D401C

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

Preview Lab → · Contrast checker → · Palette generator →

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