#0C4625#0C4625

#0C4625 is a dark, moderate green. Relative luminance 0.046; OKLCH L 34.9% C 0.081 H 153.2°. Best body text is #FFFFFF at 10.95:1 contrast (WCAG AA passes).

Color values

HEX#0C4625
RGBrgb(12, 70, 37)
HSLhsl(146, 71%, 16%)
HSVhsv(146, 83%, 27%)
CMYKcmyk(82.9%, 0%, 47.1%, 72.5%)
CIE-LABlab(25.54, -26.95, 14.81)
CIE-LCHlch(25.54, 30.75, 151.21°)
OKLaboklab(34.89% -0.0726 0.0367)
OKLCHoklch(34.89% 0.081 153.2)
XYZxyz(2.6755, 4.5917, 2.4952)
Luminance0.0459 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C4625 #460C2D
analogous
#10460C #0C4625 #0C4642
triadic
#0C4625 #250C46 #46250C
tetradic
#0C4625 #0C1046 #460C2D #46420C
square
#0C4625 #0C1046 #460C2D #46420C
split-complementary
#0C4625 #420C46 #460C10
monochromatic
#041A0E #041A0E #0C4625 #157A41 #1EAE5C

Accessibility & contrast

On white

10.95
#0C4625 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C4625
10.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C4625#FFFFFF#000000##FFFFFF
##0C46251.0010.951.9210.95
#FFFFFF10.951.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#463F23
Deuteranopia (green-blind)
#3F3B27
Tritanopia (blue-blind)
#00453E
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #0c4625;
/* rgb */ color: rgb(12, 70, 37);
/* oklch */ color: oklch(34.9% 0.081 153.2);
Tailwind
colors: {
  custom: {
    50: '#557a60',
    500: '#0c4625',
    950: '#000000',
  },
}
SCSS
$custom: #0c4625;
$custom-light: #557a60;
$custom-dark: #000000;
JSON
{
  "hex": "#0c4625",
  "rgb": {
    "r": 12,
    "g": 70,
    "b": 37
  },
  "hsl": {
    "h": 145.862,
    "s": 70.732,
    "l": 16.078
  },
  "oklch": {
    "l": 0.34893,
    "c": 0.08131,
    "h": 153.2
  },
  "luminance": 0.04592
}

Semantic roles & 50–950 ramp

primary
#0C4625
secondary
#822C5D
accent
#3AA0ED
background
#F5F7F5
surface
#E9EDE9
border
#C5C8C5
text
#030904
muted
#787B79

Preview Lab

Preview with #0C4625

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

Preview Lab → · Contrast checker → · Palette generator →

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