#0C471C#0C471C

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

Color values

HEX#0C471C
RGBrgb(12, 71, 28)
HSLhsl(136, 71%, 16%)
HSVhsv(136, 83%, 28%)
CMYKcmyk(83.1%, 0%, 60.6%, 72.2%)
CIE-LABlab(25.77, -29.10, 20.49)
CIE-LCHlch(25.77, 35.59, 144.85°)
OKLaboklab(35.03% -0.0783 0.0491)
OKLCHoklch(35.03% 0.092 147.9)
XYZxyz(2.6143, 4.6682, 1.8617)
Luminance0.0467 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C471C #470C37
analogous
#1A470C #0C471C #0C473A
triadic
#0C471C #1C0C47 #471C0C
tetradic
#0C471C #0C1A47 #470C37 #473A0C
square
#0C471C #0C1A47 #470C37 #473A0C
split-complementary
#0C471C #3A0C47 #470C1A
monochromatic
#041A0A #041A0A #0C471C #157B31 #1EB045

Accessibility & contrast

On white

10.86
#0C471C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C471C
10.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C471C#FFFFFF#000000##FFFFFF
##0C471C1.0010.861.9310.86
#FFFFFF10.861.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.861.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0c471c;
/* rgb */ color: rgb(12, 71, 28);
/* oklch */ color: oklch(35.0% 0.092 147.9);
Tailwind
colors: {
  custom: {
    50: '#567b59',
    500: '#0c471c',
    950: '#000000',
  },
}
SCSS
$custom: #0c471c;
$custom-light: #567b59;
$custom-dark: #000000;
JSON
{
  "hex": "#0c471c",
  "rgb": {
    "r": 12,
    "g": 71,
    "b": 28
  },
  "hsl": {
    "h": 136.271,
    "s": 71.084,
    "l": 16.275
  },
  "oklch": {
    "l": 0.35034,
    "c": 0.09243,
    "h": 147.9
  },
  "luminance": 0.04668
}

Semantic roles & 50–950 ramp

primary
#0C471C
secondary
#832C6B
accent
#3ABDEE
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#030903
muted
#787B78

Preview Lab

Preview with #0C471C

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

Preview Lab → · Contrast checker → · Palette generator →

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