#0C5523#0C5523

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

Color values

HEX#0C5523
RGBrgb(12, 85, 35)
HSLhsl(139, 75%, 19%)
HSVhsv(139, 86%, 33%)
CMYKcmyk(85.9%, 0%, 58.8%, 66.7%)
CIE-LABlab(31.10, -33.53, 22.99)
CIE-LCHlch(31.10, 40.65, 145.57°)
OKLaboklab(39.49% -0.0901 0.0551)
OKLCHoklch(39.49% 0.106 148.5)
XYZxyz(3.7032, 6.6961, 2.6871)
Luminance0.0670 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C5523 #550C3E
analogous
#1A550C #0C5523 #0C5548
triadic
#0C5523 #230C55 #55230C
tetradic
#0C5523 #0C1A55 #550C3E #55480C
square
#0C5523 #0C1A55 #550C3E #55480C
split-complementary
#0C5523 #480C55 #550C1A
monochromatic
#041B0B #041F0D #0C5523 #148B39 #1BC04F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##0C5523#FFFFFF#000000##FFFFFF
##0C55231.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)
#564D1E
Deuteranopia (green-blind)
#4E4727
Tritanopia (blue-blind)
#00534A
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #0c5523;
/* rgb */ color: rgb(12, 85, 35);
/* oklch */ color: oklch(39.5% 0.106 148.5);
Tailwind
colors: {
  custom: {
    50: '#5a865f',
    500: '#0c5523',
    950: '#000000',
  },
}
SCSS
$custom: #0c5523;
$custom-light: #5a865f;
$custom-dark: #000000;
JSON
{
  "hex": "#0c5523",
  "rgb": {
    "r": 12,
    "g": 85,
    "b": 35
  },
  "hsl": {
    "h": 138.904,
    "s": 75.258,
    "l": 19.02
  },
  "oklch": {
    "l": 0.39489,
    "c": 0.10561,
    "h": 148.5
  },
  "luminance": 0.06697
}

Semantic roles & 50–950 ramp

primary
#0C5523
secondary
#902D71
accent
#36B7F2
background
#F5F8F5
surface
#E9EFE9
border
#C5CAC5
text
#040B04
muted
#797C79

Preview Lab

Preview with #0C5523

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

Preview Lab → · Contrast checker → · Palette generator →

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