#0C330C#0C330C

#0C330C is a dark, moderate green. Relative luminance 0.025; OKLCH L 28.4% C 0.078 H 143.2°. Best body text is #FFFFFF at 14.05:1 contrast (WCAG AA passes).

Color values

HEX#0C330C
RGBrgb(12, 51, 12)
HSLhsl(120, 62%, 12%)
HSVhsv(120, 76%, 20%)
CMYKcmyk(76.5%, 0%, 76.5%, 80%)
CIE-LABlab(17.79, -23.04, 19.93)
CIE-LCHlch(17.79, 30.47, 139.14°)
OKLaboklab(28.37% -0.0626 0.0469)
OKLCHoklch(28.37% 0.078 143.2)
XYZxyz(1.4017, 2.4722, 0.7511)
Luminance0.0247 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C330C #330C33
analogous
#20330C #0C330C #0C3320
triadic
#0C330C #0C0C33 #330C0C
tetradic
#0C330C #0C2033 #330C33 #33200C
square
#0C330C #0C2033 #330C33 #33200C
split-complementary
#0C330C #200C33 #330C20
monochromatic
#061906 #061906 #0C330C #186518 #239623

Accessibility & contrast

On white

14.05
#0C330C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C330C
14.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C330C#FFFFFF#000000##FFFFFF
##0C330C1.0014.051.4914.05
#FFFFFF14.051.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.051.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0c330c;
/* rgb */ color: rgb(12, 51, 12);
/* oklch */ color: oklch(28.4% 0.078 143.2);
Tailwind
colors: {
  custom: {
    50: '#516b4d',
    500: '#0c330c',
    950: '#000000',
  },
}
SCSS
$custom: #0c330c;
$custom-light: #516b4d;
$custom-dark: #000000;
JSON
{
  "hex": "#0c330c",
  "rgb": {
    "r": 12,
    "g": 51,
    "b": 12
  },
  "hsl": {
    "h": 120,
    "s": 61.905,
    "l": 12.353
  },
  "oklch": {
    "l": 0.28366,
    "c": 0.07819,
    "h": 143.2
  },
  "luminance": 0.02472
}

Semantic roles & 50–950 ramp

primary
#0C330C
secondary
#6F2C6F
accent
#43E5E5
background
#F4F6F4
surface
#E7EBE7
border
#C3C6C3
text
#020601
muted
#787A77

Preview Lab

Preview with #0C330C

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

Preview Lab → · Contrast checker → · Palette generator →

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