#0C470F#0C470F

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

Color values

HEX#0C470F
RGBrgb(12, 71, 15)
HSLhsl(123, 71%, 16%)
HSVhsv(123, 83%, 28%)
CMYKcmyk(83.1%, 0%, 78.9%, 72.2%)
CIE-LABlab(25.62, -30.88, 27.10)
CIE-LCHlch(25.62, 41.09, 138.73°)
OKLaboklab(34.86% -0.0837 0.0618)
OKLCHoklch(34.86% 0.104 143.5)
XYZxyz(2.4909, 4.6188, 1.2121)
Luminance0.0462 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C470F #470C44
analogous
#27470C #0C470F #0C472D
triadic
#0C470F #0F0C47 #470F0C
tetradic
#0C470F #0C2747 #470C44 #472D0C
square
#0C470F #0C2747 #470C44 #472D0C
split-complementary
#0C470F #2D0C47 #470C27
monochromatic
#041A06 #041A06 #0C470F #157B1A #1EB025

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #0c470f;
/* rgb */ color: rgb(12, 71, 15);
/* oklch */ color: oklch(34.9% 0.104 143.5);
Tailwind
colors: {
  custom: {
    50: '#577b51',
    500: '#0c470f',
    950: '#000000',
  },
}
SCSS
$custom: #0c470f;
$custom-light: #577b51;
$custom-dark: #000000;
JSON
{
  "hex": "#0c470f",
  "rgb": {
    "r": 12,
    "g": 71,
    "b": 15
  },
  "hsl": {
    "h": 123.051,
    "s": 71.084,
    "l": 16.275
  },
  "oklch": {
    "l": 0.34864,
    "c": 0.10403,
    "h": 143.5
  },
  "luminance": 0.04619
}

Semantic roles & 50–950 ramp

primary
#0C470F
secondary
#832C7E
accent
#3AE5EE
background
#F5F7F4
surface
#E9EEE7
border
#C5C9C3
text
#040902
muted
#797B78

Preview Lab

Preview with #0C470F

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

Preview Lab → · Contrast checker → · Palette generator →

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