#0C330A#0C330A

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

Color values

HEX#0C330A
RGBrgb(12, 51, 10)
HSLhsl(117, 67%, 12%)
HSVhsv(117, 80%, 20%)
CMYKcmyk(76.5%, 0%, 80.4%, 80%)
CIE-LABlab(17.77, -23.29, 20.77)
CIE-LCHlch(17.77, 31.20, 138.27°)
OKLaboklab(28.34% -0.0634 0.0488)
OKLCHoklch(28.34% 0.08 142.4)
XYZxyz(1.3902, 2.4676, 0.6901)
Luminance0.0247 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C330A #310A33
analogous
#21330A #0C330A #0A331D
triadic
#0C330A #0A0C33 #330A0C
tetradic
#0C330A #0A2133 #310A33 #331D0A
square
#0C330A #0A2133 #310A33 #331D0A
split-complementary
#0C330A #1D0A33 #330A21
monochromatic
#061A05 #061A05 #0C330A #186614 #24991E

Accessibility & contrast

On white

14.06
#0C330A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C330A
14.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C330A#FFFFFF#000000##FFFFFF
##0C330A1.0014.061.4914.06
#FFFFFF14.061.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#342D05
Deuteranopia (green-blind)
#302A0E
Tritanopia (blue-blind)
#05312B
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #0c330a;
/* rgb */ color: rgb(12, 51, 10);
/* oklch */ color: oklch(28.3% 0.080 142.4);
Tailwind
colors: {
  custom: {
    50: '#516b4c',
    500: '#0c330a',
    950: '#000000',
  },
}
SCSS
$custom: #0c330a;
$custom-light: #516b4c;
$custom-dark: #000000;
JSON
{
  "hex": "#0c330a",
  "rgb": {
    "r": 12,
    "g": 51,
    "b": 10
  },
  "hsl": {
    "h": 117.073,
    "s": 67.213,
    "l": 11.961
  },
  "oklch": {
    "l": 0.28342,
    "c": 0.07996,
    "h": 142.4
  },
  "luminance": 0.02468
}

Semantic roles & 50–950 ramp

primary
#0C330A
secondary
#6D2870
accent
#3EEAE2
background
#F4F6F4
surface
#E7EBE7
border
#C3C6C3
text
#020601
muted
#787A77

Preview Lab

Preview with #0C330A

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

Preview Lab → · Contrast checker → · Palette generator →

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