#0B4112#0B4112

#0B4112 is a dark, moderate green. Relative luminance 0.039; OKLCH L 33.0% C 0.094 H 144.9°. Best body text is #FFFFFF at 11.80:1 contrast (WCAG AA passes).

Color values

HEX#0B4112
RGBrgb(11, 65, 18)
HSLhsl(128, 71%, 15%)
HSVhsv(128, 83%, 25%)
CMYKcmyk(83.1%, 0%, 72.3%, 74.5%)
CIE-LABlab(23.32, -28.36, 23.15)
CIE-LCHlch(23.32, 36.61, 140.78°)
OKLaboklab(32.96% -0.0766 0.0539)
OKLCHoklch(32.96% 0.094 144.9)
XYZxyz(2.1373, 3.8952, 1.2113)
Luminance0.0389 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B4112 #410B3A
analogous
#1F410B #0B4112 #0B412D
triadic
#0B4112 #120B41 #41120B
tetradic
#0B4112 #0B1F41 #410B3A #412D0B
square
#0B4112 #0B1F41 #410B3A #412D0B
split-complementary
#0B4112 #2D0B41 #410B1F
monochromatic
#041A07 #041A07 #0B4112 #147520 #1DAA2F

Accessibility & contrast

On white

11.80
#0B4112 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#0B4112 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0B4112
11.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B4112#FFFFFF#000000##FFFFFF
##0B41121.0011.801.7811.80
#FFFFFF11.801.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#423A0C
Deuteranopia (green-blind)
#3C3616
Tritanopia (blue-blind)
#003F37
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #0b4112;
/* rgb */ color: rgb(11, 65, 18);
/* oklch */ color: oklch(33.0% 0.094 144.9);
Tailwind
colors: {
  custom: {
    50: '#547652',
    500: '#0b4112',
    950: '#000000',
  },
}
SCSS
$custom: #0b4112;
$custom-light: #547652;
$custom-dark: #000000;
JSON
{
  "hex": "#0b4112",
  "rgb": {
    "r": 11,
    "g": 65,
    "b": 18
  },
  "hsl": {
    "h": 127.778,
    "s": 71.053,
    "l": 14.902
  },
  "oklch": {
    "l": 0.3296,
    "c": 0.09368,
    "h": 144.9
  },
  "luminance": 0.03895
}

Semantic roles & 50–950 ramp

primary
#0B4112
secondary
#7E2A73
accent
#3AD6EE
background
#F5F7F4
surface
#E9EDE7
border
#C5C8C3
text
#030802
muted
#787B78

Preview Lab

Preview with #0B4112

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

Preview Lab → · Contrast checker → · Palette generator →

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