#0B5210#0B5210

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

Color values

HEX#0B5210
RGBrgb(11, 82, 16)
HSLhsl(124, 76%, 18%)
HSVhsv(124, 87%, 32%)
CMYKcmyk(86.6%, 0%, 80.5%, 67.8%)
CIE-LABlab(29.77, -35.02, 30.92)
CIE-LCHlch(29.77, 46.72, 138.56°)
OKLaboklab(38.31% -0.0948 0.07)
OKLCHoklch(38.31% 0.118 143.6)
XYZxyz(3.2486, 6.1428, 1.5046)
Luminance0.0614 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B5210 #520B4D
analogous
#29520B #0B5210 #0B5233
triadic
#0B5210 #100B52 #52100B
tetradic
#0B5210 #0B2952 #520B4D #52330B
square
#0B5210 #0B2952 #520B4D #52330B
split-complementary
#0B5210 #330B52 #520B29
monochromatic
#041B05 #041C05 #0B5210 #12881B #19BE25

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##0B5210#FFFFFF#000000##FFFFFF
##0B52101.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)
#544905
Deuteranopia (green-blind)
#4C4417
Tritanopia (blue-blind)
#004F45
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #0b5210;
/* rgb */ color: rgb(11, 82, 16);
/* oklch */ color: oklch(38.3% 0.118 143.6);
Tailwind
colors: {
  custom: {
    50: '#5a8353',
    500: '#0b5210',
    950: '#000000',
  },
}
SCSS
$custom: #0b5210;
$custom-light: #5a8353;
$custom-dark: #000000;
JSON
{
  "hex": "#0b5210",
  "rgb": {
    "r": 11,
    "g": 82,
    "b": 16
  },
  "hsl": {
    "h": 124.225,
    "s": 76.344,
    "l": 18.235
  },
  "oklch": {
    "l": 0.3831,
    "c": 0.11783,
    "h": 143.6
  },
  "luminance": 0.06143
}

Semantic roles & 50–950 ramp

primary
#0B5210
secondary
#8E2B87
accent
#35E6F3
background
#F5F8F4
surface
#E9EFE7
border
#C5CAC3
text
#040B03
muted
#797C78

Preview Lab

Preview with #0B5210

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

Preview Lab → · Contrast checker → · Palette generator →

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