#0C5113#0C5113

#0C5113 is a dark, moderate green. Relative luminance 0.060; OKLCH L 38.0% C 0.114 H 144.1°. Best body text is #FFFFFF at 9.54:1 contrast (WCAG AA passes).

Color values

HEX#0C5113
RGBrgb(12, 81, 19)
HSLhsl(126, 74%, 18%)
HSVhsv(126, 85%, 32%)
CMYKcmyk(85.2%, 0%, 76.5%, 68.2%)
CIE-LABlab(29.44, -34.21, 29.28)
CIE-LCHlch(29.44, 45.03, 139.43°)
OKLaboklab(38.05% -0.0925 0.067)
OKLCHoklch(38.05% 0.114 144.1)
XYZxyz(3.2114, 6.0097, 1.6067)
Luminance0.0601 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C5113 #510C4A
analogous
#27510C #0C5113 #0C5135
triadic
#0C5113 #130C51 #51130C
tetradic
#0C5113 #0C2751 #510C4A #51350C
square
#0C5113 #0C2751 #510C4A #51350C
split-complementary
#0C5113 #350C51 #510C27
monochromatic
#041B06 #041C06 #0C5113 #148620 #1CBC2C

Accessibility & contrast

On white

9.54
#0C5113 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#0C5113 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C5113
9.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C5113#FFFFFF#000000##FFFFFF
##0C51131.009.542.209.54
#FFFFFF9.541.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#534909
Deuteranopia (green-blind)
#4B4319
Tritanopia (blue-blind)
#004F45
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #0c5113;
/* rgb */ color: rgb(12, 81, 19);
/* oklch */ color: oklch(38.0% 0.114 144.1);
Tailwind
colors: {
  custom: {
    50: '#598355',
    500: '#0c5113',
    950: '#000000',
  },
}
SCSS
$custom: #0c5113;
$custom-light: #598355;
$custom-dark: #000000;
JSON
{
  "hex": "#0c5113",
  "rgb": {
    "r": 12,
    "g": 81,
    "b": 19
  },
  "hsl": {
    "h": 126.087,
    "s": 74.194,
    "l": 18.235
  },
  "oklch": {
    "l": 0.38046,
    "c": 0.1142,
    "h": 144.1
  },
  "luminance": 0.0601
}

Semantic roles & 50–950 ramp

primary
#0C5113
secondary
#8C2C83
accent
#37DEF1
background
#F5F8F5
surface
#E9EFE9
border
#C5CAC5
text
#040A03
muted
#797C78

Preview Lab

Preview with #0C5113

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

Preview Lab → · Contrast checker → · Palette generator →

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