#0C4528#0C4528

#0C4528 is a dark, moderate green. Relative luminance 0.045; OKLCH L 34.7% C 0.076 H 155.8°. Best body text is #FFFFFF at 11.07:1 contrast (WCAG AA passes).

Color values

HEX#0C4528
RGBrgb(12, 69, 40)
HSLhsl(149, 70%, 16%)
HSVhsv(149, 83%, 27%)
CMYKcmyk(82.6%, 0%, 42%, 72.9%)
CIE-LABlab(25.22, -25.83, 12.51)
CIE-LCHlch(25.22, 28.70, 154.15°)
OKLaboklab(34.65% -0.0698 0.0313)
OKLCHoklch(34.65% 0.076 155.8)
XYZxyz(2.6625, 4.4873, 2.7329)
Luminance0.0449 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C4528 #450C29
analogous
#0C450C #0C4528 #0C4544
triadic
#0C4528 #280C45 #45280C
tetradic
#0C4528 #0C0C45 #450C29 #45440C
square
#0C4528 #0C0C45 #450C29 #45440C
split-complementary
#0C4528 #440C45 #450C0C
monochromatic
#051A0F #051A0F #0C4528 #157946 #1EAD64

Accessibility & contrast

On white

11.07
#0C4528 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#0C4528 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C4528
11.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C4528#FFFFFF#000000##FFFFFF
##0C45281.0011.071.9011.07
#FFFFFF11.071.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#453F26
Deuteranopia (green-blind)
#3E3A2A
Tritanopia (blue-blind)
#00443E
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #0c4528;
/* rgb */ color: rgb(12, 69, 40);
/* oklch */ color: oklch(34.7% 0.076 155.8);
Tailwind
colors: {
  custom: {
    50: '#557962',
    500: '#0c4528',
    950: '#000000',
  },
}
SCSS
$custom: #0c4528;
$custom-light: #557962;
$custom-dark: #000000;
JSON
{
  "hex": "#0c4528",
  "rgb": {
    "r": 12,
    "g": 69,
    "b": 40
  },
  "hsl": {
    "h": 149.474,
    "s": 70.37,
    "l": 15.882
  },
  "oklch": {
    "l": 0.34651,
    "c": 0.07647,
    "h": 155.8
  },
  "luminance": 0.04488
}

Semantic roles & 50–950 ramp

primary
#0C4528
secondary
#812C57
accent
#3B95ED
background
#F5F7F5
surface
#E9EDEA
border
#C5C8C6
text
#030905
muted
#787B79

Preview Lab

Preview with #0C4528

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

Preview Lab → · Contrast checker → · Palette generator →

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