#0C4022#0C4022

#0C4022 is a dark, moderate green. Relative luminance 0.039; OKLCH L 32.9% C 0.075 H 153.3°. Best body text is #FFFFFF at 11.85:1 contrast (WCAG AA passes).

Color values

HEX#0C4022
RGBrgb(12, 64, 34)
HSLhsl(145, 68%, 15%)
HSVhsv(145, 81%, 25%)
CMYKcmyk(81.2%, 0%, 46.9%, 74.9%)
CIE-LABlab(23.20, -24.92, 13.63)
CIE-LCHlch(23.20, 28.40, 151.32°)
OKLaboklab(32.95% -0.0672 0.0338)
OKLCHoklch(32.95% 0.075 153.3)
XYZxyz(2.2735, 3.8602, 2.1383)
Luminance0.0386 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C4022 #400C2A
analogous
#10400C #0C4022 #0C403C
triadic
#0C4022 #220C40 #40220C
tetradic
#0C4022 #0C1040 #400C2A #403C0C
square
#0C4022 #0C1040 #400C2A #403C0C
split-complementary
#0C4022 #3C0C40 #400C10
monochromatic
#051A0E #051A0E #0C4022 #16743D #1FA759

Accessibility & contrast

On white

11.85
#0C4022 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#0C4022 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C4022
11.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C4022#FFFFFF#000000##FFFFFF
##0C40221.0011.851.7711.85
#FFFFFF11.851.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#403A20
Deuteranopia (green-blind)
#3A3624
Tritanopia (blue-blind)
#003F39
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #0c4022;
/* rgb */ color: rgb(12, 64, 34);
/* oklch */ color: oklch(32.9% 0.075 153.3);
Tailwind
colors: {
  custom: {
    50: '#54755d',
    500: '#0c4022',
    950: '#000000',
  },
}
SCSS
$custom: #0c4022;
$custom-light: #54755d;
$custom-dark: #000000;
JSON
{
  "hex": "#0c4022",
  "rgb": {
    "r": 12,
    "g": 64,
    "b": 34
  },
  "hsl": {
    "h": 145.385,
    "s": 68.421,
    "l": 14.902
  },
  "oklch": {
    "l": 0.32948,
    "c": 0.07521,
    "h": 153.3
  },
  "luminance": 0.0386
}

Semantic roles & 50–950 ramp

primary
#0C4022
secondary
#7C2C5A
accent
#3DA1EB
background
#F5F7F5
surface
#E9EDE9
border
#C5C8C5
text
#030804
muted
#787B79

Preview Lab

Preview with #0C4022

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

Preview Lab → · Contrast checker → · Palette generator →

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