#0B401C#0B401C

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

Color values

HEX#0B401C
RGBrgb(11, 64, 28)
HSLhsl(139, 71%, 15%)
HSVhsv(139, 83%, 25%)
CMYKcmyk(82.8%, 0%, 56.2%, 74.9%)
CIE-LABlab(23.07, -26.34, 17.17)
CIE-LCHlch(23.07, 31.44, 146.89°)
OKLaboklab(32.8% -0.0708 0.0417)
OKLCHoklch(32.8% 0.082 149.5)
XYZxyz(2.1808, 3.8215, 1.7211)
Luminance0.0382 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B401C #400B2F
analogous
#15400B #0B401C #0B4037
triadic
#0B401C #1C0B40 #401C0B
tetradic
#0B401C #0B1540 #400B2F #40370B
square
#0B401C #0B1540 #400B2F #40370B
split-complementary
#0B401C #370B40 #400B15
monochromatic
#041A0B #041A0B #0B401C #147433 #1DA84A

Accessibility & contrast

On white

11.90
#0B401C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#0B401C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0B401C
11.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B401C#FFFFFF#000000##FFFFFF
##0B401C1.0011.901.7611.90
#FFFFFF11.901.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.901.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: #0b401c;
/* rgb */ color: rgb(11, 64, 28);
/* oklch */ color: oklch(32.8% 0.082 149.5);
Tailwind
colors: {
  custom: {
    50: '#547559',
    500: '#0b401c',
    950: '#000000',
  },
}
SCSS
$custom: #0b401c;
$custom-light: #547559;
$custom-dark: #000000;
JSON
{
  "hex": "#0b401c",
  "rgb": {
    "r": 11,
    "g": 64,
    "b": 28
  },
  "hsl": {
    "h": 139.245,
    "s": 70.667,
    "l": 14.706
  },
  "oklch": {
    "l": 0.32797,
    "c": 0.08221,
    "h": 149.5
  },
  "luminance": 0.03822
}

Semantic roles & 50–950 ramp

primary
#0B401C
secondary
#7D2A62
accent
#3AB4ED
background
#F5F7F5
surface
#E9EDE9
border
#C5C8C5
text
#030803
muted
#787B78

Preview Lab

Preview with #0B401C

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

Preview Lab → · Contrast checker → · Palette generator →

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