#0C4A19#0C4A19

#0C4A19 is a dark, moderate green. Relative luminance 0.050; OKLCH L 35.9% C 0.100 H 146.3°. Best body text is #FFFFFF at 10.45:1 contrast (WCAG AA passes).

Color values

HEX#0C4A19
RGBrgb(12, 74, 25)
HSLhsl(133, 72%, 17%)
HSVhsv(133, 84%, 29%)
CMYKcmyk(83.8%, 0%, 66.2%, 71%)
CIE-LABlab(26.86, -30.79, 23.46)
CIE-LCHlch(26.86, 38.71, 142.69°)
OKLaboklab(35.93% -0.0829 0.0553)
OKLCHoklch(35.93% 0.1 146.3)
XYZxyz(2.7757, 5.0456, 1.7471)
Luminance0.0505 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C4A19 #4A0C3D
analogous
#1E4A0C #0C4A19 #0C4A38
triadic
#0C4A19 #190C4A #4A190C
tetradic
#0C4A19 #0C1E4A #4A0C3D #4A380C
square
#0C4A19 #0C1E4A #4A0C3D #4A380C
split-complementary
#0C4A19 #380C4A #4A0C1E
monochromatic
#041A09 #041A09 #0C4A19 #157F2B #1DB33D

Accessibility & contrast

On white

10.45
#0C4A19 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#0C4A19 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C4A19
10.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C4A19#FFFFFF#000000##FFFFFF
##0C4A191.0010.452.0110.45
#FFFFFF10.451.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B4214
Deuteranopia (green-blind)
#443E1D
Tritanopia (blue-blind)
#00483F
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #0c4a19;
/* rgb */ color: rgb(12, 74, 25);
/* oklch */ color: oklch(35.9% 0.100 146.3);
Tailwind
colors: {
  custom: {
    50: '#577d57',
    500: '#0c4a19',
    950: '#000000',
  },
}
SCSS
$custom: #0c4a19;
$custom-light: #577d57;
$custom-dark: #000000;
JSON
{
  "hex": "#0c4a19",
  "rgb": {
    "r": 12,
    "g": 74,
    "b": 25
  },
  "hsl": {
    "h": 132.581,
    "s": 72.093,
    "l": 16.863
  },
  "oklch": {
    "l": 0.3593,
    "c": 0.09969,
    "h": 146.3
  },
  "luminance": 0.05046
}

Semantic roles & 50–950 ramp

primary
#0C4A19
secondary
#862C73
accent
#39C9EF
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#040A03
muted
#797C78

Preview Lab

Preview with #0C4A19

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

Preview Lab → · Contrast checker → · Palette generator →

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