#0B5615#0B5615

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

Color values

HEX#0B5615
RGBrgb(11, 86, 21)
HSLhsl(128, 77%, 19%)
HSVhsv(128, 87%, 34%)
CMYKcmyk(87.2%, 0%, 75.6%, 66.3%)
CIE-LABlab(31.30, -35.96, 30.34)
CIE-LCHlch(31.30, 47.05, 139.84°)
OKLaboklab(39.6% -0.0971 0.0695)
OKLCHoklch(39.6% 0.119 144.4)
XYZxyz(3.6009, 6.7804, 1.8283)
Luminance0.0678 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B5615 #560B4C
analogous
#27560B #0B5615 #0B563B
triadic
#0B5615 #150B56 #56150B
tetradic
#0B5615 #0B2756 #560B4C #563B0B
square
#0B5615 #0B2756 #560B4C #563B0B
split-complementary
#0B5615 #3B0B56 #560B27
monochromatic
#031B07 #042008 #0B5615 #128C22 #19C32F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##0B5615#FFFFFF#000000##FFFFFF
##0B56151.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)
#584D0B
Deuteranopia (green-blind)
#50471B
Tritanopia (blue-blind)
#005349
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #0b5615;
/* rgb */ color: rgb(11, 86, 21);
/* oklch */ color: oklch(39.6% 0.119 144.4);
Tailwind
colors: {
  custom: {
    50: '#5b8656',
    500: '#0b5615',
    950: '#000000',
  },
}
SCSS
$custom: #0b5615;
$custom-light: #5b8656;
$custom-dark: #000000;
JSON
{
  "hex": "#0b5615",
  "rgb": {
    "r": 11,
    "g": 86,
    "b": 21
  },
  "hsl": {
    "h": 128,
    "s": 77.32,
    "l": 19.02
  },
  "oklch": {
    "l": 0.39597,
    "c": 0.1194,
    "h": 144.4
  },
  "luminance": 0.06781
}

Semantic roles & 50–950 ramp

primary
#0B5615
secondary
#912B84
accent
#34DAF4
background
#F5F8F5
surface
#E9EFE9
border
#C5CAC5
text
#040B03
muted
#797C78

Preview Lab

Preview with #0B5615

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

Preview Lab → · Contrast checker → · Palette generator →

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