#0B5628#0B5628

#0B5628 is a dark, moderate green. Relative luminance 0.069; OKLCH L 39.9% C 0.102 H 150.6°. Best body text is #FFFFFF at 8.84:1 contrast (WCAG AA passes).

Color values

HEX#0B5628
RGBrgb(11, 86, 40)
HSLhsl(143, 77%, 19%)
HSVhsv(143, 87%, 34%)
CMYKcmyk(87.2%, 0%, 53.5%, 66.3%)
CIE-LABlab(31.53, -33.18, 20.67)
CIE-LCHlch(31.53, 39.09, 148.08°)
OKLaboklab(39.86% -0.0891 0.0503)
OKLCHoklch(39.86% 0.102 150.6)
XYZxyz(3.8485, 6.8795, 3.1321)
Luminance0.0688 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B5628 #560B39
analogous
#14560B #0B5628 #0B564E
triadic
#0B5628 #280B56 #56280B
tetradic
#0B5628 #0B1456 #560B39 #564E0B
square
#0B5628 #0B1456 #560B39 #564E0B
split-complementary
#0B5628 #4E0B56 #560B14
monochromatic
#031B0D #04200F #0B5628 #128C41 #19C35A

Accessibility & contrast

On white

8.84
#0B5628 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#0B5628 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0B5628
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B5628#FFFFFF#000000##FFFFFF
##0B56281.008.842.388.84
#FFFFFF8.841.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#564E24
Deuteranopia (green-blind)
#4E482B
Tritanopia (blue-blind)
#00544B
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #0b5628;
/* rgb */ color: rgb(11, 86, 40);
/* oklch */ color: oklch(39.9% 0.102 150.6);
Tailwind
colors: {
  custom: {
    50: '#5a8663',
    500: '#0b5628',
    950: '#000000',
  },
}
SCSS
$custom: #0b5628;
$custom-light: #5a8663;
$custom-dark: #000000;
JSON
{
  "hex": "#0b5628",
  "rgb": {
    "r": 11,
    "g": 86,
    "b": 40
  },
  "hsl": {
    "h": 143.2,
    "s": 77.32,
    "l": 19.02
  },
  "oklch": {
    "l": 0.39861,
    "c": 0.10227,
    "h": 150.6
  },
  "luminance": 0.0688
}

Semantic roles & 50–950 ramp

primary
#0B5628
secondary
#912B6A
accent
#34AAF4
background
#F5F8F5
surface
#E9EFEA
border
#C5CAC6
text
#040B05
muted
#797C79

Preview Lab

Preview with #0B5628

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

Preview Lab → · Contrast checker → · Palette generator →

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