#0B331C#0B331C

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

Color values

HEX#0B331C
RGBrgb(11, 51, 28)
HSLhsl(146, 65%, 12%)
HSVhsv(146, 78%, 20%)
CMYKcmyk(78.4%, 0%, 45.1%, 80%)
CIE-LABlab(18.02, -20.36, 10.66)
CIE-LCHlch(18.02, 22.98, 152.36°)
OKLaboklab(28.63% -0.055 0.0266)
OKLCHoklch(28.63% 0.061 154.2)
XYZxyz(1.5313, 2.5225, 1.5046)
Luminance0.0252 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B331C #330B22
analogous
#0E330B #0B331C #0B3330
triadic
#0B331C #1C0B33 #331C0B
tetradic
#0B331C #0B0E33 #330B22 #33300B
square
#0B331C #0B0E33 #330B22 #33300B
split-complementary
#0B331C #300B33 #330B0E
monochromatic
#05190E #05190E #0B331C #166538 #219853

Accessibility & contrast

On white

13.96
#0B331C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0B331C
13.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B331C#FFFFFF#000000##FFFFFF
##0B331C1.0013.961.5013.96
#FFFFFF13.961.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF13.961.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0b331c;
/* rgb */ color: rgb(11, 51, 28);
/* oklch */ color: oklch(28.6% 0.061 154.2);
Tailwind
colors: {
  custom: {
    50: '#506b58',
    500: '#0b331c',
    950: '#000000',
  },
}
SCSS
$custom: #0b331c;
$custom-light: #506b58;
$custom-dark: #000000;
JSON
{
  "hex": "#0b331c",
  "rgb": {
    "r": 11,
    "g": 51,
    "b": 28
  },
  "hsl": {
    "h": 145.5,
    "s": 64.516,
    "l": 12.157
  },
  "oklch": {
    "l": 0.28629,
    "c": 0.06116,
    "h": 154.2
  },
  "luminance": 0.02523
}

Semantic roles & 50–950 ramp

primary
#0B331C
secondary
#702A52
accent
#40A0E8
background
#F4F6F5
surface
#E7EBE9
border
#C3C6C5
text
#020603
muted
#787A78

Preview Lab

Preview with #0B331C

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

Preview Lab → · Contrast checker → · Palette generator →

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