#0C390E#0C390E

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

Color values

HEX#0C390E
RGBrgb(12, 57, 14)
HSLhsl(123, 65%, 14%)
HSVhsv(123, 79%, 22%)
CMYKcmyk(78.9%, 0%, 75.4%, 77.6%)
CIE-LABlab(20.19, -25.38, 21.76)
CIE-LCHlch(20.19, 33.43, 139.39°)
OKLaboklab(30.35% -0.0688 0.0505)
OKLCHoklch(30.35% 0.085 143.7)
XYZxyz(1.6939, 3.0359, 0.9121)
Luminance0.0304 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C390E #390C37
analogous
#20390C #0C390E #0C3924
triadic
#0C390E #0E0C39 #390E0C
tetradic
#0C390E #0C2039 #390C37 #39240C
square
#0C390E #0C2039 #390C37 #39240C
split-complementary
#0C390E #240C39 #390C20
monochromatic
#051906 #051906 #0C390E #176C1A #219E27

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##0C390E#FFFFFF#000000##FFFFFF
##0C390E1.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)
#3A3309
Deuteranopia (green-blind)
#352F12
Tritanopia (blue-blind)
#023730
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #0c390e;
/* rgb */ color: rgb(12, 57, 14);
/* oklch */ color: oklch(30.4% 0.085 143.7);
Tailwind
colors: {
  custom: {
    50: '#53704e',
    500: '#0c390e',
    950: '#000000',
  },
}
SCSS
$custom: #0c390e;
$custom-light: #53704e;
$custom-dark: #000000;
JSON
{
  "hex": "#0c390e",
  "rgb": {
    "r": 12,
    "g": 57,
    "b": 14
  },
  "hsl": {
    "h": 122.667,
    "s": 65.217,
    "l": 13.529
  },
  "oklch": {
    "l": 0.30355,
    "c": 0.08532,
    "h": 143.7
  },
  "luminance": 0.03036
}

Semantic roles & 50–950 ramp

primary
#0C390E
secondary
#752C72
accent
#40E1E8
background
#F4F6F4
surface
#E7ECE7
border
#C3C7C3
text
#030702
muted
#787A78

Preview Lab

Preview with #0C390E

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

Preview Lab → · Contrast checker → · Palette generator →

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