#0B331B#0B331B

#0B331B is a dark, moderate green. Relative luminance 0.025; OKLCH L 28.6% C 0.062 H 153.2°. Best body text is #FFFFFF at 13.97:1 contrast (WCAG AA passes).

Color values

HEX#0B331B
RGBrgb(11, 51, 27)
HSLhsl(144, 65%, 12%)
HSVhsv(144, 78%, 20%)
CMYKcmyk(78.4%, 0%, 47.1%, 80%)
CIE-LABlab(18.00, -20.59, 11.29)
CIE-LCHlch(18.00, 23.48, 151.25°)
OKLaboklab(28.61% -0.0556 0.0281)
OKLCHoklch(28.61% 0.062 153.2)
XYZxyz(1.5195, 2.5178, 1.4426)
Luminance0.0252 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B331B #330B23
analogous
#0F330B #0B331B #0B332F
triadic
#0B331B #1B0B33 #331B0B
tetradic
#0B331B #0B0F33 #330B23 #332F0B
square
#0B331B #0B0F33 #330B23 #332F0B
split-complementary
#0B331B #2F0B33 #330B0F
monochromatic
#05190D #05190D #0B331B #166536 #219850

Accessibility & contrast

On white

13.97
#0B331B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#0B331B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0B331B
13.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B331B#FFFFFF#000000##FFFFFF
##0B331B1.0013.971.5013.97
#FFFFFF13.971.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF13.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#332E19
Deuteranopia (green-blind)
#2E2B1D
Tritanopia (blue-blind)
#00322D
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #0b331b;
/* rgb */ color: rgb(11, 51, 27);
/* oklch */ color: oklch(28.6% 0.062 153.2);
Tailwind
colors: {
  custom: {
    50: '#506b57',
    500: '#0b331b',
    950: '#000000',
  },
}
SCSS
$custom: #0b331b;
$custom-light: #506b57;
$custom-dark: #000000;
JSON
{
  "hex": "#0b331b",
  "rgb": {
    "r": 11,
    "g": 51,
    "b": 27
  },
  "hsl": {
    "h": 144,
    "s": 64.516,
    "l": 12.157
  },
  "oklch": {
    "l": 0.28605,
    "c": 0.06232,
    "h": 153.2
  },
  "luminance": 0.02518
}

Semantic roles & 50–950 ramp

primary
#0B331B
secondary
#702A54
accent
#40A5E8
background
#F4F6F5
surface
#E7EBE9
border
#C3C6C5
text
#020603
muted
#787A78

Preview Lab

Preview with #0B331B

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

Preview Lab → · Contrast checker → · Palette generator →

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