#0B5617#0B5617

#0B5617 is a dark, moderate green. Relative luminance 0.068; OKLCH L 39.6% C 0.118 H 144.9°. Best body text is #FFFFFF at 8.91:1 contrast (WCAG AA passes).

Color values

HEX#0B5617
RGBrgb(11, 86, 23)
HSLhsl(130, 77%, 19%)
HSVhsv(130, 87%, 34%)
CMYKcmyk(87.2%, 0%, 73.3%, 66.3%)
CIE-LABlab(31.32, -35.73, 29.44)
CIE-LCHlch(31.32, 46.30, 140.52°)
OKLaboklab(39.62% -0.0964 0.0678)
OKLCHoklch(39.62% 0.118 144.9)
XYZxyz(3.6202, 6.7881, 1.9299)
Luminance0.0679 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B5617 #560B4A
analogous
#25560B #0B5617 #0B563D
triadic
#0B5617 #170B56 #56170B
tetradic
#0B5617 #0B2556 #560B4A #563D0B
square
#0B5617 #0B2556 #560B4A #563D0B
split-complementary
#0B5617 #3D0B56 #560B25
monochromatic
#031B07 #042008 #0B5617 #128C26 #19C334

Accessibility & contrast

On white

8.91
#0B5617 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#0B5617 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0B5617
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B5617#FFFFFF#000000##FFFFFF
##0B56171.008.912.368.91
#FFFFFF8.911.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#584D0E
Deuteranopia (green-blind)
#50481D
Tritanopia (blue-blind)
#005449
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #0b5617;
/* rgb */ color: rgb(11, 86, 23);
/* oklch */ color: oklch(39.6% 0.118 144.9);
Tailwind
colors: {
  custom: {
    50: '#5b8658',
    500: '#0b5617',
    950: '#000000',
  },
}
SCSS
$custom: #0b5617;
$custom-light: #5b8658;
$custom-dark: #000000;
JSON
{
  "hex": "#0b5617",
  "rgb": {
    "r": 11,
    "g": 86,
    "b": 23
  },
  "hsl": {
    "h": 129.6,
    "s": 77.32,
    "l": 19.02
  },
  "oklch": {
    "l": 0.39618,
    "c": 0.11789,
    "h": 144.9
  },
  "luminance": 0.06789
}

Semantic roles & 50–950 ramp

primary
#0B5617
secondary
#912B81
accent
#34D5F4
background
#F5F8F5
surface
#E9EFE9
border
#C5CAC5
text
#040B03
muted
#797C78

Preview Lab

Preview with #0B5617

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

Preview Lab → · Contrast checker → · Palette generator →

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