#0B5620#0B5620

#0B5620 is a dark, moderate green. Relative luminance 0.068; OKLCH L 39.7% C 0.110 H 147.4°. Best body text is #FFFFFF at 8.87:1 contrast (WCAG AA passes).

Color values

HEX#0B5620
RGBrgb(11, 86, 32)
HSLhsl(137, 77%, 19%)
HSVhsv(137, 87%, 34%)
CMYKcmyk(87.2%, 0%, 62.8%, 66.3%)
CIE-LABlab(31.42, -34.53, 25.00)
CIE-LCHlch(31.42, 42.63, 144.10°)
OKLaboklab(39.73% -0.0928 0.0593)
OKLCHoklch(39.73% 0.11 147.4)
XYZxyz(3.7262, 6.8306, 2.4883)
Luminance0.0683 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B5620 #560B41
analogous
#1C560B #0B5620 #0B5646
triadic
#0B5620 #200B56 #56200B
tetradic
#0B5620 #0B1C56 #560B41 #56460B
square
#0B5620 #0B1C56 #560B41 #56460B
split-complementary
#0B5620 #460B56 #560B1C
monochromatic
#031B0A #04200C #0B5620 #128C34 #19C348

Accessibility & contrast

On white

8.87
#0B5620 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#0B5620 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0B5620
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B5620#FFFFFF#000000##FFFFFF
##0B56201.008.872.378.87
#FFFFFF8.871.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#574D1B
Deuteranopia (green-blind)
#4F4824
Tritanopia (blue-blind)
#00544A
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #0b5620;
/* rgb */ color: rgb(11, 86, 32);
/* oklch */ color: oklch(39.7% 0.110 147.4);
Tailwind
colors: {
  custom: {
    50: '#5a865d',
    500: '#0b5620',
    950: '#000000',
  },
}
SCSS
$custom: #0b5620;
$custom-light: #5a865d;
$custom-dark: #000000;
JSON
{
  "hex": "#0b5620",
  "rgb": {
    "r": 11,
    "g": 86,
    "b": 32
  },
  "hsl": {
    "h": 136.8,
    "s": 77.32,
    "l": 19.02
  },
  "oklch": {
    "l": 0.39731,
    "c": 0.11014,
    "h": 147.4
  },
  "luminance": 0.06831
}

Semantic roles & 50–950 ramp

primary
#0B5620
secondary
#912B75
accent
#34BEF4
background
#F5F8F5
surface
#E9EFE9
border
#C5CAC5
text
#040B04
muted
#797C79

Preview Lab

Preview with #0B5620

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

Preview Lab → · Contrast checker → · Palette generator →

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