#0C390B#0C390B

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

Color values

HEX#0C390B
RGBrgb(12, 57, 11)
HSLhsl(119, 68%, 13%)
HSVhsv(119, 81%, 22%)
CMYKcmyk(78.9%, 0%, 80.7%, 77.6%)
CIE-LABlab(20.16, -25.73, 23.13)
CIE-LCHlch(20.16, 34.60, 138.05°)
OKLaboklab(30.32% -0.0699 0.0532)
OKLCHoklch(30.32% 0.088 142.7)
XYZxyz(1.6751, 3.0284, 0.8128)
Luminance0.0303 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C390B #380B39
analogous
#23390B #0C390B #0B3921
triadic
#0C390B #0B0C39 #390B0C
tetradic
#0C390B #0B2339 #380B39 #39210B
square
#0C390B #0B2339 #380B39 #39210B
split-complementary
#0C390B #210B39 #390B23
monochromatic
#051A05 #051A05 #0C390B #176C15 #22A01F

Accessibility & contrast

On white

13.08
#0C390B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#0C390B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C390B
13.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C390B#FFFFFF#000000##FFFFFF
##0C390B1.0013.081.6113.08
#FFFFFF13.081.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A3305
Deuteranopia (green-blind)
#352F0F
Tritanopia (blue-blind)
#033730
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #0c390b;
/* rgb */ color: rgb(12, 57, 11);
/* oklch */ color: oklch(30.3% 0.088 142.7);
Tailwind
colors: {
  custom: {
    50: '#53704d',
    500: '#0c390b',
    950: '#000000',
  },
}
SCSS
$custom: #0c390b;
$custom-light: #53704d;
$custom-dark: #000000;
JSON
{
  "hex": "#0c390b",
  "rgb": {
    "r": 12,
    "g": 57,
    "b": 11
  },
  "hsl": {
    "h": 118.696,
    "s": 67.647,
    "l": 13.333
  },
  "oklch": {
    "l": 0.30321,
    "c": 0.08785,
    "h": 142.7
  },
  "luminance": 0.03029
}

Semantic roles & 50–950 ramp

primary
#0C390B
secondary
#742A76
accent
#3DEBE7
background
#F4F6F4
surface
#E8ECE7
border
#C4C7C3
text
#030701
muted
#787A77

Preview Lab

Preview with #0C390B

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

Preview Lab → · Contrast checker → · Palette generator →

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