#0C4126#0C4126

#0C4126 is a dark, moderate green. Relative luminance 0.040; OKLCH L 33.4% C 0.072 H 156.1°. Best body text is #FFFFFF at 11.67:1 contrast (WCAG AA passes).

Color values

HEX#0C4126
RGBrgb(12, 65, 38)
HSLhsl(149, 69%, 15%)
HSVhsv(149, 82%, 25%)
CMYKcmyk(81.5%, 0%, 41.5%, 74.5%)
CIE-LABlab(23.67, -24.46, 11.70)
CIE-LCHlch(23.67, 27.12, 154.43°)
OKLaboklab(33.36% -0.0661 0.0294)
OKLCHoklch(33.36% 0.072 156.1)
XYZxyz(2.3915, 3.9984, 2.4791)
Luminance0.0400 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C4126 #410C27
analogous
#0C410C #0C4126 #0C4140
triadic
#0C4126 #260C41 #41260C
tetradic
#0C4126 #0C0C41 #410C27 #41400C
square
#0C4126 #0C0C41 #410C27 #41400C
split-complementary
#0C4126 #400C41 #410C0C
monochromatic
#051A0F #051A0F #0C4126 #167544 #1FA862

Accessibility & contrast

On white

11.67
#0C4126 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#0C4126 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C4126
11.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C4126#FFFFFF#000000##FFFFFF
##0C41261.0011.671.8011.67
#FFFFFF11.671.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#413B24
Deuteranopia (green-blind)
#3A3628
Tritanopia (blue-blind)
#00403A
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #0c4126;
/* rgb */ color: rgb(12, 65, 38);
/* oklch */ color: oklch(33.4% 0.072 156.1);
Tailwind
colors: {
  custom: {
    50: '#547660',
    500: '#0c4126',
    950: '#000000',
  },
}
SCSS
$custom: #0c4126;
$custom-light: #547660;
$custom-dark: #000000;
JSON
{
  "hex": "#0c4126",
  "rgb": {
    "r": 12,
    "g": 65,
    "b": 38
  },
  "hsl": {
    "h": 149.434,
    "s": 68.831,
    "l": 15.098
  },
  "oklch": {
    "l": 0.33356,
    "c": 0.07236,
    "h": 156.1
  },
  "luminance": 0.03999
}

Semantic roles & 50–950 ramp

primary
#0C4126
secondary
#7D2C55
accent
#3C96EC
background
#F5F7F5
surface
#E9EDE9
border
#C5C8C5
text
#030805
muted
#787B79

Preview Lab

Preview with #0C4126

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

Preview Lab → · Contrast checker → · Palette generator →

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