#0C2C09#0C2C09

#0C2C09 is a dark, moderate green. Relative luminance 0.019; OKLCH L 26.0% C 0.070 H 141.9°. Best body text is #FFFFFF at 15.22:1 contrast (WCAG AA passes).

Color values

HEX#0C2C09
RGBrgb(12, 44, 9)
HSLhsl(115, 66%, 10%)
HSVhsv(115, 80%, 17%)
CMYKcmyk(72.7%, 0%, 79.5%, 82.7%)
CIE-LABlab(14.95, -20.25, 17.66)
CIE-LCHlch(14.95, 26.87, 138.90°)
OKLaboklab(26.01% -0.0552 0.0433)
OKLCHoklch(26.01% 0.07 141.9)
XYZxyz(1.1016, 1.8991, 0.5669)
Luminance0.0190 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C2C09 #29092C
analogous
#1D2C09 #0C2C09 #092C17
triadic
#0C2C09 #090C2C #2C090C
tetradic
#0C2C09 #091D2C #29092C #2C1709
square
#0C2C09 #091D2C #29092C #2C1709
split-complementary
#0C2C09 #17092C #2C091D
monochromatic
#071905 #071905 #0C2C09 #1A5F13 #28921E

Accessibility & contrast

On white

15.22
#0C2C09 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#0C2C09 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C2C09
15.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C2C09#FFFFFF#000000##FFFFFF
##0C2C091.0015.221.3815.22
#FFFFFF15.221.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D2705
Deuteranopia (green-blind)
#29250C
Tritanopia (blue-blind)
#072A25
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #0c2c09;
/* rgb */ color: rgb(12, 44, 9);
/* oklch */ color: oklch(26.0% 0.070 141.9);
Tailwind
colors: {
  custom: {
    50: '#4f654b',
    500: '#0c2c09',
    950: '#000000',
  },
}
SCSS
$custom: #0c2c09;
$custom-light: #4f654b;
$custom-dark: #000000;
JSON
{
  "hex": "#0c2c09",
  "rgb": {
    "r": 12,
    "g": 44,
    "b": 9
  },
  "hsl": {
    "h": 114.857,
    "s": 66.038,
    "l": 10.392
  },
  "oklch": {
    "l": 0.26006,
    "c": 0.07016,
    "h": 141.9
  },
  "luminance": 0.01899
}

Semantic roles & 50–950 ramp

primary
#0C2C09
secondary
#64276A
accent
#3FE9DA
background
#F4F6F4
surface
#E7EBE7
border
#C3C6C3
text
#020501
muted
#787A77

Preview Lab

Preview with #0C2C09

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

Preview Lab → · Contrast checker → · Palette generator →

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