#0C2A16#0C2A16

#0C2A16 is a dark, muted green. Relative luminance 0.018; OKLCH L 25.6% C 0.052 H 151.9°. Best body text is #FFFFFF at 15.46:1 contrast (WCAG AA passes).

Color values

HEX#0C2A16
RGBrgb(12, 42, 22)
HSLhsl(140, 56%, 11%)
HSVhsv(140, 71%, 16%)
CMYKcmyk(71.4%, 0%, 47.6%, 83.5%)
CIE-LABlab(14.35, -16.92, 9.83)
CIE-LCHlch(14.35, 19.56, 149.85°)
OKLaboklab(25.59% -0.0458 0.0245)
OKLCHoklch(25.59% 0.052 151.9)
XYZxyz(1.1243, 1.7919, 1.0455)
Luminance0.0179 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C2A16 #2A0C20
analogous
#112A0C #0C2A16 #0C2A25
triadic
#0C2A16 #160C2A #2A160C
tetradic
#0C2A16 #0C112A #2A0C20 #2A250C
square
#0C2A16 #0C112A #2A0C20 #2A250C
split-complementary
#0C2A16 #250C2A #2A0C11
monochromatic
#07180C #07180C #0C2A16 #1A5A2F #278948

Accessibility & contrast

On white

15.46
#0C2A16 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#0C2A16 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C2A16
15.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C2A16#FFFFFF#000000##FFFFFF
##0C2A161.0015.461.3615.46
#FFFFFF15.461.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A2615
Deuteranopia (green-blind)
#262317
Tritanopia (blue-blind)
#052925
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #0c2a16;
/* rgb */ color: rgb(12, 42, 22);
/* oklch */ color: oklch(25.6% 0.052 151.9);
Tailwind
colors: {
  custom: {
    50: '#4e6453',
    500: '#0c2a16',
    950: '#000000',
  },
}
SCSS
$custom: #0c2a16;
$custom-light: #4e6453;
$custom-dark: #000000;
JSON
{
  "hex": "#0c2a16",
  "rgb": {
    "r": 12,
    "g": 42,
    "b": 22
  },
  "hsl": {
    "h": 140,
    "s": 55.556,
    "l": 10.588
  },
  "oklch": {
    "l": 0.25586,
    "c": 0.05197,
    "h": 151.9
  },
  "luminance": 0.01792
}

Semantic roles & 50–950 ramp

primary
#0C2A16
secondary
#652D52
accent
#49ADDF
background
#F4F5F4
surface
#E7EAE7
border
#C3C6C3
text
#020502
muted
#787978

Preview Lab

Preview with #0C2A16

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

Preview Lab → · Contrast checker → · Palette generator →

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