#0B331A#0B331A

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

Color values

HEX#0B331A
RGBrgb(11, 51, 26)
HSLhsl(143, 65%, 12%)
HSVhsv(143, 78%, 20%)
CMYKcmyk(78.4%, 0%, 49%, 80%)
CIE-LABlab(17.98, -20.81, 11.92)
CIE-LCHlch(17.98, 23.99, 150.19°)
OKLaboklab(28.58% -0.0562 0.0296)
OKLCHoklch(28.58% 0.063 152.3)
XYZxyz(1.5082, 2.5132, 1.3827)
Luminance0.0251 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B331A #330B24
analogous
#10330B #0B331A #0B332E
triadic
#0B331A #1A0B33 #331A0B
tetradic
#0B331A #0B1033 #330B24 #332E0B
square
#0B331A #0B1033 #330B24 #332E0B
split-complementary
#0B331A #2E0B33 #330B10
monochromatic
#05190D #05190D #0B331A #166534 #21984D

Accessibility & contrast

On white

13.98
#0B331A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0B331A
13.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B331A#FFFFFF#000000##FFFFFF
##0B331A1.0013.981.5013.98
#FFFFFF13.981.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF13.981.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0b331a;
/* rgb */ color: rgb(11, 51, 26);
/* oklch */ color: oklch(28.6% 0.063 152.3);
Tailwind
colors: {
  custom: {
    50: '#506b56',
    500: '#0b331a',
    950: '#000000',
  },
}
SCSS
$custom: #0b331a;
$custom-light: #506b56;
$custom-dark: #000000;
JSON
{
  "hex": "#0b331a",
  "rgb": {
    "r": 11,
    "g": 51,
    "b": 26
  },
  "hsl": {
    "h": 142.5,
    "s": 64.516,
    "l": 12.157
  },
  "oklch": {
    "l": 0.28581,
    "c": 0.06349,
    "h": 152.3
  },
  "luminance": 0.02513
}

Semantic roles & 50–950 ramp

primary
#0B331A
secondary
#702A56
accent
#40A9E8
background
#F4F6F5
surface
#E7EBE9
border
#C3C6C5
text
#020603
muted
#787A78

Preview Lab

Preview with #0B331A

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

Preview Lab → · Contrast checker → · Palette generator →

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