#0B471C#0B471C

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

Color values

HEX#0B471C
RGBrgb(11, 71, 28)
HSLhsl(137, 73%, 16%)
HSVhsv(137, 85%, 28%)
CMYKcmyk(84.5%, 0%, 60.6%, 72.2%)
CIE-LABlab(25.75, -29.28, 20.46)
CIE-LCHlch(25.75, 35.72, 145.05°)
OKLaboklab(35.01% -0.0787 0.0491)
OKLCHoklch(35.01% 0.093 148.1)
XYZxyz(2.6006, 4.6612, 1.8610)
Luminance0.0466 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B471C #470B36
analogous
#18470B #0B471C #0B473A
triadic
#0B471C #1C0B47 #471C0B
tetradic
#0B471C #0B1847 #470B36 #473A0B
square
#0B471C #0B1847 #470B36 #473A0B
split-complementary
#0B471C #3A0B47 #470B18
monochromatic
#041A0A #041A0A #0B471C #137C31 #1BB146

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##0B471C#FFFFFF#000000##FFFFFF
##0B471C1.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)
#484018
Deuteranopia (green-blind)
#413B1F
Tritanopia (blue-blind)
#00453D
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #0b471c;
/* rgb */ color: rgb(11, 71, 28);
/* oklch */ color: oklch(35.0% 0.093 148.1);
Tailwind
colors: {
  custom: {
    50: '#567b59',
    500: '#0b471c',
    950: '#000000',
  },
}
SCSS
$custom: #0b471c;
$custom-light: #567b59;
$custom-dark: #000000;
JSON
{
  "hex": "#0b471c",
  "rgb": {
    "r": 11,
    "g": 71,
    "b": 28
  },
  "hsl": {
    "h": 137,
    "s": 73.171,
    "l": 16.078
  },
  "oklch": {
    "l": 0.35011,
    "c": 0.09275,
    "h": 148.1
  },
  "luminance": 0.04661
}

Semantic roles & 50–950 ramp

primary
#0B471C
secondary
#832A6A
accent
#38BCF0
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#030903
muted
#787B78

Preview Lab

Preview with #0B471C

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

Preview Lab → · Contrast checker → · Palette generator →

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