#0B4012#0B4012

#0B4012 is a dark, moderate green. Relative luminance 0.038; OKLCH L 32.6% C 0.092 H 144.9°. Best body text is #FFFFFF at 11.96:1 contrast (WCAG AA passes).

Color values

HEX#0B4012
RGBrgb(11, 64, 18)
HSLhsl(128, 71%, 15%)
HSVhsv(128, 83%, 25%)
CMYKcmyk(82.8%, 0%, 71.9%, 74.9%)
CIE-LABlab(22.94, -27.96, 22.72)
CIE-LCHlch(22.94, 36.02, 140.91°)
OKLaboklab(32.64% -0.0755 0.053)
OKLCHoklch(32.64% 0.092 144.9)
XYZxyz(2.0804, 3.7814, 1.1924)
Luminance0.0378 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B4012 #400B39
analogous
#1E400B #0B4012 #0B402D
triadic
#0B4012 #120B40 #40120B
tetradic
#0B4012 #0B1E40 #400B39 #402D0B
square
#0B4012 #0B1E40 #400B39 #402D0B
split-complementary
#0B4012 #2D0B40 #400B1E
monochromatic
#041A07 #041A07 #0B4012 #147421 #1DA82F

Accessibility & contrast

On white

11.96
#0B4012 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#0B4012 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0B4012
11.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B4012#FFFFFF#000000##FFFFFF
##0B40121.0011.961.7611.96
#FFFFFF11.961.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#41390D
Deuteranopia (green-blind)
#3B3516
Tritanopia (blue-blind)
#003E36
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #0b4012;
/* rgb */ color: rgb(11, 64, 18);
/* oklch */ color: oklch(32.6% 0.092 144.9);
Tailwind
colors: {
  custom: {
    50: '#547552',
    500: '#0b4012',
    950: '#000000',
  },
}
SCSS
$custom: #0b4012;
$custom-light: #547552;
$custom-dark: #000000;
JSON
{
  "hex": "#0b4012",
  "rgb": {
    "r": 11,
    "g": 64,
    "b": 18
  },
  "hsl": {
    "h": 127.925,
    "s": 70.667,
    "l": 14.706
  },
  "oklch": {
    "l": 0.32639,
    "c": 0.09226,
    "h": 144.9
  },
  "luminance": 0.03782
}

Semantic roles & 50–950 ramp

primary
#0B4012
secondary
#7D2A72
accent
#3AD6ED
background
#F5F7F4
surface
#E9EDE7
border
#C5C8C3
text
#030802
muted
#787B78

Preview Lab

Preview with #0B4012

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

Preview Lab → · Contrast checker → · Palette generator →

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