#0B340F#0B340F

#0B340F is a dark, moderate green. Relative luminance 0.026; OKLCH L 28.7% C 0.077 H 144.7°. Best body text is #FFFFFF at 13.89:1 contrast (WCAG AA passes).

Color values

HEX#0B340F
RGBrgb(11, 52, 15)
HSLhsl(126, 65%, 12%)
HSVhsv(126, 79%, 20%)
CMYKcmyk(78.8%, 0%, 71.2%, 79.6%)
CIE-LABlab(18.19, -23.32, 18.93)
CIE-LCHlch(18.19, 30.04, 140.94°)
OKLaboklab(28.7% -0.0631 0.0446)
OKLCHoklch(28.7% 0.077 144.7)
XYZxyz(1.4521, 2.5615, 0.8697)
Luminance0.0256 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B340F #340B30
analogous
#1B340B #0B340F #0B3424
triadic
#0B340F #0F0B34 #340F0B
tetradic
#0B340F #0B1B34 #340B30 #34240B
square
#0B340F #0B1B34 #340B30 #34240B
split-complementary
#0B340F #240B34 #340B1B
monochromatic
#051907 #051907 #0B340F #16671E #20992C

Accessibility & contrast

On white

13.89
#0B340F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#0B340F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0B340F
13.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B340F#FFFFFF#000000##FFFFFF
##0B340F1.0013.891.5113.89
#FFFFFF13.891.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#352E0B
Deuteranopia (green-blind)
#302B12
Tritanopia (blue-blind)
#02322C
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #0b340f;
/* rgb */ color: rgb(11, 52, 15);
/* oklch */ color: oklch(28.7% 0.077 144.7);
Tailwind
colors: {
  custom: {
    50: '#516c4f',
    500: '#0b340f',
    950: '#000000',
  },
}
SCSS
$custom: #0b340f;
$custom-light: #516c4f;
$custom-dark: #000000;
JSON
{
  "hex": "#0b340f",
  "rgb": {
    "r": 11,
    "g": 52,
    "b": 15
  },
  "hsl": {
    "h": 125.854,
    "s": 65.079,
    "l": 12.353
  },
  "oklch": {
    "l": 0.28701,
    "c": 0.07729,
    "h": 144.7
  },
  "luminance": 0.02562
}

Semantic roles & 50–950 ramp

primary
#0B340F
secondary
#712A6A
accent
#40D8E8
background
#F4F6F4
surface
#E7EBE7
border
#C3C6C3
text
#020702
muted
#787A78

Preview Lab

Preview with #0B340F

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

Preview Lab → · Contrast checker → · Palette generator →

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