#0C4E22#0C4E22

#0C4E22 is a dark, moderate green. Relative luminance 0.056; OKLCH L 37.3% C 0.097 H 149.3°. Best body text is #FFFFFF at 9.87:1 contrast (WCAG AA passes).

Color values

HEX#0C4E22
RGBrgb(12, 78, 34)
HSLhsl(140, 73%, 18%)
HSVhsv(140, 85%, 31%)
CMYKcmyk(84.6%, 0%, 56.4%, 69.4%)
CIE-LABlab(28.49, -30.92, 20.36)
CIE-LCHlch(28.49, 37.02, 146.64°)
OKLaboklab(37.32% -0.0831 0.0492)
OKLCHoklch(37.32% 0.097 149.3)
XYZxyz(3.1645, 5.6421, 2.4353)
Luminance0.0564 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C4E22 #4E0C38
analogous
#174E0C #0C4E22 #0C4E43
triadic
#0C4E22 #220C4E #4E220C
tetradic
#0C4E22 #0C174E #4E0C38 #4E430C
square
#0C4E22 #0C174E #4E0C38 #4E430C
split-complementary
#0C4E22 #430C4E #4E0C17
monochromatic
#041B0C #041B0C #0C4E22 #148339 #1CB850

Accessibility & contrast

On white

9.87
#0C4E22 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#0C4E22 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C4E22
9.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C4E22#FFFFFF#000000##FFFFFF
##0C4E221.009.872.139.87
#FFFFFF9.871.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F461E
Deuteranopia (green-blind)
#474125
Tritanopia (blue-blind)
#004C44
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #0c4e22;
/* rgb */ color: rgb(12, 78, 34);
/* oklch */ color: oklch(37.3% 0.097 149.3);
Tailwind
colors: {
  custom: {
    50: '#58805e',
    500: '#0c4e22',
    950: '#000000',
  },
}
SCSS
$custom: #0c4e22;
$custom-light: #58805e;
$custom-dark: #000000;
JSON
{
  "hex": "#0c4e22",
  "rgb": {
    "r": 12,
    "g": 78,
    "b": 34
  },
  "hsl": {
    "h": 140,
    "s": 73.333,
    "l": 17.647
  },
  "oklch": {
    "l": 0.37318,
    "c": 0.09656,
    "h": 149.3
  },
  "luminance": 0.05642
}

Semantic roles & 50–950 ramp

primary
#0C4E22
secondary
#8A2C6A
accent
#38B3F0
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#040A04
muted
#797C79

Preview Lab

Preview with #0C4E22

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

Preview Lab → · Contrast checker → · Palette generator →

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