#0C471D#0C471D

#0C471D is a dark, moderate green. Relative luminance 0.047; OKLCH L 35.1% C 0.091 H 148.4°. Best body text is #FFFFFF at 10.85:1 contrast (WCAG AA passes).

Color values

HEX#0C471D
RGBrgb(12, 71, 29)
HSLhsl(137, 71%, 16%)
HSVhsv(137, 83%, 28%)
CMYKcmyk(83.1%, 0%, 59.2%, 72.2%)
CIE-LABlab(25.78, -28.93, 19.93)
CIE-LCHlch(25.78, 35.13, 145.44°)
OKLaboklab(35.05% -0.0778 0.048)
OKLCHoklch(35.05% 0.091 148.4)
XYZxyz(2.6264, 4.6730, 1.9257)
Luminance0.0467 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C471D #470C36
analogous
#19470C #0C471D #0C473B
triadic
#0C471D #1D0C47 #471D0C
tetradic
#0C471D #0C1947 #470C36 #473B0C
square
#0C471D #0C1947 #470C36 #473B0C
split-complementary
#0C471D #3B0C47 #470C19
monochromatic
#041A0B #041A0B #0C471D #157B32 #1EB048

Accessibility & contrast

On white

10.85
#0C471D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C471D
10.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C471D#FFFFFF#000000##FFFFFF
##0C471D1.0010.851.9310.85
#FFFFFF10.851.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.851.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0c471d;
/* rgb */ color: rgb(12, 71, 29);
/* oklch */ color: oklch(35.1% 0.091 148.4);
Tailwind
colors: {
  custom: {
    50: '#567b5a',
    500: '#0c471d',
    950: '#000000',
  },
}
SCSS
$custom: #0c471d;
$custom-light: #567b5a;
$custom-dark: #000000;
JSON
{
  "hex": "#0c471d",
  "rgb": {
    "r": 12,
    "g": 71,
    "b": 29
  },
  "hsl": {
    "h": 137.288,
    "s": 71.084,
    "l": 16.275
  },
  "oklch": {
    "l": 0.35051,
    "c": 0.09141,
    "h": 148.4
  },
  "luminance": 0.04673
}

Semantic roles & 50–950 ramp

primary
#0C471D
secondary
#832C6A
accent
#3ABAEE
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#030904
muted
#787B79

Preview Lab

Preview with #0C471D

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

Preview Lab → · Contrast checker → · Palette generator →

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