#0C4213#0C4213

#0C4213 is a dark, moderate green. Relative luminance 0.040; OKLCH L 33.3% C 0.094 H 144.9°. Best body text is #FFFFFF at 11.64:1 contrast (WCAG AA passes).

Color values

HEX#0C4213
RGBrgb(12, 66, 19)
HSLhsl(128, 69%, 15%)
HSVhsv(128, 82%, 26%)
CMYKcmyk(81.8%, 0%, 71.2%, 74.1%)
CIE-LABlab(23.74, -28.44, 23.10)
CIE-LCHlch(23.74, 36.64, 140.91°)
OKLaboklab(33.32% -0.0768 0.0539)
OKLCHoklch(33.32% 0.094 144.9)
XYZxyz(2.2172, 4.0214, 1.2753)
Luminance0.0402 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C4213 #420C3B
analogous
#20420C #0C4213 #0C422E
triadic
#0C4213 #130C42 #42130C
tetradic
#0C4213 #0C2042 #420C3B #422E0C
square
#0C4213 #0C2042 #420C3B #422E0C
split-complementary
#0C4213 #2E0C42 #420C20
monochromatic
#051A07 #051A07 #0C4213 #157622 #1FAA31

Accessibility & contrast

On white

11.64
#0C4213 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#0C4213 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C4213
11.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C4213#FFFFFF#000000##FFFFFF
##0C42131.0011.641.8011.64
#FFFFFF11.641.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#433B0E
Deuteranopia (green-blind)
#3D3717
Tritanopia (blue-blind)
#004038
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #0c4213;
/* rgb */ color: rgb(12, 66, 19);
/* oklch */ color: oklch(33.3% 0.094 144.9);
Tailwind
colors: {
  custom: {
    50: '#557753',
    500: '#0c4213',
    950: '#000000',
  },
}
SCSS
$custom: #0c4213;
$custom-light: #557753;
$custom-dark: #000000;
JSON
{
  "hex": "#0c4213",
  "rgb": {
    "r": 12,
    "g": 66,
    "b": 19
  },
  "hsl": {
    "h": 127.778,
    "s": 69.231,
    "l": 15.294
  },
  "oklch": {
    "l": 0.33318,
    "c": 0.09385,
    "h": 144.9
  },
  "luminance": 0.04022
}

Semantic roles & 50–950 ramp

primary
#0C4213
secondary
#7E2C73
accent
#3CD5EC
background
#F5F7F4
surface
#E9EDE7
border
#C5C8C3
text
#030902
muted
#787B78

Preview Lab

Preview with #0C4213

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

Preview Lab → · Contrast checker → · Palette generator →

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