#0B401B#0B401B

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

Color values

HEX#0B401B
RGBrgb(11, 64, 27)
HSLhsl(138, 71%, 15%)
HSVhsv(138, 83%, 25%)
CMYKcmyk(82.8%, 0%, 57.8%, 74.9%)
CIE-LABlab(23.06, -26.52, 17.76)
CIE-LCHlch(23.06, 31.92, 146.20°)
OKLaboklab(32.78% -0.0713 0.043)
OKLCHoklch(32.78% 0.083 148.9)
XYZxyz(2.1691, 3.8168, 1.6591)
Luminance0.0382 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B401B #400B30
analogous
#16400B #0B401B #0B4036
triadic
#0B401B #1B0B40 #401B0B
tetradic
#0B401B #0B1640 #400B30 #40360B
square
#0B401B #0B1640 #400B30 #40360B
split-complementary
#0B401B #360B40 #400B16
monochromatic
#041A0B #041A0B #0B401B #147431 #1DA847

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##0B401B#FFFFFF#000000##FFFFFF
##0B401B1.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)
#413A18
Deuteranopia (green-blind)
#3A351E
Tritanopia (blue-blind)
#003F37
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #0b401b;
/* rgb */ color: rgb(11, 64, 27);
/* oklch */ color: oklch(32.8% 0.083 148.9);
Tailwind
colors: {
  custom: {
    50: '#547558',
    500: '#0b401b',
    950: '#000000',
  },
}
SCSS
$custom: #0b401b;
$custom-light: #547558;
$custom-dark: #000000;
JSON
{
  "hex": "#0b401b",
  "rgb": {
    "r": 11,
    "g": 64,
    "b": 27
  },
  "hsl": {
    "h": 138.113,
    "s": 70.667,
    "l": 14.706
  },
  "oklch": {
    "l": 0.32779,
    "c": 0.08329,
    "h": 148.9
  },
  "luminance": 0.03817
}

Semantic roles & 50–950 ramp

primary
#0B401B
secondary
#7D2A64
accent
#3AB7ED
background
#F5F7F5
surface
#E9EDE9
border
#C5C8C5
text
#030803
muted
#787B78

Preview Lab

Preview with #0B401B

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

Preview Lab → · Contrast checker → · Palette generator →

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