#0B381B#0B381B

#0B381B is a dark, moderate green. Relative luminance 0.030; OKLCH L 30.2% C 0.071 H 151.2°. Best body text is #FFFFFF at 13.16:1 contrast (WCAG AA passes).

Color values

HEX#0B381B
RGBrgb(11, 56, 27)
HSLhsl(141, 67%, 13%)
HSVhsv(141, 80%, 22%)
CMYKcmyk(80.4%, 0%, 51.8%, 78%)
CIE-LABlab(19.96, -22.96, 13.84)
CIE-LCHlch(19.96, 26.81, 148.91°)
OKLaboklab(30.22% -0.0619 0.0341)
OKLCHoklch(30.22% 0.071 151.2)
XYZxyz(1.7499, 2.9784, 1.5194)
Luminance0.0298 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B381B #380B28
analogous
#11380B #0B381B #0B3831
triadic
#0B381B #1B0B38 #381B0B
tetradic
#0B381B #0B1138 #380B28 #38310B
square
#0B381B #0B1138 #380B28 #38310B
split-complementary
#0B381B #310B38 #380B11
monochromatic
#051A0C #051A0C #0B381B #156B34 #1F9E4C

Accessibility & contrast

On white

13.16
#0B381B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0B381B
13.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B381B#FFFFFF#000000##FFFFFF
##0B381B1.0013.161.6013.16
#FFFFFF13.161.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#383319
Deuteranopia (green-blind)
#332F1D
Tritanopia (blue-blind)
#003731
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #0b381b;
/* rgb */ color: rgb(11, 56, 27);
/* oklch */ color: oklch(30.2% 0.071 151.2);
Tailwind
colors: {
  custom: {
    50: '#516f57',
    500: '#0b381b',
    950: '#000000',
  },
}
SCSS
$custom: #0b381b;
$custom-light: #516f57;
$custom-dark: #000000;
JSON
{
  "hex": "#0b381b",
  "rgb": {
    "r": 11,
    "g": 56,
    "b": 27
  },
  "hsl": {
    "h": 141.333,
    "s": 67.164,
    "l": 13.137
  },
  "oklch": {
    "l": 0.30219,
    "c": 0.07063,
    "h": 151.2
  },
  "luminance": 0.02979
}

Semantic roles & 50–950 ramp

primary
#0B381B
secondary
#752A5A
accent
#3EADEA
background
#F4F6F5
surface
#E7ECE9
border
#C3C7C5
text
#020703
muted
#787A78

Preview Lab

Preview with #0B381B

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

Preview Lab → · Contrast checker → · Palette generator →

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