#0B5627#0B5627

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

Color values

HEX#0B5627
RGBrgb(11, 86, 39)
HSLhsl(142, 77%, 19%)
HSVhsv(142, 87%, 34%)
CMYKcmyk(87.2%, 0%, 54.7%, 66.3%)
CIE-LABlab(31.52, -33.36, 21.22)
CIE-LCHlch(31.52, 39.54, 147.54°)
OKLaboklab(39.84% -0.0895 0.0515)
OKLCHoklch(39.84% 0.103 150.1)
XYZxyz(3.8317, 6.8727, 3.0437)
Luminance0.0687 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B5627 #560B3A
analogous
#15560B #0B5627 #0B564D
triadic
#0B5627 #270B56 #56270B
tetradic
#0B5627 #0B1556 #560B3A #564D0B
square
#0B5627 #0B1556 #560B3A #564D0B
split-complementary
#0B5627 #4D0B56 #560B15
monochromatic
#031B0C #04200E #0B5627 #128C40 #19C358

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##0B5627#FFFFFF#000000##FFFFFF
##0B56271.008.842.378.84
#FFFFFF8.841.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#574E23
Deuteranopia (green-blind)
#4E482A
Tritanopia (blue-blind)
#00544B
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #0b5627;
/* rgb */ color: rgb(11, 86, 39);
/* oklch */ color: oklch(39.8% 0.103 150.1);
Tailwind
colors: {
  custom: {
    50: '#5a8662',
    500: '#0b5627',
    950: '#000000',
  },
}
SCSS
$custom: #0b5627;
$custom-light: #5a8662;
$custom-dark: #000000;
JSON
{
  "hex": "#0b5627",
  "rgb": {
    "r": 11,
    "g": 86,
    "b": 39
  },
  "hsl": {
    "h": 142.4,
    "s": 77.32,
    "l": 19.02
  },
  "oklch": {
    "l": 0.39843,
    "c": 0.10329,
    "h": 150.1
  },
  "luminance": 0.06873
}

Semantic roles & 50–950 ramp

primary
#0B5627
secondary
#912B6B
accent
#34ACF4
background
#F5F8F5
surface
#E9EFEA
border
#C5CAC6
text
#040B05
muted
#797C79

Preview Lab

Preview with #0B5627

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

Preview Lab → · Contrast checker → · Palette generator →

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