#0C4826#0C4826

#0C4826 is a dark, moderate green. Relative luminance 0.049; OKLCH L 35.5% C 0.083 H 153.2°. Best body text is #FFFFFF at 10.66:1 contrast (WCAG AA passes).

Color values

HEX#0C4826
RGBrgb(12, 72, 38)
HSLhsl(146, 71%, 16%)
HSVhsv(146, 83%, 28%)
CMYKcmyk(83.3%, 0%, 47.2%, 71.8%)
CIE-LABlab(26.31, -27.61, 15.20)
CIE-LCHlch(26.31, 31.52, 151.17°)
OKLaboklab(35.54% -0.0743 0.0376)
OKLCHoklch(35.54% 0.083 153.2)
XYZxyz(2.8186, 4.8525, 2.6214)
Luminance0.0485 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C4826 #480C2E
analogous
#10480C #0C4826 #0C4844
triadic
#0C4826 #260C48 #48260C
tetradic
#0C4826 #0C1048 #480C2E #48440C
square
#0C4826 #0C1048 #480C2E #48440C
split-complementary
#0C4826 #440C48 #480C10
monochromatic
#041A0E #041A0E #0C4826 #157C42 #1DB15D

Accessibility & contrast

On white

10.66
#0C4826 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C4826
10.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C4826#FFFFFF#000000##FFFFFF
##0C48261.0010.661.9710.66
#FFFFFF10.661.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.661.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0c4826;
/* rgb */ color: rgb(12, 72, 38);
/* oklch */ color: oklch(35.5% 0.083 153.2);
Tailwind
colors: {
  custom: {
    50: '#567c60',
    500: '#0c4826',
    950: '#000000',
  },
}
SCSS
$custom: #0c4826;
$custom-light: #567c60;
$custom-dark: #000000;
JSON
{
  "hex": "#0c4826",
  "rgb": {
    "r": 12,
    "g": 72,
    "b": 38
  },
  "hsl": {
    "h": 146,
    "s": 71.429,
    "l": 16.471
  },
  "oklch": {
    "l": 0.35537,
    "c": 0.08331,
    "h": 153.2
  },
  "luminance": 0.04853
}

Semantic roles & 50–950 ramp

primary
#0C4826
secondary
#842C5E
accent
#3AA0EE
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#030905
muted
#787B79

Preview Lab

Preview with #0C4826

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

Preview Lab → · Contrast checker → · Palette generator →

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