#0C370E#0C370E

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

Color values

HEX#0C370E
RGBrgb(12, 55, 14)
HSLhsl(123, 64%, 13%)
HSVhsv(123, 78%, 22%)
CMYKcmyk(78.2%, 0%, 74.5%, 78.4%)
CIE-LABlab(19.40, -24.52, 20.86)
CIE-LCHlch(19.40, 32.20, 139.61°)
OKLaboklab(29.7% -0.0665 0.0486)
OKLCHoklch(29.7% 0.082 143.8)
XYZxyz(1.5970, 2.8421, 0.8798)
Luminance0.0284 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C370E #370C35
analogous
#1F370C #0C370E #0C3723
triadic
#0C370E #0E0C37 #370E0C
tetradic
#0C370E #0C1F37 #370C35 #37230C
square
#0C370E #0C1F37 #370C35 #37230C
split-complementary
#0C370E #230C37 #370C1F
monochromatic
#051906 #051906 #0C370E #17691B #229B28

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##0C370E#FFFFFF#000000##FFFFFF
##0C370E1.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)
#383109
Deuteranopia (green-blind)
#332E12
Tritanopia (blue-blind)
#03352E
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #0c370e;
/* rgb */ color: rgb(12, 55, 14);
/* oklch */ color: oklch(29.7% 0.082 143.8);
Tailwind
colors: {
  custom: {
    50: '#526e4e',
    500: '#0c370e',
    950: '#000000',
  },
}
SCSS
$custom: #0c370e;
$custom-light: #526e4e;
$custom-dark: #000000;
JSON
{
  "hex": "#0c370e",
  "rgb": {
    "r": 12,
    "g": 55,
    "b": 14
  },
  "hsl": {
    "h": 122.791,
    "s": 64.179,
    "l": 13.137
  },
  "oklch": {
    "l": 0.29703,
    "c": 0.08236,
    "h": 143.8
  },
  "luminance": 0.02842
}

Semantic roles & 50–950 ramp

primary
#0C370E
secondary
#732C70
accent
#41DFE7
background
#F4F6F4
surface
#E7ECE7
border
#C3C7C3
text
#020702
muted
#787A78

Preview Lab

Preview with #0C370E

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

Preview Lab → · Contrast checker → · Palette generator →

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