#0B5618#0B5618

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

Color values

HEX#0B5618
RGBrgb(11, 86, 24)
HSLhsl(130, 77%, 19%)
HSVhsv(130, 87%, 34%)
CMYKcmyk(87.2%, 0%, 72.1%, 66.3%)
CIE-LABlab(31.33, -35.62, 28.98)
CIE-LCHlch(31.33, 45.92, 140.87°)
OKLaboklab(39.63% -0.096 0.067)
OKLCHoklch(39.63% 0.117 145.1)
XYZxyz(3.6304, 6.7922, 1.9837)
Luminance0.0679 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B5618 #560B49
analogous
#24560B #0B5618 #0B563E
triadic
#0B5618 #180B56 #56180B
tetradic
#0B5618 #0B2456 #560B49 #563E0B
square
#0B5618 #0B2456 #560B49 #563E0B
split-complementary
#0B5618 #3E0B56 #560B24
monochromatic
#031B08 #042009 #0B5618 #128C27 #19C336

Accessibility & contrast

On white

8.90
#0B5618 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0B5618
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B5618#FFFFFF#000000##FFFFFF
##0B56181.008.902.368.90
#FFFFFF8.901.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#584D10
Deuteranopia (green-blind)
#50481E
Tritanopia (blue-blind)
#005449
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #0b5618;
/* rgb */ color: rgb(11, 86, 24);
/* oklch */ color: oklch(39.6% 0.117 145.1);
Tailwind
colors: {
  custom: {
    50: '#5a8658',
    500: '#0b5618',
    950: '#000000',
  },
}
SCSS
$custom: #0b5618;
$custom-light: #5a8658;
$custom-dark: #000000;
JSON
{
  "hex": "#0b5618",
  "rgb": {
    "r": 11,
    "g": 86,
    "b": 24
  },
  "hsl": {
    "h": 130.4,
    "s": 77.32,
    "l": 19.02
  },
  "oklch": {
    "l": 0.39628,
    "c": 0.1171,
    "h": 145.1
  },
  "luminance": 0.06793
}

Semantic roles & 50–950 ramp

primary
#0B5618
secondary
#912B80
accent
#34D3F4
background
#F5F8F5
surface
#E9EFE9
border
#C5CAC5
text
#040B03
muted
#797C78

Preview Lab

Preview with #0B5618

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

Preview Lab → · Contrast checker → · Palette generator →

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