#0C371E#0C371E

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

Color values

HEX#0C371E
RGBrgb(12, 55, 30)
HSLhsl(145, 64%, 13%)
HSVhsv(145, 78%, 22%)
CMYKcmyk(78.2%, 0%, 45.5%, 78.4%)
CIE-LABlab(19.66, -21.61, 11.52)
CIE-LCHlch(19.66, 24.49, 151.93°)
OKLaboklab(30% -0.0584 0.0287)
OKLCHoklch(30% 0.065 153.8)
XYZxyz(1.7520, 2.9041, 1.6963)
Luminance0.0290 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C371E #370C25
analogous
#0F370C #0C371E #0C3733
triadic
#0C371E #1E0C37 #371E0C
tetradic
#0C371E #0C0F37 #370C25 #37330C
square
#0C371E #0C0F37 #370C25 #37330C
split-complementary
#0C371E #330C37 #370C0F
monochromatic
#05190E #05190E #0C371E #176939 #229B55

Accessibility & contrast

On white

13.28
#0C371E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C371E
13.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C371E#FFFFFF#000000##FFFFFF
##0C371E1.0013.281.5813.28
#FFFFFF13.281.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#37321C
Deuteranopia (green-blind)
#312E20
Tritanopia (blue-blind)
#003631
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #0c371e;
/* rgb */ color: rgb(12, 55, 30);
/* oklch */ color: oklch(30.0% 0.065 153.8);
Tailwind
colors: {
  custom: {
    50: '#516e5a',
    500: '#0c371e',
    950: '#000000',
  },
}
SCSS
$custom: #0c371e;
$custom-light: #516e5a;
$custom-dark: #000000;
JSON
{
  "hex": "#0c371e",
  "rgb": {
    "r": 12,
    "g": 55,
    "b": 30
  },
  "hsl": {
    "h": 145.116,
    "s": 64.179,
    "l": 13.137
  },
  "oklch": {
    "l": 0.29998,
    "c": 0.06508,
    "h": 153.8
  },
  "luminance": 0.02904
}

Semantic roles & 50–950 ramp

primary
#0C371E
secondary
#732C55
accent
#41A1E7
background
#F4F6F5
surface
#E7ECE9
border
#C3C7C5
text
#020703
muted
#787A78

Preview Lab

Preview with #0C371E

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

Preview Lab → · Contrast checker → · Palette generator →

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