#0C4522#0C4522

#0C4522 is a dark, moderate green. Relative luminance 0.044; OKLCH L 34.5% C 0.083 H 151.6°. Best body text is #FFFFFF at 11.11:1 contrast (WCAG AA passes).

Color values

HEX#0C4522
RGBrgb(12, 69, 34)
HSLhsl(143, 70%, 16%)
HSVhsv(143, 83%, 27%)
CMYKcmyk(82.6%, 0%, 50.7%, 72.9%)
CIE-LABlab(25.11, -27.14, 16.10)
CIE-LCHlch(25.11, 31.55, 149.33°)
OKLaboklab(34.52% -0.073 0.0396)
OKLCHoklch(34.52% 0.083 151.6)
XYZxyz(2.5683, 4.4496, 2.2366)
Luminance0.0445 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C4522 #450C2F
analogous
#12450C #0C4522 #0C453E
triadic
#0C4522 #220C45 #45220C
tetradic
#0C4522 #0C1245 #450C2F #453E0C
square
#0C4522 #0C1245 #450C2F #453E0C
split-complementary
#0C4522 #3E0C45 #450C12
monochromatic
#051A0D #051A0D #0C4522 #15793C #1EAD55

Accessibility & contrast

On white

11.11
#0C4522 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#0C4522 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C4522
11.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C4522#FFFFFF#000000##FFFFFF
##0C45221.0011.111.8911.11
#FFFFFF11.111.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#453E1F
Deuteranopia (green-blind)
#3E3A24
Tritanopia (blue-blind)
#00443D
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #0c4522;
/* rgb */ color: rgb(12, 69, 34);
/* oklch */ color: oklch(34.5% 0.083 151.6);
Tailwind
colors: {
  custom: {
    50: '#55795d',
    500: '#0c4522',
    950: '#000000',
  },
}
SCSS
$custom: #0c4522;
$custom-light: #55795d;
$custom-dark: #000000;
JSON
{
  "hex": "#0c4522",
  "rgb": {
    "r": 12,
    "g": 69,
    "b": 34
  },
  "hsl": {
    "h": 143.158,
    "s": 70.37,
    "l": 15.882
  },
  "oklch": {
    "l": 0.34518,
    "c": 0.08305,
    "h": 151.6
  },
  "luminance": 0.0445
}

Semantic roles & 50–950 ramp

primary
#0C4522
secondary
#812C60
accent
#3BA8ED
background
#F5F7F5
surface
#E9EDE9
border
#C5C8C5
text
#030904
muted
#787B79

Preview Lab

Preview with #0C4522

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

Preview Lab → · Contrast checker → · Palette generator →

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