#0B5213#0B5213

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

Color values

HEX#0B5213
RGBrgb(11, 82, 19)
HSLhsl(127, 76%, 18%)
HSVhsv(127, 87%, 32%)
CMYKcmyk(86.6%, 0%, 76.8%, 67.8%)
CIE-LABlab(29.79, -34.72, 29.65)
CIE-LCHlch(29.79, 45.66, 139.50°)
OKLaboklab(38.34% -0.0938 0.0678)
OKLCHoklch(38.34% 0.116 144.2)
XYZxyz(3.2726, 6.1524, 1.6310)
Luminance0.0615 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B5213 #520B4A
analogous
#26520B #0B5213 #0B5236
triadic
#0B5213 #130B52 #52130B
tetradic
#0B5213 #0B2652 #520B4A #52360B
square
#0B5213 #0B2652 #520B4A #52360B
split-complementary
#0B5213 #360B52 #520B26
monochromatic
#041B06 #041C06 #0B5213 #128820 #19BE2C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##0B5213#FFFFFF#000000##FFFFFF
##0B52131.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)
#544909
Deuteranopia (green-blind)
#4C4419
Tritanopia (blue-blind)
#005045
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #0b5213;
/* rgb */ color: rgb(11, 82, 19);
/* oklch */ color: oklch(38.3% 0.116 144.2);
Tailwind
colors: {
  custom: {
    50: '#5a8355',
    500: '#0b5213',
    950: '#000000',
  },
}
SCSS
$custom: #0b5213;
$custom-light: #5a8355;
$custom-dark: #000000;
JSON
{
  "hex": "#0b5213",
  "rgb": {
    "r": 11,
    "g": 82,
    "b": 19
  },
  "hsl": {
    "h": 126.761,
    "s": 76.344,
    "l": 18.235
  },
  "oklch": {
    "l": 0.38337,
    "c": 0.11576,
    "h": 144.2
  },
  "luminance": 0.06153
}

Semantic roles & 50–950 ramp

primary
#0B5213
secondary
#8E2B83
accent
#35DDF3
background
#F5F8F5
surface
#E9EFE9
border
#C5CAC5
text
#040B03
muted
#797C78

Preview Lab

Preview with #0B5213

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

Preview Lab → · Contrast checker → · Palette generator →

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