#0B4717#0B4717

#0B4717 is a dark, moderate green. Relative luminance 0.046; OKLCH L 34.9% C 0.098 H 146.1°. Best body text is #FFFFFF at 10.89:1 contrast (WCAG AA passes).

Color values

HEX#0B4717
RGBrgb(11, 71, 23)
HSLhsl(132, 73%, 16%)
HSVhsv(132, 85%, 28%)
CMYKcmyk(84.5%, 0%, 67.6%, 72.2%)
CIE-LABlab(25.68, -30.06, 23.17)
CIE-LCHlch(25.68, 37.95, 142.38°)
OKLaboklab(34.94% -0.081 0.0545)
OKLCHoklch(34.94% 0.098 146.1)
XYZxyz(2.5457, 4.6392, 1.5717)
Luminance0.0464 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B4717 #470B3B
analogous
#1D470B #0B4717 #0B4735
triadic
#0B4717 #170B47 #47170B
tetradic
#0B4717 #0B1D47 #470B3B #47350B
square
#0B4717 #0B1D47 #470B3B #47350B
split-complementary
#0B4717 #350B47 #470B1D
monochromatic
#041A09 #041A09 #0B4717 #137C28 #1BB139

Accessibility & contrast

On white

10.89
#0B4717 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#0B4717 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0B4717
10.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B4717#FFFFFF#000000##FFFFFF
##0B47171.0010.891.9310.89
#FFFFFF10.891.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#484012
Deuteranopia (green-blind)
#413B1B
Tritanopia (blue-blind)
#00453D
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #0b4717;
/* rgb */ color: rgb(11, 71, 23);
/* oklch */ color: oklch(34.9% 0.098 146.1);
Tailwind
colors: {
  custom: {
    50: '#567b56',
    500: '#0b4717',
    950: '#000000',
  },
}
SCSS
$custom: #0b4717;
$custom-light: #567b56;
$custom-dark: #000000;
JSON
{
  "hex": "#0b4717",
  "rgb": {
    "r": 11,
    "g": 71,
    "b": 23
  },
  "hsl": {
    "h": 132,
    "s": 73.171,
    "l": 16.078
  },
  "oklch": {
    "l": 0.34935,
    "c": 0.09763,
    "h": 146.1
  },
  "luminance": 0.04639
}

Semantic roles & 50–950 ramp

primary
#0B4717
secondary
#832A72
accent
#38CBF0
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#030903
muted
#787B78

Preview Lab

Preview with #0B4717

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

Preview Lab → · Contrast checker → · Palette generator →

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