#0B2012#0B2012

#0B2012 is a very dark, muted green. Relative luminance 0.011; OKLCH L 22.1% C 0.039 H 152.9°. Best body text is #FFFFFF at 17.08:1 contrast (WCAG AA passes).

Color values

HEX#0B2012
RGBrgb(11, 32, 18)
HSLhsl(140, 49%, 8%)
HSVhsv(140, 66%, 13%)
CMYKcmyk(65.6%, 0%, 43.8%, 87.5%)
CIE-LABlab(10.17, -12.54, 6.75)
CIE-LCHlch(10.17, 14.24, 151.70°)
OKLaboklab(22.12% -0.0344 0.0177)
OKLCHoklch(22.12% 0.039 152.9)
XYZxyz(0.7637, 1.1478, 0.7535)
Luminance0.0115 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B2012 #200B19
analogous
#0E200B #0B2012 #0B201C
triadic
#0B2012 #120B20 #20120B
tetradic
#0B2012 #0B0E20 #200B19 #201C0B
square
#0B2012 #0B0E20 #200B19 #201C0B
split-complementary
#0B2012 #1C0B20 #200B0E
monochromatic
#08170D #08170D #0B2012 #1B4E2C #2A7B45

Accessibility & contrast

On white

17.08
#0B2012 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#0B2012 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0B2012
17.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B2012#FFFFFF#000000##FFFFFF
##0B20121.0017.081.2317.08
#FFFFFF17.081.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#201D11
Deuteranopia (green-blind)
#1D1B13
Tritanopia (blue-blind)
#07201C
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #0b2012;
/* rgb */ color: rgb(11, 32, 18);
/* oklch */ color: oklch(22.1% 0.039 152.9);
Tailwind
colors: {
  custom: {
    50: '#4b5b50',
    500: '#0b2012',
    950: '#000000',
  },
}
SCSS
$custom: #0b2012;
$custom-light: #4b5b50;
$custom-dark: #000000;
JSON
{
  "hex": "#0b2012",
  "rgb": {
    "r": 11,
    "g": 32,
    "b": 18
  },
  "hsl": {
    "h": 140,
    "s": 48.837,
    "l": 8.431
  },
  "oklch": {
    "l": 0.22117,
    "c": 0.0387,
    "h": 152.9
  },
  "luminance": 0.01148
}

Semantic roles & 50–950 ramp

primary
#0B2012
secondary
#5A2C4B
accent
#4FABD8
background
#F4F5F4
surface
#E7E9E7
border
#C3C5C3
text
#010402
muted
#777978

Preview Lab

Preview with #0B2012

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

Preview Lab → · Contrast checker → · Palette generator →

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