#0C4024#0C4024

#0C4024 is a dark, moderate green. Relative luminance 0.039; OKLCH L 33.0% C 0.073 H 154.9°. Best body text is #FFFFFF at 11.83:1 contrast (WCAG AA passes).

Color values

HEX#0C4024
RGBrgb(12, 64, 36)
HSLhsl(148, 68%, 15%)
HSVhsv(148, 81%, 25%)
CMYKcmyk(81.2%, 0%, 43.8%, 74.9%)
CIE-LABlab(23.24, -24.47, 12.42)
CIE-LCHlch(23.24, 27.44, 153.09°)
OKLaboklab(32.99% -0.0661 0.031)
OKLCHoklch(32.99% 0.073 154.9)
XYZxyz(2.3032, 3.8721, 2.2947)
Luminance0.0387 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C4024 #400C28
analogous
#0E400C #0C4024 #0C403E
triadic
#0C4024 #240C40 #40240C
tetradic
#0C4024 #0C0E40 #400C28 #403E0C
square
#0C4024 #0C0E40 #400C28 #403E0C
split-complementary
#0C4024 #3E0C40 #400C0E
monochromatic
#051A0E #051A0E #0C4024 #167441 #1FA75E

Accessibility & contrast

On white

11.83
#0C4024 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C4024
11.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C4024#FFFFFF#000000##FFFFFF
##0C40241.0011.831.7711.83
#FFFFFF11.831.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#403A22
Deuteranopia (green-blind)
#393626
Tritanopia (blue-blind)
#003F39
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #0c4024;
/* rgb */ color: rgb(12, 64, 36);
/* oklch */ color: oklch(33.0% 0.073 154.9);
Tailwind
colors: {
  custom: {
    50: '#54755f',
    500: '#0c4024',
    950: '#000000',
  },
}
SCSS
$custom: #0c4024;
$custom-light: #54755f;
$custom-dark: #000000;
JSON
{
  "hex": "#0c4024",
  "rgb": {
    "r": 12,
    "g": 64,
    "b": 36
  },
  "hsl": {
    "h": 147.692,
    "s": 68.421,
    "l": 14.902
  },
  "oklch": {
    "l": 0.32994,
    "c": 0.07298,
    "h": 154.9
  },
  "luminance": 0.03872
}

Semantic roles & 50–950 ramp

primary
#0C4024
secondary
#7C2C57
accent
#3D9BEB
background
#F5F7F5
surface
#E9EDE9
border
#C5C8C5
text
#030804
muted
#787B79

Preview Lab

Preview with #0C4024

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

Preview Lab → · Contrast checker → · Palette generator →

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