#0C331C#0C331C

#0C331C is a dark, moderate green. Relative luminance 0.025; OKLCH L 28.7% C 0.061 H 153.8°. Best body text is #FFFFFF at 13.94:1 contrast (WCAG AA passes).

Color values

HEX#0C331C
RGBrgb(12, 51, 28)
HSLhsl(145, 62%, 12%)
HSVhsv(145, 76%, 20%)
CMYKcmyk(76.5%, 0%, 45.1%, 80%)
CIE-LABlab(18.05, -20.12, 10.71)
CIE-LCHlch(18.05, 22.79, 151.97°)
OKLaboklab(28.66% -0.0544 0.0268)
OKLCHoklch(28.66% 0.061 153.8)
XYZxyz(1.5449, 2.5295, 1.5052)
Luminance0.0253 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C331C #330C23
analogous
#10330C #0C331C #0C3330
triadic
#0C331C #1C0C33 #331C0C
tetradic
#0C331C #0C1033 #330C23 #33300C
square
#0C331C #0C1033 #330C23 #33300C
split-complementary
#0C331C #300C33 #330C10
monochromatic
#06190E #06190E #0C331C #186537 #239652

Accessibility & contrast

On white

13.94
#0C331C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#0C331C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C331C
13.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C331C#FFFFFF#000000##FFFFFF
##0C331C1.0013.941.5113.94
#FFFFFF13.941.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#332E1A
Deuteranopia (green-blind)
#2E2B1D
Tritanopia (blue-blind)
#00322D
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #0c331c;
/* rgb */ color: rgb(12, 51, 28);
/* oklch */ color: oklch(28.7% 0.061 153.8);
Tailwind
colors: {
  custom: {
    50: '#506b58',
    500: '#0c331c',
    950: '#000000',
  },
}
SCSS
$custom: #0c331c;
$custom-light: #506b58;
$custom-dark: #000000;
JSON
{
  "hex": "#0c331c",
  "rgb": {
    "r": 12,
    "g": 51,
    "b": 28
  },
  "hsl": {
    "h": 144.615,
    "s": 61.905,
    "l": 12.353
  },
  "oklch": {
    "l": 0.28664,
    "c": 0.06065,
    "h": 153.8
  },
  "luminance": 0.0253
}

Semantic roles & 50–950 ramp

primary
#0C331C
secondary
#6F2C53
accent
#43A2E5
background
#F4F6F5
surface
#E7EBE9
border
#C3C6C5
text
#020603
muted
#787A78

Preview Lab

Preview with #0C331C

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

Preview Lab → · Contrast checker → · Palette generator →

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