#0C470D#0C470D

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

Color values

HEX#0C470D
RGBrgb(12, 71, 13)
HSLhsl(121, 71%, 16%)
HSVhsv(121, 83%, 28%)
CMYKcmyk(83.1%, 0%, 81.7%, 72.2%)
CIE-LABlab(25.60, -31.08, 27.97)
CIE-LCHlch(25.60, 41.81, 138.02°)
OKLaboklab(34.85% -0.0843 0.0634)
OKLCHoklch(34.85% 0.105 143.1)
XYZxyz(2.4773, 4.6134, 1.1406)
Luminance0.0461 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C470D #470C46
analogous
#29470C #0C470D #0C472B
triadic
#0C470D #0D0C47 #470D0C
tetradic
#0C470D #0C2947 #470C46 #472B0C
square
#0C470D #0C2947 #470C46 #472B0C
split-complementary
#0C470D #2B0C47 #470C29
monochromatic
#041A05 #041A05 #0C470D #157B17 #1EB020

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #0c470d;
/* rgb */ color: rgb(12, 71, 13);
/* oklch */ color: oklch(34.8% 0.105 143.1);
Tailwind
colors: {
  custom: {
    50: '#577b50',
    500: '#0c470d',
    950: '#000000',
  },
}
SCSS
$custom: #0c470d;
$custom-light: #577b50;
$custom-dark: #000000;
JSON
{
  "hex": "#0c470d",
  "rgb": {
    "r": 12,
    "g": 71,
    "b": 13
  },
  "hsl": {
    "h": 121.017,
    "s": 71.084,
    "l": 16.275
  },
  "oklch": {
    "l": 0.34845,
    "c": 0.10546,
    "h": 143.1
  },
  "luminance": 0.04614
}

Semantic roles & 50–950 ramp

primary
#0C470D
secondary
#832C81
accent
#3AEBEE
background
#F5F7F4
surface
#E9EEE7
border
#C5C9C3
text
#040902
muted
#797B78

Preview Lab

Preview with #0C470D

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

Preview Lab → · Contrast checker → · Palette generator →

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