#0C4D22#0C4D22

#0C4D22 is a dark, moderate green. Relative luminance 0.055; OKLCH L 37.0% C 0.095 H 149.6°. Best body text is #FFFFFF at 10.00:1 contrast (WCAG AA passes).

Color values

HEX#0C4D22
RGBrgb(12, 77, 34)
HSLhsl(140, 73%, 17%)
HSVhsv(140, 84%, 30%)
CMYKcmyk(84.4%, 0%, 55.8%, 69.8%)
CIE-LABlab(28.12, -30.51, 19.90)
CIE-LCHlch(28.12, 36.42, 146.89°)
OKLaboklab(37.01% -0.082 0.0482)
OKLCHoklch(37.01% 0.095 149.6)
XYZxyz(3.0940, 5.5010, 2.4118)
Luminance0.0550 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C4D22 #4D0C37
analogous
#164D0C #0C4D22 #0C4D43
triadic
#0C4D22 #220C4D #4D220C
tetradic
#0C4D22 #0C164D #4D0C37 #4D430C
square
#0C4D22 #0C164D #4D0C37 #4D430C
split-complementary
#0C4D22 #430C4D #4D0C16
monochromatic
#041A0C #041A0C #0C4D22 #148239 #1DB751

Accessibility & contrast

On white

10.00
#0C4D22 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#0C4D22 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C4D22
10.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C4D22#FFFFFF#000000##FFFFFF
##0C4D221.0010.002.1010.00
#FFFFFF10.001.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E451E
Deuteranopia (green-blind)
#464025
Tritanopia (blue-blind)
#004B43
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #0c4d22;
/* rgb */ color: rgb(12, 77, 34);
/* oklch */ color: oklch(37.0% 0.095 149.6);
Tailwind
colors: {
  custom: {
    50: '#577f5e',
    500: '#0c4d22',
    950: '#000000',
  },
}
SCSS
$custom: #0c4d22;
$custom-light: #577f5e;
$custom-dark: #000000;
JSON
{
  "hex": "#0c4d22",
  "rgb": {
    "r": 12,
    "g": 77,
    "b": 34
  },
  "hsl": {
    "h": 140.308,
    "s": 73.034,
    "l": 17.451
  },
  "oklch": {
    "l": 0.37009,
    "c": 0.09509,
    "h": 149.6
  },
  "luminance": 0.05501
}

Semantic roles & 50–950 ramp

primary
#0C4D22
secondary
#892C69
accent
#38B2F0
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#040A04
muted
#797C79

Preview Lab

Preview with #0C4D22

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

Preview Lab → · Contrast checker → · Palette generator →

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