#0B401A#0B401A

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

Color values

HEX#0B401A
RGBrgb(11, 64, 26)
HSLhsl(137, 71%, 15%)
HSVhsv(137, 83%, 25%)
CMYKcmyk(82.8%, 0%, 59.4%, 74.9%)
CIE-LABlab(23.04, -26.70, 18.33)
CIE-LCHlch(23.04, 32.39, 145.53°)
OKLaboklab(32.76% -0.0718 0.0442)
OKLCHoklch(32.76% 0.084 148.4)
XYZxyz(2.1577, 3.8123, 1.5992)
Luminance0.0381 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B401A #400B31
analogous
#17400B #0B401A #0B4035
triadic
#0B401A #1A0B40 #401A0B
tetradic
#0B401A #0B1740 #400B31 #40350B
square
#0B401A #0B1740 #400B31 #40350B
split-complementary
#0B401A #350B40 #400B17
monochromatic
#041A0B #041A0B #0B401A #14742F #1DA844

Accessibility & contrast

On white

11.91
#0B401A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0B401A
11.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B401A#FFFFFF#000000##FFFFFF
##0B401A1.0011.911.7611.91
#FFFFFF11.911.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.911.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0b401a;
/* rgb */ color: rgb(11, 64, 26);
/* oklch */ color: oklch(32.8% 0.084 148.4);
Tailwind
colors: {
  custom: {
    50: '#547557',
    500: '#0b401a',
    950: '#000000',
  },
}
SCSS
$custom: #0b401a;
$custom-light: #547557;
$custom-dark: #000000;
JSON
{
  "hex": "#0b401a",
  "rgb": {
    "r": 11,
    "g": 64,
    "b": 26
  },
  "hsl": {
    "h": 136.981,
    "s": 70.667,
    "l": 14.706
  },
  "oklch": {
    "l": 0.32761,
    "c": 0.08435,
    "h": 148.4
  },
  "luminance": 0.03813
}

Semantic roles & 50–950 ramp

primary
#0B401A
secondary
#7D2A65
accent
#3ABBED
background
#F5F7F5
surface
#E9EDE9
border
#C5C8C5
text
#030803
muted
#787B78

Preview Lab

Preview with #0B401A

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

Preview Lab → · Contrast checker → · Palette generator →

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