#0C4827#0C4827

#0C4827 is a dark, moderate green. Relative luminance 0.049; OKLCH L 35.6% C 0.082 H 153.8°. Best body text is #FFFFFF at 10.65:1 contrast (WCAG AA passes).

Color values

HEX#0C4827
RGBrgb(12, 72, 39)
HSLhsl(147, 71%, 16%)
HSVhsv(147, 83%, 28%)
CMYKcmyk(83.3%, 0%, 45.8%, 71.8%)
CIE-LABlab(26.33, -27.39, 14.61)
CIE-LCHlch(26.33, 31.04, 151.93°)
OKLaboklab(35.56% -0.0738 0.0363)
OKLCHoklch(35.56% 0.082 153.8)
XYZxyz(2.8349, 4.8590, 2.7075)
Luminance0.0486 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C4827 #480C2D
analogous
#0F480C #0C4827 #0C4845
triadic
#0C4827 #270C48 #48270C
tetradic
#0C4827 #0C0F48 #480C2D #48450C
square
#0C4827 #0C0F48 #480C2D #48450C
split-complementary
#0C4827 #450C48 #480C0F
monochromatic
#041A0E #041A0E #0C4827 #157C43 #1DB160

Accessibility & contrast

On white

10.65
#0C4827 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#0C4827 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C4827
10.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C4827#FFFFFF#000000##FFFFFF
##0C48271.0010.651.9710.65
#FFFFFF10.651.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#484125
Deuteranopia (green-blind)
#413C29
Tritanopia (blue-blind)
#004740
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #0c4827;
/* rgb */ color: rgb(12, 72, 39);
/* oklch */ color: oklch(35.6% 0.082 153.8);
Tailwind
colors: {
  custom: {
    50: '#567c61',
    500: '#0c4827',
    950: '#000000',
  },
}
SCSS
$custom: #0c4827;
$custom-light: #567c61;
$custom-dark: #000000;
JSON
{
  "hex": "#0c4827",
  "rgb": {
    "r": 12,
    "g": 72,
    "b": 39
  },
  "hsl": {
    "h": 147,
    "s": 71.429,
    "l": 16.471
  },
  "oklch": {
    "l": 0.35559,
    "c": 0.08222,
    "h": 153.8
  },
  "luminance": 0.04859
}

Semantic roles & 50–950 ramp

primary
#0C4827
secondary
#842C5C
accent
#3A9DEE
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#030905
muted
#787B79

Preview Lab

Preview with #0C4827

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

Preview Lab → · Contrast checker → · Palette generator →

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