#0C4924#0C4924

#0C4924 is a dark, moderate green. Relative luminance 0.050; OKLCH L 35.8% C 0.087 H 151.6°. Best body text is #FFFFFF at 10.53:1 contrast (WCAG AA passes).

Color values

HEX#0C4924
RGBrgb(12, 73, 36)
HSLhsl(144, 72%, 17%)
HSVhsv(144, 84%, 29%)
CMYKcmyk(83.6%, 0%, 50.7%, 71.4%)
CIE-LABlab(26.65, -28.46, 16.86)
CIE-LCHlch(26.65, 33.08, 149.36°)
OKLaboklab(35.81% -0.0765 0.0414)
OKLCHoklch(35.81% 0.087 151.6)
XYZxyz(2.8524, 4.9703, 2.4778)
Luminance0.0497 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C4924 #490C31
analogous
#12490C #0C4924 #0C4943
triadic
#0C4924 #240C49 #49240C
tetradic
#0C4924 #0C1249 #490C31 #49430C
square
#0C4924 #0C1249 #490C31 #49430C
split-complementary
#0C4924 #430C49 #490C12
monochromatic
#041A0D #041A0D #0C4924 #157E3E #1DB258

Accessibility & contrast

On white

10.53
#0C4924 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#0C4924 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C4924
10.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C4924#FFFFFF#000000##FFFFFF
##0C49241.0010.531.9910.53
#FFFFFF10.531.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#494221
Deuteranopia (green-blind)
#423D27
Tritanopia (blue-blind)
#004840
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #0c4924;
/* rgb */ color: rgb(12, 73, 36);
/* oklch */ color: oklch(35.8% 0.087 151.6);
Tailwind
colors: {
  custom: {
    50: '#567c5f',
    500: '#0c4924',
    950: '#000000',
  },
}
SCSS
$custom: #0c4924;
$custom-light: #567c5f;
$custom-dark: #000000;
JSON
{
  "hex": "#0c4924",
  "rgb": {
    "r": 12,
    "g": 73,
    "b": 36
  },
  "hsl": {
    "h": 143.607,
    "s": 71.765,
    "l": 16.667
  },
  "oklch": {
    "l": 0.35806,
    "c": 0.087,
    "h": 151.6
  },
  "luminance": 0.04971
}

Semantic roles & 50–950 ramp

primary
#0C4924
secondary
#852C62
accent
#39A7EE
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#030904
muted
#787B79

Preview Lab

Preview with #0C4924

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

Preview Lab → · Contrast checker → · Palette generator →

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