#0C4A22#0C4A22

#0C4A22 is a dark, moderate green. Relative luminance 0.051; OKLCH L 36.1% C 0.091 H 150.2°. Best body text is #FFFFFF at 10.41:1 contrast (WCAG AA passes).

Color values

HEX#0C4A22
RGBrgb(12, 74, 34)
HSLhsl(141, 72%, 17%)
HSVhsv(141, 84%, 29%)
CMYKcmyk(83.8%, 0%, 54.1%, 71%)
CIE-LABlab(26.99, -29.27, 18.49)
CIE-LCHlch(26.99, 34.62, 147.72°)
OKLaboklab(36.08% -0.0787 0.045)
OKLCHoklch(36.08% 0.091 150.2)
XYZxyz(2.8889, 5.0909, 2.3434)
Luminance0.0509 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C4A22 #4A0C34
analogous
#154A0C #0C4A22 #0C4A41
triadic
#0C4A22 #220C4A #4A220C
tetradic
#0C4A22 #0C154A #4A0C34 #4A410C
square
#0C4A22 #0C154A #4A0C34 #4A410C
split-complementary
#0C4A22 #410C4A #4A0C15
monochromatic
#041A0C #041A0C #0C4A22 #157F3A #1DB352

Accessibility & contrast

On white

10.41
#0C4A22 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#0C4A22 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C4A22
10.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C4A22#FFFFFF#000000##FFFFFF
##0C4A221.0010.412.0210.41
#FFFFFF10.411.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A431F
Deuteranopia (green-blind)
#433E25
Tritanopia (blue-blind)
#004941
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #0c4a22;
/* rgb */ color: rgb(12, 74, 34);
/* oklch */ color: oklch(36.1% 0.091 150.2);
Tailwind
colors: {
  custom: {
    50: '#577d5e',
    500: '#0c4a22',
    950: '#000000',
  },
}
SCSS
$custom: #0c4a22;
$custom-light: #577d5e;
$custom-dark: #000000;
JSON
{
  "hex": "#0c4a22",
  "rgb": {
    "r": 12,
    "g": 74,
    "b": 34
  },
  "hsl": {
    "h": 141.29,
    "s": 72.093,
    "l": 16.863
  },
  "oklch": {
    "l": 0.36077,
    "c": 0.09065,
    "h": 150.2
  },
  "luminance": 0.05091
}

Semantic roles & 50–950 ramp

primary
#0C4A22
secondary
#862C66
accent
#39AEEF
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#030A04
muted
#787C79

Preview Lab

Preview with #0C4A22

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

Preview Lab → · Contrast checker → · Palette generator →

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