#0C371A#0C371A

#0C371A is a dark, moderate green. Relative luminance 0.029; OKLCH L 29.9% C 0.070 H 150.4°. Best body text is #FFFFFF at 13.32:1 contrast (WCAG AA passes).

Color values

HEX#0C371A
RGBrgb(12, 55, 26)
HSLhsl(140, 64%, 13%)
HSVhsv(140, 78%, 22%)
CMYKcmyk(78.2%, 0%, 52.7%, 78.4%)
CIE-LABlab(19.58, -22.48, 14.00)
CIE-LCHlch(19.58, 26.49, 148.09°)
OKLaboklab(29.91% -0.0606 0.0344)
OKLCHoklch(29.91% 0.07 150.4)
XYZxyz(1.7041, 2.8849, 1.4441)
Luminance0.0289 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C371A #370C29
analogous
#13370C #0C371A #0C372F
triadic
#0C371A #1A0C37 #371A0C
tetradic
#0C371A #0C1337 #370C29 #372F0C
square
#0C371A #0C1337 #370C29 #372F0C
split-complementary
#0C371A #2F0C37 #370C13
monochromatic
#05190C #05190C #0C371A #176932 #229B49

Accessibility & contrast

On white

13.32
#0C371A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#0C371A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C371A
13.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C371A#FFFFFF#000000##FFFFFF
##0C371A1.0013.321.5813.32
#FFFFFF13.321.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#373218
Deuteranopia (green-blind)
#322E1C
Tritanopia (blue-blind)
#003630
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #0c371a;
/* rgb */ color: rgb(12, 55, 26);
/* oklch */ color: oklch(29.9% 0.070 150.4);
Tailwind
colors: {
  custom: {
    50: '#516e57',
    500: '#0c371a',
    950: '#000000',
  },
}
SCSS
$custom: #0c371a;
$custom-light: #516e57;
$custom-dark: #000000;
JSON
{
  "hex": "#0c371a",
  "rgb": {
    "r": 12,
    "g": 55,
    "b": 26
  },
  "hsl": {
    "h": 139.535,
    "s": 64.179,
    "l": 13.137
  },
  "oklch": {
    "l": 0.29907,
    "c": 0.06969,
    "h": 150.4
  },
  "luminance": 0.02885
}

Semantic roles & 50–950 ramp

primary
#0C371A
secondary
#732C5C
accent
#41B1E7
background
#F4F6F5
surface
#E7ECE9
border
#C3C7C5
text
#020703
muted
#787A78

Preview Lab

Preview with #0C371A

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

Preview Lab → · Contrast checker → · Palette generator →

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