#0B311D#0B311D

#0B311D is a dark, muted green. Relative luminance 0.024; OKLCH L 28.0% C 0.057 H 156.5°. Best body text is #FFFFFF at 14.27:1 contrast (WCAG AA passes).

Color values

HEX#0B311D
RGBrgb(11, 49, 29)
HSLhsl(148, 63%, 12%)
HSVhsv(148, 78%, 19%)
CMYKcmyk(77.6%, 0%, 40.8%, 80.8%)
CIE-LABlab(17.26, -19.11, 8.97)
CIE-LCHlch(17.26, 21.11, 154.86°)
OKLaboklab(28.01% -0.0519 0.0226)
OKLCHoklch(28.01% 0.057 156.5)
XYZxyz(1.4580, 2.3563, 1.5401)
Luminance0.0236 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B311D #310B1F
analogous
#0C310B #0B311D #0B3130
triadic
#0B311D #1D0B31 #311D0B
tetradic
#0B311D #0B0C31 #310B1F #31300B
square
#0B311D #0B0C31 #310B1F #31300B
split-complementary
#0B311D #300B31 #310B0C
monochromatic
#06190F #06190F #0B311D #16633B #219558

Accessibility & contrast

On white

14.27
#0B311D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#0B311D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0B311D
14.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B311D#FFFFFF#000000##FFFFFF
##0B311D1.0014.271.4714.27
#FFFFFF14.271.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#312D1C
Deuteranopia (green-blind)
#2C291E
Tritanopia (blue-blind)
#00312C
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #0b311d;
/* rgb */ color: rgb(11, 49, 29);
/* oklch */ color: oklch(28.0% 0.057 156.5);
Tailwind
colors: {
  custom: {
    50: '#4f6959',
    500: '#0b311d',
    950: '#000000',
  },
}
SCSS
$custom: #0b311d;
$custom-light: #4f6959;
$custom-dark: #000000;
JSON
{
  "hex": "#0b311d",
  "rgb": {
    "r": 11,
    "g": 49,
    "b": 29
  },
  "hsl": {
    "h": 148.421,
    "s": 63.333,
    "l": 11.765
  },
  "oklch": {
    "l": 0.28009,
    "c": 0.05658,
    "h": 156.5
  },
  "luminance": 0.02356
}

Semantic roles & 50–950 ramp

primary
#0B311D
secondary
#6E2A4E
accent
#4198E6
background
#F4F6F5
surface
#E7EBE9
border
#C3C6C5
text
#020603
muted
#787A78

Preview Lab

Preview with #0B311D

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

Preview Lab → · Contrast checker → · Palette generator →

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