#0B471B#0B471B

#0B471B is a dark, moderate green. Relative luminance 0.047; OKLCH L 35.0% C 0.094 H 147.6°. Best body text is #FFFFFF at 10.87:1 contrast (WCAG AA passes).

Color values

HEX#0B471B
RGBrgb(11, 71, 27)
HSLhsl(136, 73%, 16%)
HSVhsv(136, 85%, 28%)
CMYKcmyk(84.5%, 0%, 62%, 72.2%)
CIE-LABlab(25.73, -29.44, 21.01)
CIE-LCHlch(25.73, 36.17, 144.48°)
OKLaboklab(34.99% -0.0792 0.0502)
OKLCHoklch(34.99% 0.094 147.6)
XYZxyz(2.5889, 4.6565, 1.7990)
Luminance0.0466 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B471B #470B37
analogous
#19470B #0B471B #0B4739
triadic
#0B471B #1B0B47 #471B0B
tetradic
#0B471B #0B1947 #470B37 #47390B
square
#0B471B #0B1947 #470B37 #47390B
split-complementary
#0B471B #390B47 #470B19
monochromatic
#041A0A #041A0A #0B471B #137C2F #1BB143

Accessibility & contrast

On white

10.87
#0B471B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0B471B
10.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B471B#FFFFFF#000000##FFFFFF
##0B471B1.0010.871.9310.87
#FFFFFF10.871.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.871.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0b471b;
/* rgb */ color: rgb(11, 71, 27);
/* oklch */ color: oklch(35.0% 0.094 147.6);
Tailwind
colors: {
  custom: {
    50: '#567b58',
    500: '#0b471b',
    950: '#000000',
  },
}
SCSS
$custom: #0b471b;
$custom-light: #567b58;
$custom-dark: #000000;
JSON
{
  "hex": "#0b471b",
  "rgb": {
    "r": 11,
    "g": 71,
    "b": 27
  },
  "hsl": {
    "h": 136,
    "s": 73.171,
    "l": 16.078
  },
  "oklch": {
    "l": 0.34995,
    "c": 0.09376,
    "h": 147.6
  },
  "luminance": 0.04657
}

Semantic roles & 50–950 ramp

primary
#0B471B
secondary
#832A6C
accent
#38BFF0
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#030903
muted
#787B78

Preview Lab

Preview with #0B471B

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

Preview Lab → · Contrast checker → · Palette generator →

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