#0C5323#0C5323

#0C5323 is a dark, moderate green. Relative luminance 0.064; OKLCH L 38.9% C 0.103 H 148.9°. Best body text is #FFFFFF at 9.22:1 contrast (WCAG AA passes).

Color values

HEX#0C5323
RGBrgb(12, 83, 35)
HSLhsl(139, 75%, 19%)
HSVhsv(139, 86%, 33%)
CMYKcmyk(85.5%, 0%, 57.8%, 67.5%)
CIE-LABlab(30.37, -32.75, 22.09)
CIE-LCHlch(30.37, 39.50, 146.00°)
OKLaboklab(38.88% -0.088 0.0532)
OKLCHoklch(38.88% 0.103 148.9)
XYZxyz(3.5480, 6.3856, 2.6353)
Luminance0.0639 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C5323 #530C3C
analogous
#18530C #0C5323 #0C5346
triadic
#0C5323 #230C53 #53230C
tetradic
#0C5323 #0C1853 #530C3C #53460C
square
#0C5323 #0C1853 #530C3C #53460C
split-complementary
#0C5323 #460C53 #530C18
monochromatic
#041B0B #041E0C #0C5323 #14883A #1BBE50

Accessibility & contrast

On white

9.22
#0C5323 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#0C5323 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C5323
9.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C5323#FFFFFF#000000##FFFFFF
##0C53231.009.222.289.22
#FFFFFF9.221.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#544B1F
Deuteranopia (green-blind)
#4C4527
Tritanopia (blue-blind)
#005148
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #0c5323;
/* rgb */ color: rgb(12, 83, 35);
/* oklch */ color: oklch(38.9% 0.103 148.9);
Tailwind
colors: {
  custom: {
    50: '#59845f',
    500: '#0c5323',
    950: '#000000',
  },
}
SCSS
$custom: #0c5323;
$custom-light: #59845f;
$custom-dark: #000000;
JSON
{
  "hex": "#0c5323",
  "rgb": {
    "r": 12,
    "g": 83,
    "b": 35
  },
  "hsl": {
    "h": 139.437,
    "s": 74.737,
    "l": 18.627
  },
  "oklch": {
    "l": 0.38876,
    "c": 0.10277,
    "h": 148.9
  },
  "luminance": 0.06386
}

Semantic roles & 50–950 ramp

primary
#0C5323
secondary
#8E2D6F
accent
#36B5F1
background
#F5F8F5
surface
#E9EFE9
border
#C5CAC5
text
#040B04
muted
#797C79

Preview Lab

Preview with #0C5323

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

Preview Lab → · Contrast checker → · Palette generator →

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