#0C3F16#0C3F16

#0C3F16 is a dark, moderate green. Relative luminance 0.037; OKLCH L 32.4% C 0.087 H 146.4°. Best body text is #FFFFFF at 12.08:1 contrast (WCAG AA passes).

Color values

HEX#0C3F16
RGBrgb(12, 63, 22)
HSLhsl(132, 68%, 15%)
HSVhsv(132, 81%, 25%)
CMYKcmyk(81%, 0%, 65.1%, 75.3%)
CIE-LABlab(22.62, -26.76, 20.16)
CIE-LCHlch(22.62, 33.50, 143.00°)
OKLaboklab(32.4% -0.0722 0.0479)
OKLCHoklch(32.4% 0.087 146.4)
XYZxyz(2.0738, 3.6909, 1.3620)
Luminance0.0369 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C3F16 #3F0C35
analogous
#1B3F0C #0C3F16 #0C3F30
triadic
#0C3F16 #160C3F #3F160C
tetradic
#0C3F16 #0C1B3F #3F0C35 #3F300C
square
#0C3F16 #0C1B3F #3F0C35 #3F300C
split-complementary
#0C3F16 #300C3F #3F0C1B
monochromatic
#051A09 #051A09 #0C3F16 #167228 #20A63A

Accessibility & contrast

On white

12.08
#0C3F16 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#0C3F16 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C3F16
12.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C3F16#FFFFFF#000000##FFFFFF
##0C3F161.0012.081.7412.08
#FFFFFF12.081.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#403912
Deuteranopia (green-blind)
#3A3419
Tritanopia (blue-blind)
#003D36
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #0c3f16;
/* rgb */ color: rgb(12, 63, 22);
/* oklch */ color: oklch(32.4% 0.087 146.4);
Tailwind
colors: {
  custom: {
    50: '#547554',
    500: '#0c3f16',
    950: '#000000',
  },
}
SCSS
$custom: #0c3f16;
$custom-light: #547554;
$custom-dark: #000000;
JSON
{
  "hex": "#0c3f16",
  "rgb": {
    "r": 12,
    "g": 63,
    "b": 22
  },
  "hsl": {
    "h": 131.765,
    "s": 68,
    "l": 14.706
  },
  "oklch": {
    "l": 0.32403,
    "c": 0.0866,
    "h": 146.4
  },
  "luminance": 0.03691
}

Semantic roles & 50–950 ramp

primary
#0C3F16
secondary
#7B2C6C
accent
#3DC9EB
background
#F5F7F4
surface
#E9EDE7
border
#C5C8C3
text
#030803
muted
#787B78

Preview Lab

Preview with #0C3F16

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

Preview Lab → · Contrast checker → · Palette generator →

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