#0C411E#0C411E

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

Color values

HEX#0C411E
RGBrgb(12, 65, 30)
HSLhsl(140, 69%, 15%)
HSVhsv(140, 82%, 25%)
CMYKcmyk(81.5%, 0%, 53.8%, 74.5%)
CIE-LABlab(23.51, -26.19, 16.52)
CIE-LCHlch(23.51, 30.97, 147.77°)
OKLaboklab(33.18% -0.0705 0.0403)
OKLCHoklch(33.18% 0.081 150.2)
XYZxyz(2.2761, 3.9522, 1.8709)
Luminance0.0395 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C411E #410C2F
analogous
#15410C #0C411E #0C4138
triadic
#0C411E #1E0C41 #411E0C
tetradic
#0C411E #0C1541 #410C2F #41380C
square
#0C411E #0C1541 #410C2F #41380C
split-complementary
#0C411E #380C41 #410C15
monochromatic
#051A0C #051A0C #0C411E #167536 #1FA84E

Accessibility & contrast

On white

11.73
#0C411E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C411E
11.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C411E#FFFFFF#000000##FFFFFF
##0C411E1.0011.731.7911.73
#FFFFFF11.731.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.731.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0c411e;
/* rgb */ color: rgb(12, 65, 30);
/* oklch */ color: oklch(33.2% 0.081 150.2);
Tailwind
colors: {
  custom: {
    50: '#54765a',
    500: '#0c411e',
    950: '#000000',
  },
}
SCSS
$custom: #0c411e;
$custom-light: #54765a;
$custom-dark: #000000;
JSON
{
  "hex": "#0c411e",
  "rgb": {
    "r": 12,
    "g": 65,
    "b": 30
  },
  "hsl": {
    "h": 140.377,
    "s": 68.831,
    "l": 15.098
  },
  "oklch": {
    "l": 0.33179,
    "c": 0.08121,
    "h": 150.2
  },
  "luminance": 0.03952
}

Semantic roles & 50–950 ramp

primary
#0C411E
secondary
#7D2C61
accent
#3CB0EC
background
#F5F7F5
surface
#E9EDE9
border
#C5C8C5
text
#030804
muted
#787B79

Preview Lab

Preview with #0C411E

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

Preview Lab → · Contrast checker → · Palette generator →

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