#0B371F#0B371F

#0B371F is a dark, moderate green. Relative luminance 0.029; OKLCH L 30.0% C 0.064 H 155.0°. Best body text is #FFFFFF at 13.29:1 contrast (WCAG AA passes).

Color values

HEX#0B371F
RGBrgb(11, 55, 31)
HSLhsl(147, 67%, 13%)
HSVhsv(147, 80%, 22%)
CMYKcmyk(80%, 0%, 43.6%, 78.4%)
CIE-LABlab(19.65, -21.59, 10.86)
CIE-LCHlch(19.65, 24.17, 153.31°)
OKLaboklab(29.99% -0.0584 0.0272)
OKLCHoklch(29.99% 0.064 155)
XYZxyz(1.7514, 2.9023, 1.7640)
Luminance0.0290 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B371F #370B23
analogous
#0D370B #0B371F #0B3735
triadic
#0B371F #1F0B37 #371F0B
tetradic
#0B371F #0B0D37 #370B23 #37350B
square
#0B371F #0B0D37 #370B23 #37350B
split-complementary
#0B371F #350B37 #370B0D
monochromatic
#051A0E #051A0E #0B371F #156A3C #1F9D58

Accessibility & contrast

On white

13.29
#0B371F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#0B371F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0B371F
13.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B371F#FFFFFF#000000##FFFFFF
##0B371F1.0013.291.5813.29
#FFFFFF13.291.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#37321D
Deuteranopia (green-blind)
#312E21
Tritanopia (blue-blind)
#003631
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #0b371f;
/* rgb */ color: rgb(11, 55, 31);
/* oklch */ color: oklch(30.0% 0.064 155.0);
Tailwind
colors: {
  custom: {
    50: '#516e5a',
    500: '#0b371f',
    950: '#000000',
  },
}
SCSS
$custom: #0b371f;
$custom-light: #516e5a;
$custom-dark: #000000;
JSON
{
  "hex": "#0b371f",
  "rgb": {
    "r": 11,
    "g": 55,
    "b": 31
  },
  "hsl": {
    "h": 147.273,
    "s": 66.667,
    "l": 12.941
  },
  "oklch": {
    "l": 0.2999,
    "c": 0.0644,
    "h": 155
  },
  "luminance": 0.02902
}

Semantic roles & 50–950 ramp

primary
#0B371F
secondary
#742A52
accent
#3E9CEA
background
#F4F6F5
surface
#E7ECE9
border
#C3C7C5
text
#020704
muted
#787A79

Preview Lab

Preview with #0B371F

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

Preview Lab → · Contrast checker → · Palette generator →

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