#0C470E#0C470E

#0C470E is a dark, moderate green. Relative luminance 0.046; OKLCH L 34.9% C 0.105 H 143.3°. Best body text is #FFFFFF at 10.92:1 contrast (WCAG AA passes).

Color values

HEX#0C470E
RGBrgb(12, 71, 14)
HSLhsl(122, 71%, 16%)
HSVhsv(122, 83%, 28%)
CMYKcmyk(83.1%, 0%, 80.3%, 72.2%)
CIE-LABlab(25.61, -30.98, 27.54)
CIE-LCHlch(25.61, 41.45, 138.36°)
OKLaboklab(34.85% -0.084 0.0626)
OKLCHoklch(34.85% 0.105 143.3)
XYZxyz(2.4840, 4.6161, 1.1755)
Luminance0.0462 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C470E #470C45
analogous
#28470C #0C470E #0C472C
triadic
#0C470E #0E0C47 #470E0C
tetradic
#0C470E #0C2847 #470C45 #472C0C
square
#0C470E #0C2847 #470C45 #472C0C
split-complementary
#0C470E #2C0C47 #470C28
monochromatic
#041A05 #041A05 #0C470E #157B18 #1EB023

Accessibility & contrast

On white

10.92
#0C470E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C470E
10.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C470E#FFFFFF#000000##FFFFFF
##0C470E1.0010.921.9210.92
#FFFFFF10.921.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.921.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0c470e;
/* rgb */ color: rgb(12, 71, 14);
/* oklch */ color: oklch(34.9% 0.105 143.3);
Tailwind
colors: {
  custom: {
    50: '#577b50',
    500: '#0c470e',
    950: '#000000',
  },
}
SCSS
$custom: #0c470e;
$custom-light: #577b50;
$custom-dark: #000000;
JSON
{
  "hex": "#0c470e",
  "rgb": {
    "r": 12,
    "g": 71,
    "b": 14
  },
  "hsl": {
    "h": 122.034,
    "s": 71.084,
    "l": 16.275
  },
  "oklch": {
    "l": 0.34854,
    "c": 0.10476,
    "h": 143.3
  },
  "luminance": 0.04616
}

Semantic roles & 50–950 ramp

primary
#0C470E
secondary
#832C80
accent
#3AE8EE
background
#F5F7F4
surface
#E9EEE7
border
#C5C9C3
text
#040902
muted
#797B78

Preview Lab

Preview with #0C470E

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

Preview Lab → · Contrast checker → · Palette generator →

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