#0C370F#0C370F

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

Color values

HEX#0C370F
RGBrgb(12, 55, 15)
HSLhsl(124, 64%, 13%)
HSVhsv(124, 78%, 22%)
CMYKcmyk(78.2%, 0%, 72.7%, 78.4%)
CIE-LABlab(19.41, -24.39, 20.36)
CIE-LCHlch(19.41, 31.77, 140.14°)
OKLaboklab(29.72% -0.066 0.0476)
OKLCHoklch(29.72% 0.081 144.2)
XYZxyz(1.6039, 2.8449, 0.9164)
Luminance0.0284 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C370F #370C34
analogous
#1E370C #0C370F #0C3724
triadic
#0C370F #0F0C37 #370F0C
tetradic
#0C370F #0C1E37 #370C34 #37240C
square
#0C370F #0C1E37 #370C34 #37240C
split-complementary
#0C370F #240C37 #370C1E
monochromatic
#051907 #051907 #0C370F #17691D #229B2A

Accessibility & contrast

On white

13.38
#0C370F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C370F
13.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C370F#FFFFFF#000000##FFFFFF
##0C370F1.0013.381.5713.38
#FFFFFF13.381.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#38310A
Deuteranopia (green-blind)
#332E12
Tritanopia (blue-blind)
#03352F
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #0c370f;
/* rgb */ color: rgb(12, 55, 15);
/* oklch */ color: oklch(29.7% 0.081 144.2);
Tailwind
colors: {
  custom: {
    50: '#526e4f',
    500: '#0c370f',
    950: '#000000',
  },
}
SCSS
$custom: #0c370f;
$custom-light: #526e4f;
$custom-dark: #000000;
JSON
{
  "hex": "#0c370f",
  "rgb": {
    "r": 12,
    "g": 55,
    "b": 15
  },
  "hsl": {
    "h": 124.186,
    "s": 64.179,
    "l": 13.137
  },
  "oklch": {
    "l": 0.29717,
    "c": 0.08143,
    "h": 144.2
  },
  "luminance": 0.02845
}

Semantic roles & 50–950 ramp

primary
#0C370F
secondary
#732C6E
accent
#41DCE7
background
#F4F6F4
surface
#E7ECE7
border
#C3C7C3
text
#020702
muted
#787A78

Preview Lab

Preview with #0C370F

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

Preview Lab → · Contrast checker → · Palette generator →

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