#0B470B#0B470B

#0B470B is a dark, moderate green. Relative luminance 0.046; OKLCH L 34.8% C 0.107 H 142.8°. Best body text is #FFFFFF at 10.94:1 contrast (WCAG AA passes).

Color values

HEX#0B470B
RGBrgb(11, 71, 11)
HSLhsl(120, 73%, 16%)
HSVhsv(120, 85%, 28%)
CMYKcmyk(84.5%, 0%, 84.5%, 72.2%)
CIE-LABlab(25.57, -31.44, 28.76)
CIE-LCHlch(25.57, 42.61, 137.55°)
OKLaboklab(34.81% -0.0853 0.0647)
OKLCHoklch(34.81% 0.107 142.8)
XYZxyz(2.4515, 4.6015, 1.0755)
Luminance0.0460 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B470B #470B47
analogous
#29470B #0B470B #0B4729
triadic
#0B470B #0B0B47 #470B0B
tetradic
#0B470B #0B2947 #470B47 #47290B
square
#0B470B #0B2947 #470B47 #47290B
split-complementary
#0B470B #290B47 #470B29
monochromatic
#041A04 #041A04 #0B470B #137C13 #1BB11B

Accessibility & contrast

On white

10.94
#0B470B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#0B470B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0B470B
10.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B470B#FFFFFF#000000##FFFFFF
##0B470B1.0010.941.9210.94
#FFFFFF10.941.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#493F02
Deuteranopia (green-blind)
#423B12
Tritanopia (blue-blind)
#00453C
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #0b470b;
/* rgb */ color: rgb(11, 71, 11);
/* oklch */ color: oklch(34.8% 0.107 142.8);
Tailwind
colors: {
  custom: {
    50: '#577b4f',
    500: '#0b470b',
    950: '#000000',
  },
}
SCSS
$custom: #0b470b;
$custom-light: #577b4f;
$custom-dark: #000000;
JSON
{
  "hex": "#0b470b",
  "rgb": {
    "r": 11,
    "g": 71,
    "b": 11
  },
  "hsl": {
    "h": 120,
    "s": 73.171,
    "l": 16.078
  },
  "oklch": {
    "l": 0.34805,
    "c": 0.1071,
    "h": 142.8
  },
  "luminance": 0.04602
}

Semantic roles & 50–950 ramp

primary
#0B470B
secondary
#832A83
accent
#38F0F0
background
#F5F7F4
surface
#E9EEE7
border
#C5C9C3
text
#040902
muted
#797B78

Preview Lab

Preview with #0B470B

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

Preview Lab → · Contrast checker → · Palette generator →

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