#0C470C#0C470C

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

Color values

HEX#0C470C
RGBrgb(12, 71, 12)
HSLhsl(120, 71%, 16%)
HSVhsv(120, 83%, 28%)
CMYKcmyk(83.1%, 0%, 83.1%, 72.2%)
CIE-LABlab(25.60, -31.17, 28.38)
CIE-LCHlch(25.60, 42.16, 137.68°)
OKLaboklab(34.84% -0.0846 0.0641)
OKLCHoklch(34.84% 0.106 142.9)
XYZxyz(2.4711, 4.6109, 1.1075)
Luminance0.0461 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C470C #470C47
analogous
#2A470C #0C470C #0C472A
triadic
#0C470C #0C0C47 #470C0C
tetradic
#0C470C #0C2A47 #470C47 #472A0C
square
#0C470C #0C2A47 #470C47 #472A0C
split-complementary
#0C470C #2A0C47 #470C2A
monochromatic
#041A04 #041A04 #0C470C #157B15 #1EB01E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #0c470c;
/* rgb */ color: rgb(12, 71, 12);
/* oklch */ color: oklch(34.8% 0.106 142.9);
Tailwind
colors: {
  custom: {
    50: '#577b4f',
    500: '#0c470c',
    950: '#000000',
  },
}
SCSS
$custom: #0c470c;
$custom-light: #577b4f;
$custom-dark: #000000;
JSON
{
  "hex": "#0c470c",
  "rgb": {
    "r": 12,
    "g": 71,
    "b": 12
  },
  "hsl": {
    "h": 120,
    "s": 71.084,
    "l": 16.275
  },
  "oklch": {
    "l": 0.34837,
    "c": 0.10613,
    "h": 142.9
  },
  "luminance": 0.04611
}

Semantic roles & 50–950 ramp

primary
#0C470C
secondary
#832C83
accent
#3AEEEE
background
#F5F7F4
surface
#E9EEE7
border
#C5C9C3
text
#040902
muted
#797B78

Preview Lab

Preview with #0C470C

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

Preview Lab → · Contrast checker → · Palette generator →

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