#0C4628#0C4628

#0C4628 is a dark, moderate green. Relative luminance 0.046; OKLCH L 35.0% C 0.078 H 155.4°. Best body text is #FFFFFF at 10.92:1 contrast (WCAG AA passes).

Color values

HEX#0C4628
RGBrgb(12, 70, 40)
HSLhsl(149, 71%, 16%)
HSVhsv(149, 83%, 27%)
CMYKcmyk(82.9%, 0%, 42.9%, 72.5%)
CIE-LABlab(25.60, -26.28, 13.01)
CIE-LCHlch(25.60, 29.32, 153.65°)
OKLaboklab(34.96% -0.0709 0.0325)
OKLCHoklch(34.96% 0.078 155.4)
XYZxyz(2.7245, 4.6114, 2.7536)
Luminance0.0461 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C4628 #460C2A
analogous
#0D460C #0C4628 #0C4645
triadic
#0C4628 #280C46 #46280C
tetradic
#0C4628 #0C0D46 #460C2A #46450C
square
#0C4628 #0C0D46 #460C2A #46450C
split-complementary
#0C4628 #450C46 #460C0D
monochromatic
#041A0F #041A0F #0C4628 #157A46 #1EAE64

Accessibility & contrast

On white

10.92
#0C4628 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#0C4628 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C4628
10.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C4628#FFFFFF#000000##FFFFFF
##0C46281.0010.921.9210.92
#FFFFFF10.921.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#464026
Deuteranopia (green-blind)
#3F3B2A
Tritanopia (blue-blind)
#00453E
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #0c4628;
/* rgb */ color: rgb(12, 70, 40);
/* oklch */ color: oklch(35.0% 0.078 155.4);
Tailwind
colors: {
  custom: {
    50: '#557a62',
    500: '#0c4628',
    950: '#000000',
  },
}
SCSS
$custom: #0c4628;
$custom-light: #557a62;
$custom-dark: #000000;
JSON
{
  "hex": "#0c4628",
  "rgb": {
    "r": 12,
    "g": 70,
    "b": 40
  },
  "hsl": {
    "h": 148.966,
    "s": 70.732,
    "l": 16.078
  },
  "oklch": {
    "l": 0.34961,
    "c": 0.07803,
    "h": 155.4
  },
  "luminance": 0.04612
}

Semantic roles & 50–950 ramp

primary
#0C4628
secondary
#822C58
accent
#3A97ED
background
#F5F7F5
surface
#E9EDEA
border
#C5C8C6
text
#030905
muted
#787B79

Preview Lab

Preview with #0C4628

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

Preview Lab → · Contrast checker → · Palette generator →

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