#0C390C#0C390C

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

Color values

HEX#0C390C
RGBrgb(12, 57, 12)
HSLhsl(120, 65%, 14%)
HSVhsv(120, 79%, 22%)
CMYKcmyk(78.9%, 0%, 78.9%, 77.6%)
CIE-LABlab(20.17, -25.62, 22.70)
CIE-LCHlch(20.17, 34.23, 138.47°)
OKLaboklab(30.33% -0.0696 0.0523)
OKLCHoklch(30.33% 0.087 143.1)
XYZxyz(1.6810, 3.0308, 0.8442)
Luminance0.0303 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C390C #390C39
analogous
#22390C #0C390C #0C3922
triadic
#0C390C #0C0C39 #390C0C
tetradic
#0C390C #0C2239 #390C39 #39220C
square
#0C390C #0C2239 #390C39 #39220C
split-complementary
#0C390C #220C39 #390C22
monochromatic
#051905 #051905 #0C390C #176C17 #219E21

Accessibility & contrast

On white

13.07
#0C390C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C390C
13.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C390C#FFFFFF#000000##FFFFFF
##0C390C1.0013.071.6113.07
#FFFFFF13.071.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.071.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0c390c;
/* rgb */ color: rgb(12, 57, 12);
/* oklch */ color: oklch(30.3% 0.087 143.1);
Tailwind
colors: {
  custom: {
    50: '#53704d',
    500: '#0c390c',
    950: '#000000',
  },
}
SCSS
$custom: #0c390c;
$custom-light: #53704d;
$custom-dark: #000000;
JSON
{
  "hex": "#0c390c",
  "rgb": {
    "r": 12,
    "g": 57,
    "b": 12
  },
  "hsl": {
    "h": 120,
    "s": 65.217,
    "l": 13.529
  },
  "oklch": {
    "l": 0.30332,
    "c": 0.08705,
    "h": 143.1
  },
  "luminance": 0.03031
}

Semantic roles & 50–950 ramp

primary
#0C390C
secondary
#752C75
accent
#40E8E8
background
#F4F6F4
surface
#E8ECE7
border
#C4C7C3
text
#030701
muted
#787A77

Preview Lab

Preview with #0C390C

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

Preview Lab → · Contrast checker → · Palette generator →

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