#0C4D24#0C4D24

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

Color values

HEX#0C4D24
RGBrgb(12, 77, 36)
HSLhsl(142, 73%, 17%)
HSVhsv(142, 84%, 30%)
CMYKcmyk(84.4%, 0%, 53.2%, 69.8%)
CIE-LABlab(28.15, -30.14, 18.76)
CIE-LCHlch(28.15, 35.50, 148.10°)
OKLaboklab(37.05% -0.081 0.0457)
OKLCHoklch(37.05% 0.093 150.5)
XYZxyz(3.1237, 5.5129, 2.5682)
Luminance0.0551 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C4D24 #4D0C35
analogous
#144D0C #0C4D24 #0C4D45
triadic
#0C4D24 #240C4D #4D240C
tetradic
#0C4D24 #0C144D #4D0C35 #4D450C
square
#0C4D24 #0C144D #4D0C35 #4D450C
split-complementary
#0C4D24 #450C4D #4D0C14
monochromatic
#041A0C #041A0C #0C4D24 #14823D #1DB756

Accessibility & contrast

On white

9.99
#0C4D24 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C4D24
9.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C4D24#FFFFFF#000000##FFFFFF
##0C4D241.009.992.109.99
#FFFFFF9.991.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D4621
Deuteranopia (green-blind)
#464027
Tritanopia (blue-blind)
#004C43
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #0c4d24;
/* rgb */ color: rgb(12, 77, 36);
/* oklch */ color: oklch(37.0% 0.093 150.5);
Tailwind
colors: {
  custom: {
    50: '#577f5f',
    500: '#0c4d24',
    950: '#000000',
  },
}
SCSS
$custom: #0c4d24;
$custom-light: #577f5f;
$custom-dark: #000000;
JSON
{
  "hex": "#0c4d24",
  "rgb": {
    "r": 12,
    "g": 77,
    "b": 36
  },
  "hsl": {
    "h": 142.154,
    "s": 73.034,
    "l": 17.451
  },
  "oklch": {
    "l": 0.37045,
    "c": 0.093,
    "h": 150.5
  },
  "luminance": 0.05513
}

Semantic roles & 50–950 ramp

primary
#0C4D24
secondary
#892C66
accent
#38ACF0
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#040A04
muted
#797C79

Preview Lab

Preview with #0C4D24

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

Preview Lab → · Contrast checker → · Palette generator →

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