#0C3305#0C3305

#0C3305 is a dark, moderate green. Relative luminance 0.025; OKLCH L 28.3% C 0.084 H 140.7°. Best body text is #FFFFFF at 14.08:1 contrast (WCAG AA passes).

Color values

HEX#0C3305
RGBrgb(12, 51, 5)
HSLhsl(111, 82%, 11%)
HSVhsv(111, 90%, 20%)
CMYKcmyk(76.5%, 0%, 90.2%, 80%)
CIE-LABlab(17.72, -23.88, 22.75)
CIE-LCHlch(17.72, 32.98, 136.39°)
OKLaboklab(28.29% -0.0654 0.0534)
OKLCHoklch(28.29% 0.084 140.7)
XYZxyz(1.3628, 2.4566, 0.5459)
Luminance0.0246 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C3305 #2C0533
analogous
#233305 #0C3305 #053315
triadic
#0C3305 #050C33 #33050C
tetradic
#0C3305 #052333 #2C0533 #331505
square
#0C3305 #052333 #2C0533 #331505
split-complementary
#0C3305 #150533 #330523
monochromatic
#071C03 #071C03 #0C3305 #196B0A #26A210

Accessibility & contrast

On white

14.08
#0C3305 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#0C3305 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C3305
14.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C3305#FFFFFF#000000##FFFFFF
##0C33051.0014.081.4914.08
#FFFFFF14.081.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#352D00
Deuteranopia (green-blind)
#302A09
Tritanopia (blue-blind)
#06312A
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #0c3305;
/* rgb */ color: rgb(12, 51, 5);
/* oklch */ color: oklch(28.3% 0.084 140.7);
Tailwind
colors: {
  custom: {
    50: '#516b49',
    500: '#0c3305',
    950: '#000000',
  },
}
SCSS
$custom: #0c3305;
$custom-light: #516b49;
$custom-dark: #000000;
JSON
{
  "hex": "#0c3305",
  "rgb": {
    "r": 12,
    "g": 51,
    "b": 5
  },
  "hsl": {
    "h": 110.87,
    "s": 82.143,
    "l": 10.98
  },
  "oklch": {
    "l": 0.28285,
    "c": 0.08441,
    "h": 140.7
  },
  "luminance": 0.02457
}

Semantic roles & 50–950 ramp

primary
#0C3305
secondary
#671F74
accent
#2FF8DA
background
#F4F6F4
surface
#E7EBE7
border
#C3C6C3
text
#020601
muted
#787A77

Preview Lab

Preview with #0C3305

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

Preview Lab → · Contrast checker → · Palette generator →

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