#0C2D09#0C2D09

#0C2D09 is a dark, moderate green. Relative luminance 0.020; OKLCH L 26.3% C 0.072 H 141.9°. Best body text is #FFFFFF at 15.05:1 contrast (WCAG AA passes).

Color values

HEX#0C2D09
RGBrgb(12, 45, 9)
HSLhsl(115, 67%, 11%)
HSVhsv(115, 80%, 18%)
CMYKcmyk(73.3%, 0%, 80%, 82.4%)
CIE-LABlab(15.35, -20.71, 18.18)
CIE-LCHlch(15.35, 27.56, 138.72°)
OKLaboklab(26.34% -0.0565 0.0442)
OKLCHoklch(26.34% 0.072 141.9)
XYZxyz(1.1393, 1.9746, 0.5795)
Luminance0.0198 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C2D09 #2A092D
analogous
#1E2D09 #0C2D09 #092D18
triadic
#0C2D09 #090C2D #2D090C
tetradic
#0C2D09 #091E2D #2A092D #2D1809
square
#0C2D09 #091E2D #2A092D #2D1809
split-complementary
#0C2D09 #18092D #2D091E
monochromatic
#071A05 #071A05 #0C2D09 #1A6013 #27931D

Accessibility & contrast

On white

15.05
#0C2D09 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#0C2D09 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C2D09
15.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C2D09#FFFFFF#000000##FFFFFF
##0C2D091.0015.051.4015.05
#FFFFFF15.051.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E2805
Deuteranopia (green-blind)
#2A250C
Tritanopia (blue-blind)
#072B26
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #0c2d09;
/* rgb */ color: rgb(12, 45, 9);
/* oklch */ color: oklch(26.3% 0.072 141.9);
Tailwind
colors: {
  custom: {
    50: '#4f664b',
    500: '#0c2d09',
    950: '#000000',
  },
}
SCSS
$custom: #0c2d09;
$custom-light: #4f664b;
$custom-dark: #000000;
JSON
{
  "hex": "#0c2d09",
  "rgb": {
    "r": 12,
    "g": 45,
    "b": 9
  },
  "hsl": {
    "h": 115,
    "s": 66.667,
    "l": 10.588
  },
  "oklch": {
    "l": 0.2634,
    "c": 0.07173,
    "h": 141.9
  },
  "luminance": 0.01975
}

Semantic roles & 50–950 ramp

primary
#0C2D09
secondary
#65276B
accent
#3EEADB
background
#F4F6F4
surface
#E7EBE7
border
#C3C6C3
text
#020601
muted
#787A77

Preview Lab

Preview with #0C2D09

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

Preview Lab → · Contrast checker → · Palette generator →

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