#0C2C07#0C2C07

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

Color values

HEX#0C2C07
RGBrgb(12, 44, 7)
HSLhsl(112, 73%, 10%)
HSVhsv(112, 84%, 17%)
CMYKcmyk(72.7%, 0%, 84.1%, 82.7%)
CIE-LABlab(14.93, -20.52, 18.45)
CIE-LCHlch(14.93, 27.60, 138.05°)
OKLaboklab(25.98% -0.0561 0.0454)
OKLCHoklch(25.98% 0.072 141)
XYZxyz(1.0906, 1.8948, 0.5092)
Luminance0.0190 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C2C07 #27072C
analogous
#1E2C07 #0C2C07 #072C15
triadic
#0C2C07 #070C2C #2C070C
tetradic
#0C2C07 #071E2C #27072C #2C1507
square
#0C2C07 #071E2C #27072C #2C1507
split-complementary
#0C2C07 #15072C #2C071E
monochromatic
#071A04 #071A04 #0C2C07 #1A610F #299618

Accessibility & contrast

On white

15.23
#0C2C07 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C2C07
15.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C2C07#FFFFFF#000000##FFFFFF
##0C2C071.0015.231.3815.23
#FFFFFF15.231.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D2703
Deuteranopia (green-blind)
#29250A
Tritanopia (blue-blind)
#082A25
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #0c2c07;
/* rgb */ color: rgb(12, 44, 7);
/* oklch */ color: oklch(26.0% 0.072 141.0);
Tailwind
colors: {
  custom: {
    50: '#4f654a',
    500: '#0c2c07',
    950: '#000000',
  },
}
SCSS
$custom: #0c2c07;
$custom-light: #4f654a;
$custom-dark: #000000;
JSON
{
  "hex": "#0c2c07",
  "rgb": {
    "r": 12,
    "g": 44,
    "b": 7
  },
  "hsl": {
    "h": 111.892,
    "s": 72.549,
    "l": 10
  },
  "oklch": {
    "l": 0.25979,
    "c": 0.0722,
    "h": 141
  },
  "luminance": 0.01895
}

Semantic roles & 50–950 ramp

primary
#0C2C07
secondary
#62236C
accent
#39EFD7
background
#F4F6F4
surface
#E7EBE7
border
#C3C6C3
text
#020501
muted
#787A77

Preview Lab

Preview with #0C2C07

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

Preview Lab → · Contrast checker → · Palette generator →

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