#0C370A#0C370A

#0C370A is a dark, moderate green. Relative luminance 0.028; OKLCH L 29.7% C 0.086 H 142.5°. Best body text is #FFFFFF at 13.41:1 contrast (WCAG AA passes).

Color values

HEX#0C370A
RGBrgb(12, 55, 10)
HSLhsl(117, 69%, 13%)
HSVhsv(117, 82%, 22%)
CMYKcmyk(78.2%, 0%, 81.8%, 78.4%)
CIE-LABlab(19.36, -25.01, 22.64)
CIE-LCHlch(19.36, 33.73, 137.85°)
OKLaboklab(29.66% -0.068 0.0523)
OKLCHoklch(29.66% 0.086 142.5)
XYZxyz(1.5725, 2.8323, 0.7509)
Luminance0.0283 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C370A #350A37
analogous
#22370A #0C370A #0A371E
triadic
#0C370A #0A0C37 #370A0C
tetradic
#0C370A #0A2237 #350A37 #371E0A
square
#0C370A #0A2237 #350A37 #371E0A
split-complementary
#0C370A #1E0A37 #370A22
monochromatic
#061A05 #061A05 #0C370A #176B13 #239F1D

Accessibility & contrast

On white

13.41
#0C370A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#0C370A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C370A
13.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C370A#FFFFFF#000000##FFFFFF
##0C370A1.0013.411.5713.41
#FFFFFF13.411.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#383104
Deuteranopia (green-blind)
#332E0E
Tritanopia (blue-blind)
#04352E
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #0c370a;
/* rgb */ color: rgb(12, 55, 10);
/* oklch */ color: oklch(29.7% 0.086 142.5);
Tailwind
colors: {
  custom: {
    50: '#526e4c',
    500: '#0c370a',
    950: '#000000',
  },
}
SCSS
$custom: #0c370a;
$custom-light: #526e4c;
$custom-dark: #000000;
JSON
{
  "hex": "#0c370a",
  "rgb": {
    "r": 12,
    "g": 55,
    "b": 10
  },
  "hsl": {
    "h": 117.333,
    "s": 69.231,
    "l": 12.745
  },
  "oklch": {
    "l": 0.29657,
    "c": 0.08579,
    "h": 142.5
  },
  "luminance": 0.02832
}

Semantic roles & 50–950 ramp

primary
#0C370A
secondary
#712874
accent
#3CECE4
background
#F4F6F4
surface
#E7ECE7
border
#C3C7C3
text
#030701
muted
#787A77

Preview Lab

Preview with #0C370A

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

Preview Lab → · Contrast checker → · Palette generator →

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