#0C4219#0C4219

#0C4219 is a dark, moderate green. Relative luminance 0.040; OKLCH L 33.4% C 0.088 H 147.3°. Best body text is #FFFFFF at 11.61:1 contrast (WCAG AA passes).

Color values

HEX#0C4219
RGBrgb(12, 66, 25)
HSLhsl(134, 69%, 15%)
HSVhsv(134, 82%, 26%)
CMYKcmyk(81.8%, 0%, 62.1%, 74.1%)
CIE-LABlab(23.82, -27.53, 19.87)
CIE-LCHlch(23.82, 33.95, 144.19°)
OKLaboklab(33.41% -0.0741 0.0475)
OKLCHoklch(33.41% 0.088 147.3)
XYZxyz(2.2751, 4.0445, 1.5803)
Luminance0.0404 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C4219 #420C35
analogous
#1A420C #0C4219 #0C4234
triadic
#0C4219 #190C42 #42190C
tetradic
#0C4219 #0C1A42 #420C35 #42340C
square
#0C4219 #0C1A42 #420C35 #42340C
split-complementary
#0C4219 #340C42 #420C1A
monochromatic
#051A0A #051A0A #0C4219 #15762D #1FAA40

Accessibility & contrast

On white

11.61
#0C4219 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#0C4219 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C4219
11.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C4219#FFFFFF#000000##FFFFFF
##0C42191.0011.611.8111.61
#FFFFFF11.611.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#433B15
Deuteranopia (green-blind)
#3D371C
Tritanopia (blue-blind)
#004039
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #0c4219;
/* rgb */ color: rgb(12, 66, 25);
/* oklch */ color: oklch(33.4% 0.088 147.3);
Tailwind
colors: {
  custom: {
    50: '#557757',
    500: '#0c4219',
    950: '#000000',
  },
}
SCSS
$custom: #0c4219;
$custom-light: #557757;
$custom-dark: #000000;
JSON
{
  "hex": "#0c4219",
  "rgb": {
    "r": 12,
    "g": 66,
    "b": 25
  },
  "hsl": {
    "h": 134.444,
    "s": 69.231,
    "l": 15.294
  },
  "oklch": {
    "l": 0.33406,
    "c": 0.08806,
    "h": 147.3
  },
  "luminance": 0.04045
}

Semantic roles & 50–950 ramp

primary
#0C4219
secondary
#7E2C6A
accent
#3CC2EC
background
#F5F7F5
surface
#E9EDE9
border
#C5C8C5
text
#030903
muted
#787B78

Preview Lab

Preview with #0C4219

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

Preview Lab → · Contrast checker → · Palette generator →

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