#0C381D#0C381D

#0C381D is a dark, moderate green. Relative luminance 0.030; OKLCH L 30.3% C 0.068 H 152.5°. Best body text is #FFFFFF at 13.13:1 contrast (WCAG AA passes).

Color values

HEX#0C381D
RGBrgb(12, 56, 29)
HSLhsl(143, 65%, 13%)
HSVhsv(143, 79%, 22%)
CMYKcmyk(78.6%, 0%, 48.2%, 78%)
CIE-LABlab(20.02, -22.31, 12.66)
CIE-LCHlch(20.02, 25.65, 150.44°)
OKLaboklab(30.29% -0.0602 0.0314)
OKLCHoklch(30.29% 0.068 152.5)
XYZxyz(1.7874, 2.9950, 1.6461)
Luminance0.0300 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C381D #380C27
analogous
#11380C #0C381D #0C3833
triadic
#0C381D #1D0C38 #381D0C
tetradic
#0C381D #0C1138 #380C27 #38330C
square
#0C381D #0C1138 #380C27 #38330C
split-complementary
#0C381D #330C38 #380C11
monochromatic
#05190D #05190D #0C381D #176A37 #229D51

Accessibility & contrast

On white

13.13
#0C381D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C381D
13.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C381D#FFFFFF#000000##FFFFFF
##0C381D1.0013.131.6013.13
#FFFFFF13.131.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#38331B
Deuteranopia (green-blind)
#332F1F
Tritanopia (blue-blind)
#003731
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #0c381d;
/* rgb */ color: rgb(12, 56, 29);
/* oklch */ color: oklch(30.3% 0.068 152.5);
Tailwind
colors: {
  custom: {
    50: '#526f59',
    500: '#0c381d',
    950: '#000000',
  },
}
SCSS
$custom: #0c381d;
$custom-light: #526f59;
$custom-dark: #000000;
JSON
{
  "hex": "#0c381d",
  "rgb": {
    "r": 12,
    "g": 56,
    "b": 29
  },
  "hsl": {
    "h": 143.182,
    "s": 64.706,
    "l": 13.333
  },
  "oklch": {
    "l": 0.30294,
    "c": 0.0679,
    "h": 152.5
  },
  "luminance": 0.02995
}

Semantic roles & 50–950 ramp

primary
#0C381D
secondary
#742C58
accent
#40A7E8
background
#F4F6F5
surface
#E7ECE9
border
#C3C7C5
text
#020703
muted
#787A78

Preview Lab

Preview with #0C381D

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

Preview Lab → · Contrast checker → · Palette generator →

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