#0C330D#0C330D

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

Color values

HEX#0C330D
RGBrgb(12, 51, 13)
HSLhsl(122, 62%, 12%)
HSVhsv(122, 76%, 20%)
CMYKcmyk(76.5%, 0%, 74.5%, 80%)
CIE-LABlab(17.80, -22.91, 19.48)
CIE-LCHlch(17.80, 30.07, 139.62°)
OKLaboklab(28.38% -0.0622 0.0459)
OKLCHoklch(28.38% 0.077 143.6)
XYZxyz(1.4080, 2.4747, 0.7842)
Luminance0.0248 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C330D #330C32
analogous
#1F330C #0C330D #0C3320
triadic
#0C330D #0D0C33 #330D0C
tetradic
#0C330D #0C1F33 #330C32 #33200C
square
#0C330D #0C1F33 #330C32 #33200C
split-complementary
#0C330D #200C33 #330C1F
monochromatic
#061906 #061906 #0C330D #18651A #239626

Accessibility & contrast

On white

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

On black

1.50
#0C330D on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##0C330D#FFFFFF#000000##FFFFFF
##0C330D1.0014.051.5014.05
#FFFFFF14.051.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#342E09
Deuteranopia (green-blind)
#2F2A10
Tritanopia (blue-blind)
#04312B
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #0c330d;
/* rgb */ color: rgb(12, 51, 13);
/* oklch */ color: oklch(28.4% 0.077 143.6);
Tailwind
colors: {
  custom: {
    50: '#516b4d',
    500: '#0c330d',
    950: '#000000',
  },
}
SCSS
$custom: #0c330d;
$custom-light: #516b4d;
$custom-dark: #000000;
JSON
{
  "hex": "#0c330d",
  "rgb": {
    "r": 12,
    "g": 51,
    "b": 13
  },
  "hsl": {
    "h": 121.538,
    "s": 61.905,
    "l": 12.353
  },
  "oklch": {
    "l": 0.28379,
    "c": 0.07725,
    "h": 143.6
  },
  "luminance": 0.02475
}

Semantic roles & 50–950 ramp

primary
#0C330D
secondary
#6F2C6D
accent
#43E1E5
background
#F4F6F4
surface
#E7EBE7
border
#C3C6C3
text
#020601
muted
#787A77

Preview Lab

Preview with #0C330D

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

Preview Lab → · Contrast checker → · Palette generator →

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