#0C331D#0C331D

#0C331D is a dark, muted green. Relative luminance 0.025; OKLCH L 28.7% C 0.059 H 154.9°. Best body text is #FFFFFF at 13.93:1 contrast (WCAG AA passes).

Color values

HEX#0C331D
RGBrgb(12, 51, 29)
HSLhsl(146, 62%, 12%)
HSVhsv(146, 76%, 20%)
CMYKcmyk(76.5%, 0%, 43.1%, 80%)
CIE-LABlab(18.07, -19.88, 10.08)
CIE-LCHlch(18.07, 22.29, 153.12°)
OKLaboklab(28.69% -0.0538 0.0253)
OKLCHoklch(28.69% 0.059 154.9)
XYZxyz(1.5571, 2.5344, 1.5693)
Luminance0.0254 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C331D #330C22
analogous
#0E330C #0C331D #0C3331
triadic
#0C331D #1D0C33 #331D0C
tetradic
#0C331D #0C0E33 #330C22 #33310C
square
#0C331D #0C0E33 #330C22 #33310C
split-complementary
#0C331D #310C33 #330C0E
monochromatic
#06190E #06190E #0C331D #186539 #239655

Accessibility & contrast

On white

13.93
#0C331D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C331D
13.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C331D#FFFFFF#000000##FFFFFF
##0C331D1.0013.931.5113.93
#FFFFFF13.931.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.931.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0c331d;
/* rgb */ color: rgb(12, 51, 29);
/* oklch */ color: oklch(28.7% 0.059 154.9);
Tailwind
colors: {
  custom: {
    50: '#506b59',
    500: '#0c331d',
    950: '#000000',
  },
}
SCSS
$custom: #0c331d;
$custom-light: #506b59;
$custom-dark: #000000;
JSON
{
  "hex": "#0c331d",
  "rgb": {
    "r": 12,
    "g": 51,
    "b": 29
  },
  "hsl": {
    "h": 146.154,
    "s": 61.905,
    "l": 12.353
  },
  "oklch": {
    "l": 0.28689,
    "c": 0.05948,
    "h": 154.9
  },
  "luminance": 0.02535
}

Semantic roles & 50–950 ramp

primary
#0C331D
secondary
#6F2C52
accent
#439EE5
background
#F4F6F5
surface
#E7EBE9
border
#C3C6C5
text
#020603
muted
#787A78

Preview Lab

Preview with #0C331D

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

Preview Lab → · Contrast checker → · Palette generator →

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