#0C5522#0C5522

#0C5522 is a dark, moderate green. Relative luminance 0.067; OKLCH L 39.5% C 0.107 H 148.1°. Best body text is #FFFFFF at 8.98:1 contrast (WCAG AA passes).

Color values

HEX#0C5522
RGBrgb(12, 85, 34)
HSLhsl(138, 75%, 19%)
HSVhsv(138, 86%, 33%)
CMYKcmyk(85.9%, 0%, 60%, 66.7%)
CIE-LABlab(31.09, -33.70, 23.52)
CIE-LCHlch(31.09, 41.10, 145.08°)
OKLaboklab(39.47% -0.0905 0.0563)
OKLCHoklch(39.47% 0.107 148.1)
XYZxyz(3.6886, 6.6902, 2.6100)
Luminance0.0669 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C5522 #550C3F
analogous
#1B550C #0C5522 #0C5547
triadic
#0C5522 #220C55 #55220C
tetradic
#0C5522 #0C1B55 #550C3F #55470C
square
#0C5522 #0C1B55 #550C3F #55470C
split-complementary
#0C5522 #470C55 #550C1B
monochromatic
#041B0B #041F0D #0C5522 #148B37 #1BC04D

Accessibility & contrast

On white

8.98
#0C5522 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#0C5522 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C5522
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C5522#FFFFFF#000000##FFFFFF
##0C55221.008.982.348.98
#FFFFFF8.981.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#564D1D
Deuteranopia (green-blind)
#4E4726
Tritanopia (blue-blind)
#00534A
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #0c5522;
/* rgb */ color: rgb(12, 85, 34);
/* oklch */ color: oklch(39.5% 0.107 148.1);
Tailwind
colors: {
  custom: {
    50: '#5a865e',
    500: '#0c5522',
    950: '#000000',
  },
}
SCSS
$custom: #0c5522;
$custom-light: #5a865e;
$custom-dark: #000000;
JSON
{
  "hex": "#0c5522",
  "rgb": {
    "r": 12,
    "g": 85,
    "b": 34
  },
  "hsl": {
    "h": 138.082,
    "s": 75.258,
    "l": 19.02
  },
  "oklch": {
    "l": 0.39473,
    "c": 0.10659,
    "h": 148.1
  },
  "luminance": 0.06691
}

Semantic roles & 50–950 ramp

primary
#0C5522
secondary
#902D72
accent
#36B9F2
background
#F5F8F5
surface
#E9EFE9
border
#C5CAC5
text
#040B04
muted
#797C79

Preview Lab

Preview with #0C5522

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

Preview Lab → · Contrast checker → · Palette generator →

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