#0B4718#0B4718

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

Color values

HEX#0B4718
RGBrgb(11, 71, 24)
HSLhsl(133, 73%, 16%)
HSVhsv(133, 85%, 28%)
CMYKcmyk(84.5%, 0%, 66.2%, 72.2%)
CIE-LABlab(25.69, -29.92, 22.64)
CIE-LCHlch(25.69, 37.52, 142.88°)
OKLaboklab(34.95% -0.0806 0.0535)
OKLCHoklch(34.95% 0.097 146.4)
XYZxyz(2.5559, 4.6433, 1.6255)
Luminance0.0464 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B4718 #470B3A
analogous
#1C470B #0B4718 #0B4736
triadic
#0B4718 #180B47 #47180B
tetradic
#0B4718 #0B1C47 #470B3A #47360B
square
#0B4718 #0B1C47 #470B3A #47360B
split-complementary
#0B4718 #360B47 #470B1C
monochromatic
#041A09 #041A09 #0B4718 #137C2A #1BB13C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##0B4718#FFFFFF#000000##FFFFFF
##0B47181.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)
#484013
Deuteranopia (green-blind)
#413B1C
Tritanopia (blue-blind)
#00453D
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #0b4718;
/* rgb */ color: rgb(11, 71, 24);
/* oklch */ color: oklch(34.9% 0.097 146.4);
Tailwind
colors: {
  custom: {
    50: '#567b56',
    500: '#0b4718',
    950: '#000000',
  },
}
SCSS
$custom: #0b4718;
$custom-light: #567b56;
$custom-dark: #000000;
JSON
{
  "hex": "#0b4718",
  "rgb": {
    "r": 11,
    "g": 71,
    "b": 24
  },
  "hsl": {
    "h": 133,
    "s": 73.171,
    "l": 16.078
  },
  "oklch": {
    "l": 0.34949,
    "c": 0.09669,
    "h": 146.4
  },
  "luminance": 0.04644
}

Semantic roles & 50–950 ramp

primary
#0B4718
secondary
#832A70
accent
#38C8F0
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#030903
muted
#787B78

Preview Lab

Preview with #0B4718

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

Preview Lab → · Contrast checker → · Palette generator →

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