#0C470B#0C470B

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

Color values

HEX#0C470B
RGBrgb(12, 71, 11)
HSLhsl(119, 73%, 16%)
HSVhsv(119, 85%, 28%)
CMYKcmyk(83.1%, 0%, 84.5%, 72.2%)
CIE-LABlab(25.59, -31.26, 28.78)
CIE-LCHlch(25.59, 42.49, 137.36°)
OKLaboklab(34.83% -0.0849 0.0647)
OKLCHoklch(34.83% 0.107 142.7)
XYZxyz(2.4651, 4.6085, 1.0762)
Luminance0.0461 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C470B #460B47
analogous
#2A470B #0C470B #0B4728
triadic
#0C470B #0B0C47 #470B0C
tetradic
#0C470B #0B2A47 #460B47 #47280B
square
#0C470B #0B2A47 #460B47 #47280B
split-complementary
#0C470B #280B47 #470B2A
monochromatic
#041A04 #041A04 #0C470B #157C13 #1EB11B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##0C470B#FFFFFF#000000##FFFFFF
##0C470B1.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)
#493F02
Deuteranopia (green-blind)
#423B12
Tritanopia (blue-blind)
#00453C
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #0c470b;
/* rgb */ color: rgb(12, 71, 11);
/* oklch */ color: oklch(34.8% 0.107 142.7);
Tailwind
colors: {
  custom: {
    50: '#577b4f',
    500: '#0c470b',
    950: '#000000',
  },
}
SCSS
$custom: #0c470b;
$custom-light: #577b4f;
$custom-dark: #000000;
JSON
{
  "hex": "#0c470b",
  "rgb": {
    "r": 12,
    "g": 71,
    "b": 11
  },
  "hsl": {
    "h": 119,
    "s": 73.171,
    "l": 16.078
  },
  "oklch": {
    "l": 0.34828,
    "c": 0.10678,
    "h": 142.7
  },
  "luminance": 0.04609
}

Semantic roles & 50–950 ramp

primary
#0C470B
secondary
#822A83
accent
#38F0ED
background
#F5F7F4
surface
#E9EEE7
border
#C5C9C3
text
#040902
muted
#797B78

Preview Lab

Preview with #0C470B

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

Preview Lab → · Contrast checker → · Palette generator →

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