#0B4517#0B4517

#0B4517 is a dark, moderate green. Relative luminance 0.044; OKLCH L 34.3% C 0.095 H 146.3°. Best body text is #FFFFFF at 11.18:1 contrast (WCAG AA passes).

Color values

HEX#0B4517
RGBrgb(11, 69, 23)
HSLhsl(132, 73%, 16%)
HSVhsv(132, 84%, 27%)
CMYKcmyk(84.1%, 0%, 66.7%, 72.9%)
CIE-LABlab(24.92, -29.26, 22.29)
CIE-LCHlch(24.92, 36.78, 142.71°)
OKLaboklab(34.3% -0.0788 0.0526)
OKLCHoklch(34.3% 0.095 146.3)
XYZxyz(2.4206, 4.3890, 1.5300)
Luminance0.0439 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B4517 #450B39
analogous
#1C450B #0B4517 #0B4534
triadic
#0B4517 #170B45 #45170B
tetradic
#0B4517 #0B1C45 #450B39 #45340B
square
#0B4517 #0B1C45 #450B39 #45340B
split-complementary
#0B4517 #340B45 #450B1C
monochromatic
#041A09 #041A09 #0B4517 #137A29 #1CAF3A

Accessibility & contrast

On white

11.18
#0B4517 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#0B4517 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0B4517
11.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B4517#FFFFFF#000000##FFFFFF
##0B45171.0011.181.8811.18
#FFFFFF11.181.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#463E12
Deuteranopia (green-blind)
#40391B
Tritanopia (blue-blind)
#00433B
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #0b4517;
/* rgb */ color: rgb(11, 69, 23);
/* oklch */ color: oklch(34.3% 0.095 146.3);
Tailwind
colors: {
  custom: {
    50: '#557956',
    500: '#0b4517',
    950: '#000000',
  },
}
SCSS
$custom: #0b4517;
$custom-light: #557956;
$custom-dark: #000000;
JSON
{
  "hex": "#0b4517",
  "rgb": {
    "r": 11,
    "g": 69,
    "b": 23
  },
  "hsl": {
    "h": 132.414,
    "s": 72.5,
    "l": 15.686
  },
  "oklch": {
    "l": 0.34302,
    "c": 0.09478,
    "h": 146.3
  },
  "luminance": 0.04389
}

Semantic roles & 50–950 ramp

primary
#0B4517
secondary
#812A6F
accent
#39C9EF
background
#F5F7F5
surface
#E9EDE9
border
#C5C8C5
text
#030903
muted
#787B78

Preview Lab

Preview with #0B4517

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

Preview Lab → · Contrast checker → · Palette generator →

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