#0B4512#0B4512

#0B4512 is a dark, moderate green. Relative luminance 0.044; OKLCH L 34.2% C 0.099 H 144.6°. Best body text is #FFFFFF at 11.20:1 contrast (WCAG AA passes).

Color values

HEX#0B4512
RGBrgb(11, 69, 18)
HSLhsl(127, 73%, 16%)
HSVhsv(127, 84%, 27%)
CMYKcmyk(84.1%, 0%, 73.9%, 72.9%)
CIE-LABlab(24.86, -29.95, 24.85)
CIE-LCHlch(24.86, 38.91, 140.31°)
OKLaboklab(34.24% -0.0809 0.0575)
OKLCHoklch(34.24% 0.099 144.6)
XYZxyz(2.3752, 4.3708, 1.2906)
Luminance0.0437 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B4512 #450B3E
analogous
#21450B #0B4512 #0B452F
triadic
#0B4512 #120B45 #45120B
tetradic
#0B4512 #0B2145 #450B3E #452F0B
square
#0B4512 #0B2145 #450B3E #452F0B
split-complementary
#0B4512 #2F0B45 #450B21
monochromatic
#041A07 #041A07 #0B4512 #137A20 #1CAF2E

Accessibility & contrast

On white

11.20
#0B4512 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#0B4512 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0B4512
11.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B4512#FFFFFF#000000##FFFFFF
##0B45121.0011.201.8711.20
#FFFFFF11.201.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#463E0B
Deuteranopia (green-blind)
#403917
Tritanopia (blue-blind)
#00433A
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #0b4512;
/* rgb */ color: rgb(11, 69, 18);
/* oklch */ color: oklch(34.2% 0.099 144.6);
Tailwind
colors: {
  custom: {
    50: '#567952',
    500: '#0b4512',
    950: '#000000',
  },
}
SCSS
$custom: #0b4512;
$custom-light: #567952;
$custom-dark: #000000;
JSON
{
  "hex": "#0b4512",
  "rgb": {
    "r": 11,
    "g": 69,
    "b": 18
  },
  "hsl": {
    "h": 127.241,
    "s": 72.5,
    "l": 15.686
  },
  "oklch": {
    "l": 0.34237,
    "c": 0.09927,
    "h": 144.6
  },
  "luminance": 0.04371
}

Semantic roles & 50–950 ramp

primary
#0B4512
secondary
#812A77
accent
#39D9EF
background
#F5F7F4
surface
#E9EDE7
border
#C5C8C3
text
#030902
muted
#787B78

Preview Lab

Preview with #0B4512

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

Preview Lab → · Contrast checker → · Palette generator →

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