#0C370B#0C370B

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

Color values

HEX#0C370B
RGBrgb(12, 55, 11)
HSLhsl(119, 67%, 13%)
HSVhsv(119, 80%, 22%)
CMYKcmyk(78.2%, 0%, 80%, 78.4%)
CIE-LABlab(19.37, -24.89, 22.23)
CIE-LCHlch(19.37, 33.38, 138.24°)
OKLaboklab(29.67% -0.0677 0.0514)
OKLCHoklch(29.67% 0.085 142.8)
XYZxyz(1.5781, 2.8345, 0.7805)
Luminance0.0284 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C370B #360B37
analogous
#22370B #0C370B #0B3720
triadic
#0C370B #0B0C37 #370B0C
tetradic
#0C370B #0B2237 #360B37 #37200B
square
#0C370B #0B2237 #360B37 #37200B
split-complementary
#0C370B #200B37 #370B22
monochromatic
#061A05 #061A05 #0C370B #176A15 #229D1F

Accessibility & contrast

On white

13.40
#0C370B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C370B
13.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C370B#FFFFFF#000000##FFFFFF
##0C370B1.0013.401.5713.40
#FFFFFF13.401.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.401.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0c370b;
/* rgb */ color: rgb(12, 55, 11);
/* oklch */ color: oklch(29.7% 0.085 142.8);
Tailwind
colors: {
  custom: {
    50: '#526e4d',
    500: '#0c370b',
    950: '#000000',
  },
}
SCSS
$custom: #0c370b;
$custom-light: #526e4d;
$custom-dark: #000000;
JSON
{
  "hex": "#0c370b",
  "rgb": {
    "r": 12,
    "g": 55,
    "b": 11
  },
  "hsl": {
    "h": 118.636,
    "s": 66.667,
    "l": 12.941
  },
  "oklch": {
    "l": 0.29667,
    "c": 0.08499,
    "h": 142.8
  },
  "luminance": 0.02835
}

Semantic roles & 50–950 ramp

primary
#0C370B
secondary
#722A74
accent
#3EEAE6
background
#F4F6F4
surface
#E7ECE7
border
#C3C7C3
text
#030701
muted
#787A77

Preview Lab

Preview with #0C370B

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

Preview Lab → · Contrast checker → · Palette generator →

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