#0C411F#0C411F

#0C411F is a dark, moderate green. Relative luminance 0.040; OKLCH L 33.2% C 0.080 H 150.8°. Best body text is #FFFFFF at 11.72:1 contrast (WCAG AA passes).

Color values

HEX#0C411F
RGBrgb(12, 65, 31)
HSLhsl(142, 69%, 15%)
HSVhsv(142, 82%, 25%)
CMYKcmyk(81.5%, 0%, 52.3%, 74.5%)
CIE-LABlab(23.53, -26.00, 15.92)
CIE-LCHlch(23.53, 30.49, 148.51°)
OKLaboklab(33.2% -0.07 0.039)
OKLCHoklch(33.2% 0.08 150.8)
XYZxyz(2.2890, 3.9574, 1.9393)
Luminance0.0396 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C411F #410C2E
analogous
#14410C #0C411F #0C4139
triadic
#0C411F #1F0C41 #411F0C
tetradic
#0C411F #0C1441 #410C2E #41390C
square
#0C411F #0C1441 #410C2E #41390C
split-complementary
#0C411F #390C41 #410C14
monochromatic
#051A0C #051A0C #0C411F #167538 #1FA850

Accessibility & contrast

On white

11.72
#0C411F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#0C411F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C411F
11.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C411F#FFFFFF#000000##FFFFFF
##0C411F1.0011.721.7911.72
#FFFFFF11.721.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#413B1C
Deuteranopia (green-blind)
#3B3621
Tritanopia (blue-blind)
#004039
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #0c411f;
/* rgb */ color: rgb(12, 65, 31);
/* oklch */ color: oklch(33.2% 0.080 150.8);
Tailwind
colors: {
  custom: {
    50: '#54765b',
    500: '#0c411f',
    950: '#000000',
  },
}
SCSS
$custom: #0c411f;
$custom-light: #54765b;
$custom-dark: #000000;
JSON
{
  "hex": "#0c411f",
  "rgb": {
    "r": 12,
    "g": 65,
    "b": 31
  },
  "hsl": {
    "h": 141.509,
    "s": 68.831,
    "l": 15.098
  },
  "oklch": {
    "l": 0.33199,
    "c": 0.08011,
    "h": 150.8
  },
  "luminance": 0.03958
}

Semantic roles & 50–950 ramp

primary
#0C411F
secondary
#7D2C60
accent
#3CADEC
background
#F5F7F5
surface
#E9EDE9
border
#C5C8C5
text
#030804
muted
#787B79

Preview Lab

Preview with #0C411F

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

Preview Lab → · Contrast checker → · Palette generator →

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