#0C370D#0C370D

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

Color values

HEX#0C370D
RGBrgb(12, 55, 13)
HSLhsl(121, 64%, 13%)
HSVhsv(121, 78%, 22%)
CMYKcmyk(78.2%, 0%, 76.4%, 78.4%)
CIE-LABlab(19.39, -24.65, 21.34)
CIE-LCHlch(19.39, 32.61, 139.11°)
OKLaboklab(29.69% -0.0669 0.0496)
OKLCHoklch(29.69% 0.083 143.4)
XYZxyz(1.5904, 2.8394, 0.8449)
Luminance0.0284 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C370D #370C36
analogous
#20370C #0C370D #0C3722
triadic
#0C370D #0D0C37 #370D0C
tetradic
#0C370D #0C2037 #370C36 #37220C
square
#0C370D #0C2037 #370C36 #37220C
split-complementary
#0C370D #220C37 #370C20
monochromatic
#051906 #051906 #0C370D #176919 #229B25

Accessibility & contrast

On white

13.39
#0C370D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C370D
13.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C370D#FFFFFF#000000##FFFFFF
##0C370D1.0013.391.5713.39
#FFFFFF13.391.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#383108
Deuteranopia (green-blind)
#332E11
Tritanopia (blue-blind)
#03352E
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #0c370d;
/* rgb */ color: rgb(12, 55, 13);
/* oklch */ color: oklch(29.7% 0.083 143.4);
Tailwind
colors: {
  custom: {
    50: '#526e4e',
    500: '#0c370d',
    950: '#000000',
  },
}
SCSS
$custom: #0c370d;
$custom-light: #526e4e;
$custom-dark: #000000;
JSON
{
  "hex": "#0c370d",
  "rgb": {
    "r": 12,
    "g": 55,
    "b": 13
  },
  "hsl": {
    "h": 121.395,
    "s": 64.179,
    "l": 13.137
  },
  "oklch": {
    "l": 0.29691,
    "c": 0.08327,
    "h": 143.4
  },
  "luminance": 0.0284
}

Semantic roles & 50–950 ramp

primary
#0C370D
secondary
#732C71
accent
#41E3E7
background
#F4F6F4
surface
#E7ECE7
border
#C3C7C3
text
#020701
muted
#787A77

Preview Lab

Preview with #0C370D

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

Preview Lab → · Contrast checker → · Palette generator →

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