#0C381A#0C381A

#0C381A is a dark, moderate green. Relative luminance 0.030; OKLCH L 30.2% C 0.071 H 150.1°. Best body text is #FFFFFF at 13.16:1 contrast (WCAG AA passes).

Color values

HEX#0C381A
RGBrgb(12, 56, 26)
HSLhsl(139, 65%, 13%)
HSVhsv(139, 79%, 22%)
CMYKcmyk(78.6%, 0%, 53.6%, 78%)
CIE-LABlab(19.97, -22.95, 14.50)
CIE-LCHlch(19.97, 27.14, 147.72°)
OKLaboklab(30.23% -0.0618 0.0355)
OKLCHoklch(30.23% 0.071 150.1)
XYZxyz(1.7521, 2.9809, 1.4601)
Luminance0.0298 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C381A #380C2A
analogous
#14380C #0C381A #0C3830
triadic
#0C381A #1A0C38 #381A0C
tetradic
#0C381A #0C1438 #380C2A #38300C
square
#0C381A #0C1438 #380C2A #38300C
split-complementary
#0C381A #300C38 #380C14
monochromatic
#05190C #05190C #0C381A #176A31 #229D49

Accessibility & contrast

On white

13.16
#0C381A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#0C381A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C381A
13.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C381A#FFFFFF#000000##FFFFFF
##0C381A1.0013.161.6013.16
#FFFFFF13.161.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#383318
Deuteranopia (green-blind)
#332F1C
Tritanopia (blue-blind)
#003731
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #0c381a;
/* rgb */ color: rgb(12, 56, 26);
/* oklch */ color: oklch(30.2% 0.071 150.1);
Tailwind
colors: {
  custom: {
    50: '#526f57',
    500: '#0c381a',
    950: '#000000',
  },
}
SCSS
$custom: #0c381a;
$custom-light: #526f57;
$custom-dark: #000000;
JSON
{
  "hex": "#0c381a",
  "rgb": {
    "r": 12,
    "g": 56,
    "b": 26
  },
  "hsl": {
    "h": 139.091,
    "s": 64.706,
    "l": 13.333
  },
  "oklch": {
    "l": 0.30229,
    "c": 0.07133,
    "h": 150.1
  },
  "luminance": 0.02981
}

Semantic roles & 50–950 ramp

primary
#0C381A
secondary
#742C5D
accent
#40B2E8
background
#F4F6F5
surface
#E7ECE9
border
#C3C7C5
text
#020703
muted
#787A78

Preview Lab

Preview with #0C381A

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

Preview Lab → · Contrast checker → · Palette generator →

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