#0C3115#0C3115

#0C3115 is a dark, moderate green. Relative luminance 0.023; OKLCH L 27.9% C 0.065 H 148.4°. Best body text is #FFFFFF at 14.33:1 contrast (WCAG AA passes).

Color values

HEX#0C3115
RGBrgb(12, 49, 21)
HSLhsl(135, 61%, 12%)
HSVhsv(135, 76%, 19%)
CMYKcmyk(75.5%, 0%, 57.1%, 80.8%)
CIE-LABlab(17.13, -20.65, 14.07)
CIE-LCHlch(17.13, 24.99, 145.74°)
OKLaboklab(27.86% -0.0558 0.0343)
OKLCHoklch(27.86% 0.065 148.4)
XYZxyz(1.3852, 2.3288, 1.0858)
Luminance0.0233 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C3115 #310C28
analogous
#16310C #0C3115 #0C3128
triadic
#0C3115 #150C31 #31150C
tetradic
#0C3115 #0C1631 #310C28 #31280C
square
#0C3115 #0C1631 #310C28 #31280C
split-complementary
#0C3115 #280C31 #310C16
monochromatic
#06190B #06190B #0C3115 #18622A #24933F

Accessibility & contrast

On white

14.33
#0C3115 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#0C3115 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C3115
14.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C3115#FFFFFF#000000##FFFFFF
##0C31151.0014.331.4714.33
#FFFFFF14.331.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#322C13
Deuteranopia (green-blind)
#2D2917
Tritanopia (blue-blind)
#03302A
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #0c3115;
/* rgb */ color: rgb(12, 49, 21);
/* oklch */ color: oklch(27.9% 0.065 148.4);
Tailwind
colors: {
  custom: {
    50: '#506952',
    500: '#0c3115',
    950: '#000000',
  },
}
SCSS
$custom: #0c3115;
$custom-light: #506952;
$custom-dark: #000000;
JSON
{
  "hex": "#0c3115",
  "rgb": {
    "r": 12,
    "g": 49,
    "b": 21
  },
  "hsl": {
    "h": 134.595,
    "s": 60.656,
    "l": 11.961
  },
  "oklch": {
    "l": 0.27858,
    "c": 0.06545,
    "h": 148.4
  },
  "luminance": 0.02329
}

Semantic roles & 50–950 ramp

primary
#0C3115
secondary
#6D2C5D
accent
#44BDE4
background
#F4F6F4
surface
#E7EBE7
border
#C3C6C3
text
#020602
muted
#787A78

Preview Lab

Preview with #0C3115

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

Preview Lab → · Contrast checker → · Palette generator →

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