#0B3115#0B3115

#0B3115 is a dark, moderate green. Relative luminance 0.023; OKLCH L 27.8% C 0.066 H 148.8°. Best body text is #FFFFFF at 14.34:1 contrast (WCAG AA passes).

Color values

HEX#0B3115
RGBrgb(11, 49, 21)
HSLhsl(136, 63%, 12%)
HSVhsv(136, 78%, 19%)
CMYKcmyk(77.6%, 0%, 57.1%, 80.8%)
CIE-LABlab(17.09, -20.91, 14.02)
CIE-LCHlch(17.09, 25.17, 146.17°)
OKLaboklab(27.82% -0.0564 0.0342)
OKLCHoklch(27.82% 0.066 148.8)
XYZxyz(1.3716, 2.3218, 1.0852)
Luminance0.0232 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B3115 #310B27
analogous
#14310B #0B3115 #0B3128
triadic
#0B3115 #150B31 #31150B
tetradic
#0B3115 #0B1431 #310B27 #31280B
square
#0B3115 #0B1431 #310B27 #31280B
split-complementary
#0B3115 #280B31 #310B14
monochromatic
#06190B #06190B #0B3115 #16632A #219540

Accessibility & contrast

On white

14.34
#0B3115 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#0B3115 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0B3115
14.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B3115#FFFFFF#000000##FFFFFF
##0B31151.0014.341.4614.34
#FFFFFF14.341.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#322C13
Deuteranopia (green-blind)
#2D2917
Tritanopia (blue-blind)
#02302A
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #0b3115;
/* rgb */ color: rgb(11, 49, 21);
/* oklch */ color: oklch(27.8% 0.066 148.8);
Tailwind
colors: {
  custom: {
    50: '#4f6952',
    500: '#0b3115',
    950: '#000000',
  },
}
SCSS
$custom: #0b3115;
$custom-light: #4f6952;
$custom-dark: #000000;
JSON
{
  "hex": "#0b3115",
  "rgb": {
    "r": 11,
    "g": 49,
    "b": 21
  },
  "hsl": {
    "h": 135.789,
    "s": 63.333,
    "l": 11.765
  },
  "oklch": {
    "l": 0.27821,
    "c": 0.06596,
    "h": 148.8
  },
  "luminance": 0.02322
}

Semantic roles & 50–950 ramp

primary
#0B3115
secondary
#6E2A5C
accent
#41BBE6
background
#F4F6F4
surface
#E7EBE7
border
#C3C6C3
text
#020602
muted
#787A78

Preview Lab

Preview with #0B3115

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

Preview Lab → · Contrast checker → · Palette generator →

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