#0C4810#0C4810

#0C4810 is a dark, moderate green. Relative luminance 0.048; OKLCH L 35.2% C 0.105 H 143.7°. Best body text is #FFFFFF at 10.77:1 contrast (WCAG AA passes).

Color values

HEX#0C4810
RGBrgb(12, 72, 16)
HSLhsl(124, 71%, 16%)
HSVhsv(124, 83%, 28%)
CMYKcmyk(83.3%, 0%, 77.8%, 71.8%)
CIE-LABlab(26.01, -31.16, 27.05)
CIE-LCHlch(26.01, 41.26, 139.03°)
OKLaboklab(35.19% -0.0844 0.0619)
OKLCHoklch(35.19% 0.105 143.7)
XYZxyz(2.5623, 4.7500, 1.2719)
Luminance0.0475 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C4810 #480C44
analogous
#26480C #0C4810 #0C482E
triadic
#0C4810 #100C48 #48100C
tetradic
#0C4810 #0C2648 #480C44 #482E0C
square
#0C4810 #0C2648 #480C44 #482E0C
split-complementary
#0C4810 #2E0C48 #480C26
monochromatic
#041A06 #041A06 #0C4810 #157C1C #1DB127

Accessibility & contrast

On white

10.77
#0C4810 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#0C4810 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C4810
10.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C4810#FFFFFF#000000##FFFFFF
##0C48101.0010.771.9510.77
#FFFFFF10.771.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A4008
Deuteranopia (green-blind)
#433C16
Tritanopia (blue-blind)
#00463D
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #0c4810;
/* rgb */ color: rgb(12, 72, 16);
/* oklch */ color: oklch(35.2% 0.105 143.7);
Tailwind
colors: {
  custom: {
    50: '#577c52',
    500: '#0c4810',
    950: '#000000',
  },
}
SCSS
$custom: #0c4810;
$custom-light: #577c52;
$custom-dark: #000000;
JSON
{
  "hex": "#0c4810",
  "rgb": {
    "r": 12,
    "g": 72,
    "b": 16
  },
  "hsl": {
    "h": 124,
    "s": 71.429,
    "l": 16.471
  },
  "oklch": {
    "l": 0.35191,
    "c": 0.10462,
    "h": 143.7
  },
  "luminance": 0.0475
}

Semantic roles & 50–950 ramp

primary
#0C4810
secondary
#842C7E
accent
#3AE2EE
background
#F5F7F4
surface
#E9EEE7
border
#C5C9C3
text
#040902
muted
#797B78

Preview Lab

Preview with #0C4810

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

Preview Lab → · Contrast checker → · Palette generator →

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