#0B5621#0B5621

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

Color values

HEX#0B5621
RGBrgb(11, 86, 33)
HSLhsl(138, 77%, 19%)
HSVhsv(138, 87%, 34%)
CMYKcmyk(87.2%, 0%, 61.6%, 66.3%)
CIE-LABlab(31.43, -34.38, 24.47)
CIE-LCHlch(31.43, 42.20, 144.55°)
OKLaboklab(39.75% -0.0924 0.0583)
OKLCHoklch(39.75% 0.109 147.8)
XYZxyz(3.7400, 6.8361, 2.5609)
Luminance0.0684 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B5621 #560B40
analogous
#1B560B #0B5621 #0B5647
triadic
#0B5621 #210B56 #56210B
tetradic
#0B5621 #0B1B56 #560B40 #56470B
square
#0B5621 #0B1B56 #560B40 #56470B
split-complementary
#0B5621 #470B56 #560B1B
monochromatic
#031B0A #04200C #0B5621 #128C36 #19C34B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##0B5621#FFFFFF#000000##FFFFFF
##0B56211.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)
#574D1C
Deuteranopia (green-blind)
#4F4825
Tritanopia (blue-blind)
#00544A
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #0b5621;
/* rgb */ color: rgb(11, 86, 33);
/* oklch */ color: oklch(39.7% 0.109 147.8);
Tailwind
colors: {
  custom: {
    50: '#5a865e',
    500: '#0b5621',
    950: '#000000',
  },
}
SCSS
$custom: #0b5621;
$custom-light: #5a865e;
$custom-dark: #000000;
JSON
{
  "hex": "#0b5621",
  "rgb": {
    "r": 11,
    "g": 86,
    "b": 33
  },
  "hsl": {
    "h": 137.6,
    "s": 77.32,
    "l": 19.02
  },
  "oklch": {
    "l": 0.39746,
    "c": 0.1092,
    "h": 147.8
  },
  "luminance": 0.06837
}

Semantic roles & 50–950 ramp

primary
#0B5621
secondary
#912B74
accent
#34BCF4
background
#F5F8F5
surface
#E9EFE9
border
#C5CAC5
text
#040B04
muted
#797C79

Preview Lab

Preview with #0B5621

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

Preview Lab → · Contrast checker → · Palette generator →

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