#0C330F#0C330F

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

Color values

HEX#0C330F
RGBrgb(12, 51, 15)
HSLhsl(125, 62%, 12%)
HSVhsv(125, 76%, 20%)
CMYKcmyk(76.5%, 0%, 70.6%, 80%)
CIE-LABlab(17.83, -22.62, 18.50)
CIE-LCHlch(17.83, 29.22, 140.72°)
OKLaboklab(28.41% -0.0613 0.0437)
OKLCHoklch(28.41% 0.075 144.5)
XYZxyz(1.4216, 2.4802, 0.8556)
Luminance0.0248 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C330F #330C30
analogous
#1D330C #0C330F #0C3322
triadic
#0C330F #0F0C33 #330F0C
tetradic
#0C330F #0C1D33 #330C30 #33220C
square
#0C330F #0C1D33 #330C30 #33220C
split-complementary
#0C330F #220C33 #330C1D
monochromatic
#061907 #061907 #0C330F #18651E #23962C

Accessibility & contrast

On white

14.04
#0C330F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C330F
14.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C330F#FFFFFF#000000##FFFFFF
##0C330F1.0014.041.5014.04
#FFFFFF14.041.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.041.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0c330f;
/* rgb */ color: rgb(12, 51, 15);
/* oklch */ color: oklch(28.4% 0.075 144.5);
Tailwind
colors: {
  custom: {
    50: '#516b4e',
    500: '#0c330f',
    950: '#000000',
  },
}
SCSS
$custom: #0c330f;
$custom-light: #516b4e;
$custom-dark: #000000;
JSON
{
  "hex": "#0c330f",
  "rgb": {
    "r": 12,
    "g": 51,
    "b": 15
  },
  "hsl": {
    "h": 124.615,
    "s": 61.905,
    "l": 12.353
  },
  "oklch": {
    "l": 0.28408,
    "c": 0.07528,
    "h": 144.5
  },
  "luminance": 0.0248
}

Semantic roles & 50–950 ramp

primary
#0C330F
secondary
#6F2C6A
accent
#43D9E5
background
#F4F6F4
surface
#E7EBE7
border
#C3C6C3
text
#020602
muted
#787A78

Preview Lab

Preview with #0C330F

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

Preview Lab → · Contrast checker → · Palette generator →

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