#0B301C#0B301C

#0B301C is a dark, muted green. Relative luminance 0.023; OKLCH L 27.7% C 0.056 H 155.9°. Best body text is #FFFFFF at 14.44:1 contrast (WCAG AA passes).

Color values

HEX#0B301C
RGBrgb(11, 48, 28)
HSLhsl(148, 63%, 12%)
HSVhsv(148, 77%, 19%)
CMYKcmyk(77.1%, 0%, 41.7%, 81.2%)
CIE-LABlab(16.84, -18.85, 9.08)
CIE-LCHlch(16.84, 20.92, 154.29°)
OKLaboklab(27.66% -0.0511 0.0229)
OKLCHoklch(27.66% 0.056 155.9)
XYZxyz(1.4044, 2.2687, 1.4623)
Luminance0.0227 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B301C #300B1F
analogous
#0D300B #0B301C #0B302F
triadic
#0B301C #1C0B30 #301C0B
tetradic
#0B301C #0B0D30 #300B1F #302F0B
square
#0B301C #0B0D30 #300B1F #302F0B
split-complementary
#0B301C #2F0B30 #300B0D
monochromatic
#06190F #06190F #0B301C #166239 #229456

Accessibility & contrast

On white

14.44
#0B301C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#0B301C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0B301C
14.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B301C#FFFFFF#000000##FFFFFF
##0B301C1.0014.441.4514.44
#FFFFFF14.441.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#302C1B
Deuteranopia (green-blind)
#2B281D
Tritanopia (blue-blind)
#002F2B
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #0b301c;
/* rgb */ color: rgb(11, 48, 28);
/* oklch */ color: oklch(27.7% 0.056 155.9);
Tailwind
colors: {
  custom: {
    50: '#4f6858',
    500: '#0b301c',
    950: '#000000',
  },
}
SCSS
$custom: #0b301c;
$custom-light: #4f6858;
$custom-dark: #000000;
JSON
{
  "hex": "#0b301c",
  "rgb": {
    "r": 11,
    "g": 48,
    "b": 28
  },
  "hsl": {
    "h": 147.568,
    "s": 62.712,
    "l": 11.569
  },
  "oklch": {
    "l": 0.27658,
    "c": 0.05602,
    "h": 155.9
  },
  "luminance": 0.02269
}

Semantic roles & 50–950 ramp

primary
#0B301C
secondary
#6D2A4E
accent
#429BE6
background
#F4F6F5
surface
#E7EBE9
border
#C3C6C5
text
#020603
muted
#787A78

Preview Lab

Preview with #0B301C

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

Preview Lab → · Contrast checker → · Palette generator →

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