#0C4019#0C4019

#0C4019 is a dark, moderate green. Relative luminance 0.038; OKLCH L 32.8% C 0.085 H 147.7°. Best body text is #FFFFFF at 11.91:1 contrast (WCAG AA passes).

Color values

HEX#0C4019
RGBrgb(12, 64, 25)
HSLhsl(135, 68%, 15%)
HSVhsv(135, 81%, 25%)
CMYKcmyk(81.2%, 0%, 60.9%, 74.9%)
CIE-LABlab(23.05, -26.69, 18.94)
CIE-LCHlch(23.05, 32.72, 144.64°)
OKLaboklab(32.77% -0.0719 0.0455)
OKLCHoklch(32.77% 0.085 147.7)
XYZxyz(2.1603, 3.8149, 1.5420)
Luminance0.0382 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C4019 #400C33
analogous
#19400C #0C4019 #0C4033
triadic
#0C4019 #190C40 #40190C
tetradic
#0C4019 #0C1940 #400C33 #40330C
square
#0C4019 #0C1940 #400C33 #40330C
split-complementary
#0C4019 #330C40 #400C19
monochromatic
#051A0A #051A0A #0C4019 #16742D #1FA741

Accessibility & contrast

On white

11.91
#0C4019 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#0C4019 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C4019
11.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C4019#FFFFFF#000000##FFFFFF
##0C40191.0011.911.7611.91
#FFFFFF11.911.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#413A15
Deuteranopia (green-blind)
#3B351C
Tritanopia (blue-blind)
#003E37
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #0c4019;
/* rgb */ color: rgb(12, 64, 25);
/* oklch */ color: oklch(32.8% 0.085 147.7);
Tailwind
colors: {
  custom: {
    50: '#547557',
    500: '#0c4019',
    950: '#000000',
  },
}
SCSS
$custom: #0c4019;
$custom-light: #547557;
$custom-dark: #000000;
JSON
{
  "hex": "#0c4019",
  "rgb": {
    "r": 12,
    "g": 64,
    "b": 25
  },
  "hsl": {
    "h": 135,
    "s": 68.421,
    "l": 14.902
  },
  "oklch": {
    "l": 0.3277,
    "c": 0.08503,
    "h": 147.7
  },
  "luminance": 0.03815
}

Semantic roles & 50–950 ramp

primary
#0C4019
secondary
#7C2C68
accent
#3DC0EB
background
#F5F7F5
surface
#E9EDE9
border
#C5C8C5
text
#030803
muted
#787B78

Preview Lab

Preview with #0C4019

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

Preview Lab → · Contrast checker → · Palette generator →

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