#0C4920#0C4920

#0C4920 is a dark, moderate green. Relative luminance 0.049; OKLCH L 35.7% C 0.091 H 149.4°. Best body text is #FFFFFF at 10.55:1 contrast (WCAG AA passes).

Color values

HEX#0C4920
RGBrgb(12, 73, 32)
HSLhsl(140, 72%, 17%)
HSVhsv(140, 84%, 29%)
CMYKcmyk(83.6%, 0%, 56.2%, 71.4%)
CIE-LABlab(26.58, -29.23, 19.16)
CIE-LCHlch(26.58, 34.95, 146.75°)
OKLaboklab(35.73% -0.0786 0.0464)
OKLCHoklch(35.73% 0.091 149.4)
XYZxyz(2.7946, 4.9472, 2.1738)
Luminance0.0495 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C4920 #490C35
analogous
#17490C #0C4920 #0C493F
triadic
#0C4920 #200C49 #49200C
tetradic
#0C4920 #0C1749 #490C35 #493F0C
square
#0C4920 #0C1749 #490C35 #493F0C
split-complementary
#0C4920 #3F0C49 #490C17
monochromatic
#041A0C #041A0C #0C4920 #157E37 #1DB24E

Accessibility & contrast

On white

10.55
#0C4920 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#0C4920 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C4920
10.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C4920#FFFFFF#000000##FFFFFF
##0C49201.0010.551.9910.55
#FFFFFF10.551.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A421D
Deuteranopia (green-blind)
#433D23
Tritanopia (blue-blind)
#00473F
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #0c4920;
/* rgb */ color: rgb(12, 73, 32);
/* oklch */ color: oklch(35.7% 0.091 149.4);
Tailwind
colors: {
  custom: {
    50: '#567c5c',
    500: '#0c4920',
    950: '#000000',
  },
}
SCSS
$custom: #0c4920;
$custom-light: #567c5c;
$custom-dark: #000000;
JSON
{
  "hex": "#0c4920",
  "rgb": {
    "r": 12,
    "g": 73,
    "b": 32
  },
  "hsl": {
    "h": 139.672,
    "s": 71.765,
    "l": 16.667
  },
  "oklch": {
    "l": 0.35729,
    "c": 0.09125,
    "h": 149.4
  },
  "luminance": 0.04948
}

Semantic roles & 50–950 ramp

primary
#0C4920
secondary
#852C68
accent
#39B3EE
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#030904
muted
#787B79

Preview Lab

Preview with #0C4920

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

Preview Lab → · Contrast checker → · Palette generator →

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