#0B381F#0B381F

#0B381F is a dark, moderate green. Relative luminance 0.030; OKLCH L 30.3% C 0.066 H 154.5°. Best body text is #FFFFFF at 13.13:1 contrast (WCAG AA passes).

Color values

HEX#0B381F
RGBrgb(11, 56, 31)
HSLhsl(147, 67%, 13%)
HSVhsv(147, 80%, 22%)
CMYKcmyk(80.4%, 0%, 44.6%, 78%)
CIE-LABlab(20.04, -22.07, 11.37)
CIE-LCHlch(20.04, 24.83, 152.74°)
OKLaboklab(30.31% -0.0596 0.0284)
OKLCHoklch(30.31% 0.066 154.5)
XYZxyz(1.7993, 2.9982, 1.7799)
Luminance0.0300 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B381F #380B24
analogous
#0D380B #0B381F #0B3835
triadic
#0B381F #1F0B38 #381F0B
tetradic
#0B381F #0B0D38 #380B24 #38350B
square
#0B381F #0B0D38 #380B24 #38350B
split-complementary
#0B381F #350B38 #380B0D
monochromatic
#051A0E #051A0E #0B381F #156B3B #1F9E58

Accessibility & contrast

On white

13.13
#0B381F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#0B381F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0B381F
13.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B381F#FFFFFF#000000##FFFFFF
##0B381F1.0013.131.6013.13
#FFFFFF13.131.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#38331D
Deuteranopia (green-blind)
#322F21
Tritanopia (blue-blind)
#003732
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #0b381f;
/* rgb */ color: rgb(11, 56, 31);
/* oklch */ color: oklch(30.3% 0.066 154.5);
Tailwind
colors: {
  custom: {
    50: '#516f5a',
    500: '#0b381f',
    950: '#000000',
  },
}
SCSS
$custom: #0b381f;
$custom-light: #516f5a;
$custom-dark: #000000;
JSON
{
  "hex": "#0b381f",
  "rgb": {
    "r": 11,
    "g": 56,
    "b": 31
  },
  "hsl": {
    "h": 146.667,
    "s": 67.164,
    "l": 13.137
  },
  "oklch": {
    "l": 0.3031,
    "c": 0.06606,
    "h": 154.5
  },
  "luminance": 0.02998
}

Semantic roles & 50–950 ramp

primary
#0B381F
secondary
#752A54
accent
#3E9DEA
background
#F4F6F5
surface
#E7ECE9
border
#C3C7C5
text
#020704
muted
#787A79

Preview Lab

Preview with #0B381F

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

Preview Lab → · Contrast checker → · Palette generator →

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