#0B470C#0B470C

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

Color values

HEX#0B470C
RGBrgb(11, 71, 12)
HSLhsl(121, 73%, 16%)
HSVhsv(121, 85%, 28%)
CMYKcmyk(84.5%, 0%, 83.1%, 72.2%)
CIE-LABlab(25.58, -31.35, 28.36)
CIE-LCHlch(25.58, 42.27, 137.87°)
OKLaboklab(34.81% -0.085 0.064)
OKLCHoklch(34.81% 0.106 143)
XYZxyz(2.4575, 4.6039, 1.1069)
Luminance0.0460 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0B470C #470B46
analogous
#28470B #0B470C #0B472A
triadic
#0B470C #0C0B47 #470C0B
tetradic
#0B470C #0B2847 #470B46 #472A0B
square
#0B470C #0B2847 #470B46 #472A0B
split-complementary
#0B470C #2A0B47 #470B28
monochromatic
#041A04 #041A04 #0B470C #137C15 #1BB11E

Accessibility & contrast

On white

10.93
#0B470C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0B470C
10.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0B470C#FFFFFF#000000##FFFFFF
##0B470C1.0010.931.9210.93
#FFFFFF10.931.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.931.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0b470c;
/* rgb */ color: rgb(11, 71, 12);
/* oklch */ color: oklch(34.8% 0.106 143.0);
Tailwind
colors: {
  custom: {
    50: '#577b4f',
    500: '#0b470c',
    950: '#000000',
  },
}
SCSS
$custom: #0b470c;
$custom-light: #577b4f;
$custom-dark: #000000;
JSON
{
  "hex": "#0b470c",
  "rgb": {
    "r": 11,
    "g": 71,
    "b": 12
  },
  "hsl": {
    "h": 121,
    "s": 73.171,
    "l": 16.078
  },
  "oklch": {
    "l": 0.34813,
    "c": 0.10645,
    "h": 143
  },
  "luminance": 0.04604
}

Semantic roles & 50–950 ramp

primary
#0B470C
secondary
#832A82
accent
#38EDF0
background
#F5F7F4
surface
#E9EEE7
border
#C5C9C3
text
#040902
muted
#797B78

Preview Lab

Preview with #0B470C

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

Preview Lab → · Contrast checker → · Palette generator →

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