#0C471A#0C471A

#0C471A is a dark, moderate green. Relative luminance 0.047; OKLCH L 35.0% C 0.094 H 147.0°. Best body text is #FFFFFF at 10.87:1 contrast (WCAG AA passes).

Color values

HEX#0C471A
RGBrgb(12, 71, 26)
HSLhsl(134, 71%, 16%)
HSVhsv(134, 83%, 28%)
CMYKcmyk(83.1%, 0%, 63.4%, 72.2%)
CIE-LABlab(25.74, -29.43, 21.59)
CIE-LCHlch(25.74, 36.50, 143.74°)
OKLaboklab(35% -0.0792 0.0514)
OKLCHoklch(35% 0.094 147)
XYZxyz(2.5911, 4.6589, 1.7398)
Luminance0.0466 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C471A #470C39
analogous
#1C470C #0C471A #0C4738
triadic
#0C471A #1A0C47 #471A0C
tetradic
#0C471A #0C1C47 #470C39 #47380C
square
#0C471A #0C1C47 #470C39 #47380C
split-complementary
#0C471A #380C47 #470C1C
monochromatic
#041A0A #041A0A #0C471A #157B2D #1EB040

Accessibility & contrast

On white

10.87
#0C471A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#0C471A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C471A
10.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C471A#FFFFFF#000000##FFFFFF
##0C471A1.0010.871.9310.87
#FFFFFF10.871.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#484016
Deuteranopia (green-blind)
#413B1E
Tritanopia (blue-blind)
#00453D
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #0c471a;
/* rgb */ color: rgb(12, 71, 26);
/* oklch */ color: oklch(35.0% 0.094 147.0);
Tailwind
colors: {
  custom: {
    50: '#567b58',
    500: '#0c471a',
    950: '#000000',
  },
}
SCSS
$custom: #0c471a;
$custom-light: #567b58;
$custom-dark: #000000;
JSON
{
  "hex": "#0c471a",
  "rgb": {
    "r": 12,
    "g": 71,
    "b": 26
  },
  "hsl": {
    "h": 134.237,
    "s": 71.084,
    "l": 16.275
  },
  "oklch": {
    "l": 0.35002,
    "c": 0.09443,
    "h": 147
  },
  "luminance": 0.04659
}

Semantic roles & 50–950 ramp

primary
#0C471A
secondary
#832C6E
accent
#3AC3EE
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#030903
muted
#787B78

Preview Lab

Preview with #0C471A

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

Preview Lab → · Contrast checker → · Palette generator →

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