#0B5612#0B5612

#0B5612 is a dark, vivid green. Relative luminance 0.068; OKLCH L 39.6% C 0.121 H 143.8°. Best body text is #FFFFFF at 8.92:1 contrast (WCAG AA passes).

Color values

HEX#0B5612
RGBrgb(11, 86, 18)
HSLhsl(126, 77%, 19%)
HSVhsv(126, 87%, 34%)
CMYKcmyk(87.2%, 0%, 79.1%, 66.3%)
CIE-LABlab(31.28, -36.26, 31.62)
CIE-LCHlch(31.28, 48.11, 138.91°)
OKLaboklab(39.57% -0.0981 0.0717)
OKLCHoklch(39.57% 0.122 143.8)
XYZxyz(3.5747, 6.7700, 1.6905)
Luminance0.0677 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B5612 #560B4F
analogous
#2A560B #0B5612 #0B5638
triadic
#0B5612 #120B56 #56120B
tetradic
#0B5612 #0B2A56 #560B4F #56380B
square
#0B5612 #0B2A56 #560B4F #56380B
split-complementary
#0B5612 #380B56 #560B2A
monochromatic
#031B06 #042007 #0B5612 #128C1D #19C329

Accessibility & contrast

On white

8.92
#0B5612 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#0B5612 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0B5612
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B5612#FFFFFF#000000##FFFFFF
##0B56121.008.922.358.92
#FFFFFF8.921.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#584D06
Deuteranopia (green-blind)
#504719
Tritanopia (blue-blind)
#005349
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #0b5612;
/* rgb */ color: rgb(11, 86, 18);
/* oklch */ color: oklch(39.6% 0.121 143.8);
Tailwind
colors: {
  custom: {
    50: '#5b8655',
    500: '#0b5612',
    950: '#000000',
  },
}
SCSS
$custom: #0b5612;
$custom-light: #5b8655;
$custom-dark: #000000;
JSON
{
  "hex": "#0b5612",
  "rgb": {
    "r": 11,
    "g": 86,
    "b": 18
  },
  "hsl": {
    "h": 125.6,
    "s": 77.32,
    "l": 19.02
  },
  "oklch": {
    "l": 0.39569,
    "c": 0.1215,
    "h": 143.8
  },
  "luminance": 0.0677
}

Semantic roles & 50–950 ramp

primary
#0B5612
secondary
#912B88
accent
#34E2F4
background
#F5F8F5
surface
#E9EFE9
border
#C5CAC5
text
#040B03
muted
#797C78

Preview Lab

Preview with #0B5612

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

Preview Lab → · Contrast checker → · Palette generator →

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