#0B5211#0B5211

#0B5211 is a dark, moderate green. Relative luminance 0.061; OKLCH L 38.3% C 0.117 H 143.8°. Best body text is #FFFFFF at 9.42:1 contrast (WCAG AA passes).

Color values

HEX#0B5211
RGBrgb(11, 82, 17)
HSLhsl(125, 76%, 18%)
HSVhsv(125, 87%, 32%)
CMYKcmyk(86.6%, 0%, 79.3%, 67.8%)
CIE-LABlab(29.78, -34.92, 30.51)
CIE-LCHlch(29.78, 46.37, 138.86°)
OKLaboklab(38.32% -0.0945 0.0693)
OKLCHoklch(38.32% 0.117 143.8)
XYZxyz(3.2563, 6.1458, 1.5448)
Luminance0.0615 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B5211 #520B4C
analogous
#28520B #0B5211 #0B5234
triadic
#0B5211 #110B52 #52110B
tetradic
#0B5211 #0B2852 #520B4C #52340B
square
#0B5211 #0B2852 #520B4C #52340B
split-complementary
#0B5211 #340B52 #520B28
monochromatic
#041B06 #041C06 #0B5211 #12881C #19BE27

Accessibility & contrast

On white

9.42
#0B5211 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0B5211
9.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B5211#FFFFFF#000000##FFFFFF
##0B52111.009.422.239.42
#FFFFFF9.421.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#544906
Deuteranopia (green-blind)
#4C4418
Tritanopia (blue-blind)
#004F45
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #0b5211;
/* rgb */ color: rgb(11, 82, 17);
/* oklch */ color: oklch(38.3% 0.117 143.8);
Tailwind
colors: {
  custom: {
    50: '#5a8354',
    500: '#0b5211',
    950: '#000000',
  },
}
SCSS
$custom: #0b5211;
$custom-light: #5a8354;
$custom-dark: #000000;
JSON
{
  "hex": "#0b5211",
  "rgb": {
    "r": 11,
    "g": 82,
    "b": 17
  },
  "hsl": {
    "h": 125.07,
    "s": 76.344,
    "l": 18.235
  },
  "oklch": {
    "l": 0.38319,
    "c": 0.11716,
    "h": 143.8
  },
  "luminance": 0.06146
}

Semantic roles & 50–950 ramp

primary
#0B5211
secondary
#8E2B85
accent
#35E3F3
background
#F5F8F4
surface
#E9EFE8
border
#C5CAC4
text
#040B03
muted
#797C78

Preview Lab

Preview with #0B5211

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

Preview Lab → · Contrast checker → · Palette generator →

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