#0C4927#0C4927

#0C4927 is a dark, moderate green. Relative luminance 0.050; OKLCH L 35.9% C 0.084 H 153.5°. Best body text is #FFFFFF at 10.51:1 contrast (WCAG AA passes).

Color values

HEX#0C4927
RGBrgb(12, 73, 39)
HSLhsl(147, 72%, 17%)
HSVhsv(147, 84%, 29%)
CMYKcmyk(83.6%, 0%, 46.6%, 71.4%)
CIE-LABlab(26.70, -27.83, 15.10)
CIE-LCHlch(26.70, 31.66, 151.52°)
OKLaboklab(35.87% -0.0749 0.0374)
OKLCHoklch(35.87% 0.084 153.5)
XYZxyz(2.9001, 4.9894, 2.7293)
Luminance0.0499 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C4927 #490C2E
analogous
#10490C #0C4927 #0C4946
triadic
#0C4927 #270C49 #49270C
tetradic
#0C4927 #0C1049 #490C2E #49460C
square
#0C4927 #0C1049 #490C2E #49460C
split-complementary
#0C4927 #460C49 #490C10
monochromatic
#041A0E #041A0E #0C4927 #157E43 #1DB25F

Accessibility & contrast

On white

10.51
#0C4927 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#0C4927 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C4927
10.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C4927#FFFFFF#000000##FFFFFF
##0C49271.0010.512.0010.51
#FFFFFF10.511.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#494225
Deuteranopia (green-blind)
#423D29
Tritanopia (blue-blind)
#004841
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #0c4927;
/* rgb */ color: rgb(12, 73, 39);
/* oklch */ color: oklch(35.9% 0.084 153.5);
Tailwind
colors: {
  custom: {
    50: '#567c61',
    500: '#0c4927',
    950: '#000000',
  },
}
SCSS
$custom: #0c4927;
$custom-light: #567c61;
$custom-dark: #000000;
JSON
{
  "hex": "#0c4927",
  "rgb": {
    "r": 12,
    "g": 73,
    "b": 39
  },
  "hsl": {
    "h": 146.557,
    "s": 71.765,
    "l": 16.667
  },
  "oklch": {
    "l": 0.35868,
    "c": 0.08375,
    "h": 153.5
  },
  "luminance": 0.0499
}

Semantic roles & 50–950 ramp

primary
#0C4927
secondary
#852C5D
accent
#399EEE
background
#F5F7F5
surface
#E9EEEA
border
#C5C9C6
text
#030905
muted
#787B79

Preview Lab

Preview with #0C4927

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

Preview Lab → · Contrast checker → · Palette generator →

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