#0C5116#0C5116

#0C5116 is a dark, moderate green. Relative luminance 0.060; OKLCH L 38.1% C 0.112 H 144.8°. Best body text is #FFFFFF at 9.53:1 contrast (WCAG AA passes).

Color values

HEX#0C5116
RGBrgb(12, 81, 22)
HSLhsl(129, 74%, 18%)
HSVhsv(129, 85%, 32%)
CMYKcmyk(85.2%, 0%, 72.8%, 68.2%)
CIE-LABlab(29.46, -33.87, 27.91)
CIE-LCHlch(29.46, 43.89, 140.51°)
OKLaboklab(38.08% -0.0914 0.0645)
OKLCHoklch(38.08% 0.112 144.8)
XYZxyz(3.2386, 6.0206, 1.7503)
Luminance0.0602 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C5116 #510C47
analogous
#24510C #0C5116 #0C5138
triadic
#0C5116 #160C51 #51160C
tetradic
#0C5116 #0C2451 #510C47 #51380C
square
#0C5116 #0C2451 #510C47 #51380C
split-complementary
#0C5116 #380C51 #510C24
monochromatic
#041B07 #041C08 #0C5116 #148624 #1CBC33

Accessibility & contrast

On white

9.53
#0C5116 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C5116
9.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C5116#FFFFFF#000000##FFFFFF
##0C51161.009.532.209.53
#FFFFFF9.531.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#53490E
Deuteranopia (green-blind)
#4B431B
Tritanopia (blue-blind)
#004F45
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #0c5116;
/* rgb */ color: rgb(12, 81, 22);
/* oklch */ color: oklch(38.1% 0.112 144.8);
Tailwind
colors: {
  custom: {
    50: '#598356',
    500: '#0c5116',
    950: '#000000',
  },
}
SCSS
$custom: #0c5116;
$custom-light: #598356;
$custom-dark: #000000;
JSON
{
  "hex": "#0c5116",
  "rgb": {
    "r": 12,
    "g": 81,
    "b": 22
  },
  "hsl": {
    "h": 128.696,
    "s": 74.194,
    "l": 18.235
  },
  "oklch": {
    "l": 0.38078,
    "c": 0.11188,
    "h": 144.8
  },
  "luminance": 0.06021
}

Semantic roles & 50–950 ramp

primary
#0C5116
secondary
#8C2C7E
accent
#37D6F1
background
#F5F8F5
surface
#E9EFE9
border
#C5CAC5
text
#040A03
muted
#797C78

Preview Lab

Preview with #0C5116

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

Preview Lab → · Contrast checker → · Palette generator →

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