#0B471A#0B471A

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

Color values

HEX#0B471A
RGBrgb(11, 71, 26)
HSLhsl(135, 73%, 16%)
HSVhsv(135, 85%, 28%)
CMYKcmyk(84.5%, 0%, 63.4%, 72.2%)
CIE-LABlab(25.72, -29.61, 21.56)
CIE-LCHlch(25.72, 36.62, 143.93°)
OKLaboklab(34.98% -0.0797 0.0513)
OKLCHoklch(34.98% 0.095 147.2)
XYZxyz(2.5775, 4.6519, 1.7391)
Luminance0.0465 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B471A #470B38
analogous
#1A470B #0B471A #0B4738
triadic
#0B471A #1A0B47 #471A0B
tetradic
#0B471A #0B1A47 #470B38 #47380B
square
#0B471A #0B1A47 #470B38 #47380B
split-complementary
#0B471A #380B47 #470B1A
monochromatic
#041A0A #041A0A #0B471A #137C2D #1BB141

Accessibility & contrast

On white

10.88
#0B471A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0B471A
10.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B471A#FFFFFF#000000##FFFFFF
##0B471A1.0010.881.9310.88
#FFFFFF10.881.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.881.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0b471a;
/* rgb */ color: rgb(11, 71, 26);
/* oklch */ color: oklch(35.0% 0.095 147.2);
Tailwind
colors: {
  custom: {
    50: '#567b58',
    500: '#0b471a',
    950: '#000000',
  },
}
SCSS
$custom: #0b471a;
$custom-light: #567b58;
$custom-dark: #000000;
JSON
{
  "hex": "#0b471a",
  "rgb": {
    "r": 11,
    "g": 71,
    "b": 26
  },
  "hsl": {
    "h": 135,
    "s": 73.171,
    "l": 16.078
  },
  "oklch": {
    "l": 0.34979,
    "c": 0.09475,
    "h": 147.2
  },
  "luminance": 0.04652
}

Semantic roles & 50–950 ramp

primary
#0B471A
secondary
#832A6D
accent
#38C2F0
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#030903
muted
#787B78

Preview Lab

Preview with #0B471A

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

Preview Lab → · Contrast checker → · Palette generator →

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