#0B341B#0B341B

#0B341B is a dark, moderate green. Relative luminance 0.026; OKLCH L 28.9% C 0.064 H 152.7°. Best body text is #FFFFFF at 13.80:1 contrast (WCAG AA passes).

Color values

HEX#0B341B
RGBrgb(11, 52, 27)
HSLhsl(143, 65%, 12%)
HSVhsv(143, 79%, 20%)
CMYKcmyk(78.8%, 0%, 48.1%, 79.6%)
CIE-LABlab(18.39, -21.07, 11.81)
CIE-LCHlch(18.39, 24.16, 150.73°)
OKLaboklab(28.93% -0.0569 0.0293)
OKLCHoklch(28.93% 0.064 152.7)
XYZxyz(1.5637, 2.6061, 1.4573)
Luminance0.0261 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B341B #340B24
analogous
#0F340B #0B341B #0B3430
triadic
#0B341B #1B0B34 #341B0B
tetradic
#0B341B #0B0F34 #340B24 #34300B
square
#0B341B #0B0F34 #340B24 #34300B
split-complementary
#0B341B #300B34 #340B0F
monochromatic
#05190D #05190D #0B341B #166735 #20994F

Accessibility & contrast

On white

13.80
#0B341B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#0B341B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0B341B
13.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B341B#FFFFFF#000000##FFFFFF
##0B341B1.0013.801.5213.80
#FFFFFF13.801.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#342F19
Deuteranopia (green-blind)
#2F2B1D
Tritanopia (blue-blind)
#00332E
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #0b341b;
/* rgb */ color: rgb(11, 52, 27);
/* oklch */ color: oklch(28.9% 0.064 152.7);
Tailwind
colors: {
  custom: {
    50: '#506c57',
    500: '#0b341b',
    950: '#000000',
  },
}
SCSS
$custom: #0b341b;
$custom-light: #506c57;
$custom-dark: #000000;
JSON
{
  "hex": "#0b341b",
  "rgb": {
    "r": 11,
    "g": 52,
    "b": 27
  },
  "hsl": {
    "h": 143.415,
    "s": 65.079,
    "l": 12.353
  },
  "oklch": {
    "l": 0.28928,
    "c": 0.06401,
    "h": 152.7
  },
  "luminance": 0.02606
}

Semantic roles & 50–950 ramp

primary
#0B341B
secondary
#712A55
accent
#40A6E8
background
#F4F6F5
surface
#E7EBE9
border
#C3C6C5
text
#020703
muted
#787A78

Preview Lab

Preview with #0B341B

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

Preview Lab → · Contrast checker → · Palette generator →

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