#0B391F#0B391F

#0B391F is a dark, moderate green. Relative luminance 0.031; OKLCH L 30.6% C 0.068 H 154.0°. Best body text is #FFFFFF at 12.97:1 contrast (WCAG AA passes).

Color values

HEX#0B391F
RGBrgb(11, 57, 31)
HSLhsl(146, 68%, 13%)
HSVhsv(146, 81%, 22%)
CMYKcmyk(80.7%, 0%, 45.6%, 77.6%)
CIE-LABlab(20.42, -22.55, 11.89)
CIE-LCHlch(20.42, 25.49, 152.20°)
OKLaboklab(30.63% -0.0609 0.0296)
OKLCHoklch(30.63% 0.068 154)
XYZxyz(1.8483, 3.0961, 1.7963)
Luminance0.0310 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B391F #390B25
analogous
#0E390B #0B391F #0B3936
triadic
#0B391F #1F0B39 #391F0B
tetradic
#0B391F #0B0E39 #390B25 #39360B
square
#0B391F #0B0E39 #390B25 #39360B
split-complementary
#0B391F #360B39 #390B0E
monochromatic
#051A0E #051A0E #0B391F #156C3B #1FA057

Accessibility & contrast

On white

12.97
#0B391F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#0B391F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0B391F
12.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B391F#FFFFFF#000000##FFFFFF
##0B391F1.0012.971.6212.97
#FFFFFF12.971.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#39341D
Deuteranopia (green-blind)
#333021
Tritanopia (blue-blind)
#003832
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #0b391f;
/* rgb */ color: rgb(11, 57, 31);
/* oklch */ color: oklch(30.6% 0.068 154.0);
Tailwind
colors: {
  custom: {
    50: '#51705a',
    500: '#0b391f',
    950: '#000000',
  },
}
SCSS
$custom: #0b391f;
$custom-light: #51705a;
$custom-dark: #000000;
JSON
{
  "hex": "#0b391f",
  "rgb": {
    "r": 11,
    "g": 57,
    "b": 31
  },
  "hsl": {
    "h": 146.087,
    "s": 67.647,
    "l": 13.333
  },
  "oklch": {
    "l": 0.3063,
    "c": 0.06771,
    "h": 154
  },
  "luminance": 0.03096
}

Semantic roles & 50–950 ramp

primary
#0B391F
secondary
#762A55
accent
#3D9FEB
background
#F4F6F5
surface
#E7ECE9
border
#C3C7C5
text
#020704
muted
#787A79

Preview Lab

Preview with #0B391F

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

Preview Lab → · Contrast checker → · Palette generator →

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