#0B3012#0B3012

#0B3012 is a dark, moderate green. Relative luminance 0.022; OKLCH L 27.4% C 0.068 H 146.9°. Best body text is #FFFFFF at 14.52:1 contrast (WCAG AA passes).

Color values

HEX#0B3012
RGBrgb(11, 48, 18)
HSLhsl(131, 63%, 12%)
HSVhsv(131, 77%, 19%)
CMYKcmyk(77.1%, 0%, 62.5%, 81.2%)
CIE-LABlab(16.64, -21.01, 15.34)
CIE-LCHlch(16.64, 26.01, 143.86°)
OKLaboklab(27.43% -0.0567 0.037)
OKLCHoklch(27.43% 0.068 146.9)
XYZxyz(1.3041, 2.2286, 0.9336)
Luminance0.0223 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B3012 #300B29
analogous
#17300B #0B3012 #0B3025
triadic
#0B3012 #120B30 #30120B
tetradic
#0B3012 #0B1730 #300B29 #30250B
square
#0B3012 #0B1730 #300B29 #30250B
split-complementary
#0B3012 #250B30 #300B17
monochromatic
#061909 #061909 #0B3012 #166225 #229437

Accessibility & contrast

On white

14.52
#0B3012 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0B3012
14.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B3012#FFFFFF#000000##FFFFFF
##0B30121.0014.521.4514.52
#FFFFFF14.521.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#312B0F
Deuteranopia (green-blind)
#2C2814
Tritanopia (blue-blind)
#032F29
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #0b3012;
/* rgb */ color: rgb(11, 48, 18);
/* oklch */ color: oklch(27.4% 0.068 146.9);
Tailwind
colors: {
  custom: {
    50: '#4f6950',
    500: '#0b3012',
    950: '#000000',
  },
}
SCSS
$custom: #0b3012;
$custom-light: #4f6950;
$custom-dark: #000000;
JSON
{
  "hex": "#0b3012",
  "rgb": {
    "r": 11,
    "g": 48,
    "b": 18
  },
  "hsl": {
    "h": 131.351,
    "s": 62.712,
    "l": 11.569
  },
  "oklch": {
    "l": 0.27434,
    "c": 0.06772,
    "h": 146.9
  },
  "luminance": 0.02229
}

Semantic roles & 50–950 ramp

primary
#0B3012
secondary
#6D2A60
accent
#42C7E6
background
#F4F6F4
surface
#E7EBE7
border
#C3C6C3
text
#020602
muted
#787A78

Preview Lab

Preview with #0B3012

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

Preview Lab → · Contrast checker → · Palette generator →

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