#0C371C#0C371C

#0C371C is a dark, moderate green. Relative luminance 0.029; OKLCH L 30.0% C 0.067 H 152.0°. Best body text is #FFFFFF at 13.30:1 contrast (WCAG AA passes).

Color values

HEX#0C371C
RGBrgb(12, 55, 28)
HSLhsl(142, 64%, 13%)
HSVhsv(142, 78%, 22%)
CMYKcmyk(78.2%, 0%, 49.1%, 78.4%)
CIE-LABlab(19.62, -22.06, 12.77)
CIE-LCHlch(19.62, 25.49, 149.94°)
OKLaboklab(29.95% -0.0595 0.0316)
OKLCHoklch(29.95% 0.067 152)
XYZxyz(1.7273, 2.8942, 1.5660)
Luminance0.0289 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C371C #370C27
analogous
#11370C #0C371C #0C3731
triadic
#0C371C #1C0C37 #371C0C
tetradic
#0C371C #0C1137 #370C27 #37310C
square
#0C371C #0C1137 #370C27 #37310C
split-complementary
#0C371C #310C37 #370C11
monochromatic
#05190D #05190D #0C371C #176936 #229B4F

Accessibility & contrast

On white

13.30
#0C371C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C371C
13.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C371C#FFFFFF#000000##FFFFFF
##0C371C1.0013.301.5813.30
#FFFFFF13.301.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#37321A
Deuteranopia (green-blind)
#322E1E
Tritanopia (blue-blind)
#003630
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #0c371c;
/* rgb */ color: rgb(12, 55, 28);
/* oklch */ color: oklch(30.0% 0.067 152.0);
Tailwind
colors: {
  custom: {
    50: '#516e58',
    500: '#0c371c',
    950: '#000000',
  },
}
SCSS
$custom: #0c371c;
$custom-light: #516e58;
$custom-dark: #000000;
JSON
{
  "hex": "#0c371c",
  "rgb": {
    "r": 12,
    "g": 55,
    "b": 28
  },
  "hsl": {
    "h": 142.326,
    "s": 64.179,
    "l": 13.137
  },
  "oklch": {
    "l": 0.29951,
    "c": 0.06739,
    "h": 152
  },
  "luminance": 0.02894
}

Semantic roles & 50–950 ramp

primary
#0C371C
secondary
#732C59
accent
#41A9E7
background
#F4F6F5
surface
#E7ECE9
border
#C3C7C5
text
#020703
muted
#787A78

Preview Lab

Preview with #0C371C

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

Preview Lab → · Contrast checker → · Palette generator →

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