#0C4919#0C4919

#0C4919 is a dark, moderate green. Relative luminance 0.049; OKLCH L 35.6% C 0.098 H 146.4°. Best body text is #FFFFFF at 10.59:1 contrast (WCAG AA passes).

Color values

HEX#0C4919
RGBrgb(12, 73, 25)
HSLhsl(133, 72%, 17%)
HSVhsv(133, 84%, 29%)
CMYKcmyk(83.6%, 0%, 65.8%, 71.4%)
CIE-LABlab(26.49, -30.39, 23.02)
CIE-LCHlch(26.49, 38.12, 142.86°)
OKLaboklab(35.62% -0.0819 0.0544)
OKLCHoklch(35.62% 0.098 146.4)
XYZxyz(2.7094, 4.9131, 1.7250)
Luminance0.0491 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C4919 #490C3C
analogous
#1E490C #0C4919 #0C4938
triadic
#0C4919 #190C49 #49190C
tetradic
#0C4919 #0C1E49 #490C3C #49380C
square
#0C4919 #0C1E49 #490C3C #49380C
split-complementary
#0C4919 #380C49 #490C1E
monochromatic
#041A09 #041A09 #0C4919 #157E2B #1DB23D

Accessibility & contrast

On white

10.59
#0C4919 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#0C4919 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C4919
10.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C4919#FFFFFF#000000##FFFFFF
##0C49191.0010.591.9810.59
#FFFFFF10.591.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.591.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0c4919;
/* rgb */ color: rgb(12, 73, 25);
/* oklch */ color: oklch(35.6% 0.098 146.4);
Tailwind
colors: {
  custom: {
    50: '#577c57',
    500: '#0c4919',
    950: '#000000',
  },
}
SCSS
$custom: #0c4919;
$custom-light: #577c57;
$custom-dark: #000000;
JSON
{
  "hex": "#0c4919",
  "rgb": {
    "r": 12,
    "g": 73,
    "b": 25
  },
  "hsl": {
    "h": 132.787,
    "s": 71.765,
    "l": 16.667
  },
  "oklch": {
    "l": 0.35616,
    "c": 0.09828,
    "h": 146.4
  },
  "luminance": 0.04913
}

Semantic roles & 50–950 ramp

primary
#0C4919
secondary
#852C72
accent
#39C8EE
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#040903
muted
#797B78

Preview Lab

Preview with #0C4919

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

Preview Lab → · Contrast checker → · Palette generator →

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