#0B5116#0B5116

#0B5116 is a dark, moderate green. Relative luminance 0.060; OKLCH L 38.1% C 0.112 H 144.9°. Best body text is #FFFFFF at 9.53:1 contrast (WCAG AA passes).

Color values

HEX#0B5116
RGBrgb(11, 81, 22)
HSLhsl(129, 76%, 18%)
HSVhsv(129, 86%, 32%)
CMYKcmyk(86.4%, 0%, 72.8%, 68.2%)
CIE-LABlab(29.45, -34.02, 27.89)
CIE-LCHlch(29.45, 43.99, 140.66°)
OKLaboklab(38.06% -0.0918 0.0644)
OKLCHoklch(38.06% 0.112 144.9)
XYZxyz(3.2250, 6.0135, 1.7497)
Luminance0.0601 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B5116 #510B46
analogous
#23510B #0B5116 #0B5139
triadic
#0B5116 #160B51 #51160B
tetradic
#0B5116 #0B2351 #510B46 #51390B
square
#0B5116 #0B2351 #510B46 #51390B
split-complementary
#0B5116 #390B51 #510B23
monochromatic
#041B07 #041B07 #0B5116 #128725 #1ABD33

Accessibility & contrast

On white

9.53
#0B5116 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#0B5116 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0B5116
9.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B5116#FFFFFF#000000##FFFFFF
##0B51161.009.532.209.53
#FFFFFF9.531.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#53490E
Deuteranopia (green-blind)
#4B431B
Tritanopia (blue-blind)
#004F45
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #0b5116;
/* rgb */ color: rgb(11, 81, 22);
/* oklch */ color: oklch(38.1% 0.112 144.9);
Tailwind
colors: {
  custom: {
    50: '#598356',
    500: '#0b5116',
    950: '#000000',
  },
}
SCSS
$custom: #0b5116;
$custom-light: #598356;
$custom-dark: #000000;
JSON
{
  "hex": "#0b5116",
  "rgb": {
    "r": 11,
    "g": 81,
    "b": 22
  },
  "hsl": {
    "h": 129.429,
    "s": 76.087,
    "l": 18.039
  },
  "oklch": {
    "l": 0.38058,
    "c": 0.11215,
    "h": 144.9
  },
  "luminance": 0.06014
}

Semantic roles & 50–950 ramp

primary
#0B5116
secondary
#8D2B7D
accent
#35D5F3
background
#F5F8F5
surface
#E9EFE9
border
#C5CAC5
text
#040A03
muted
#797C78

Preview Lab

Preview with #0B5116

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

Preview Lab → · Contrast checker → · Palette generator →

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