#0B5216#0B5216

#0B5216 is a dark, moderate green. Relative luminance 0.062; OKLCH L 38.4% C 0.113 H 144.9°. Best body text is #FFFFFF at 9.41:1 contrast (WCAG AA passes).

Color values

HEX#0B5216
RGBrgb(11, 82, 22)
HSLhsl(129, 76%, 18%)
HSVhsv(129, 87%, 32%)
CMYKcmyk(86.6%, 0%, 73.2%, 67.8%)
CIE-LABlab(29.82, -34.39, 28.29)
CIE-LCHlch(29.82, 44.53, 140.55°)
OKLaboklab(38.37% -0.0928 0.0653)
OKLCHoklch(38.37% 0.113 144.9)
XYZxyz(3.2999, 6.1633, 1.7746)
Luminance0.0616 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B5216 #520B47
analogous
#23520B #0B5216 #0B5239
triadic
#0B5216 #160B52 #52160B
tetradic
#0B5216 #0B2352 #520B47 #52390B
square
#0B5216 #0B2352 #520B47 #52390B
split-complementary
#0B5216 #390B52 #520B23
monochromatic
#041B07 #041C08 #0B5216 #128824 #19BE33

Accessibility & contrast

On white

9.41
#0B5216 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#0B5216 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0B5216
9.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B5216#FFFFFF#000000##FFFFFF
##0B52161.009.412.239.41
#FFFFFF9.411.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#54490E
Deuteranopia (green-blind)
#4C441C
Tritanopia (blue-blind)
#005046
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #0b5216;
/* rgb */ color: rgb(11, 82, 22);
/* oklch */ color: oklch(38.4% 0.113 144.9);
Tailwind
colors: {
  custom: {
    50: '#598356',
    500: '#0b5216',
    950: '#000000',
  },
}
SCSS
$custom: #0b5216;
$custom-light: #598356;
$custom-dark: #000000;
JSON
{
  "hex": "#0b5216",
  "rgb": {
    "r": 11,
    "g": 82,
    "b": 22
  },
  "hsl": {
    "h": 129.296,
    "s": 76.344,
    "l": 18.235
  },
  "oklch": {
    "l": 0.38369,
    "c": 0.11346,
    "h": 144.9
  },
  "luminance": 0.06164
}

Semantic roles & 50–950 ramp

primary
#0B5216
secondary
#8E2B7E
accent
#35D5F3
background
#F5F8F5
surface
#E9EFE9
border
#C5CAC5
text
#040B03
muted
#797C78

Preview Lab

Preview with #0B5216

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

Preview Lab → · Contrast checker → · Palette generator →

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