#0C5325#0C5325

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

Color values

HEX#0C5325
RGBrgb(12, 83, 37)
HSLhsl(141, 75%, 19%)
HSVhsv(141, 86%, 33%)
CMYKcmyk(85.5%, 0%, 55.4%, 67.5%)
CIE-LABlab(30.39, -32.40, 20.98)
CIE-LCHlch(30.39, 38.60, 147.07°)
OKLaboklab(38.91% -0.087 0.0508)
OKLCHoklch(38.91% 0.101 149.7)
XYZxyz(3.5785, 6.3978, 2.7962)
Luminance0.0640 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C5325 #530C3A
analogous
#16530C #0C5325 #0C5348
triadic
#0C5325 #250C53 #53250C
tetradic
#0C5325 #0C1653 #530C3A #53480C
square
#0C5325 #0C1653 #530C3A #53480C
split-complementary
#0C5325 #480C53 #530C16
monochromatic
#041B0C #041E0D #0C5325 #14883D #1BBE55

Accessibility & contrast

On white

9.21
#0C5325 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C5325
9.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C5325#FFFFFF#000000##FFFFFF
##0C53251.009.212.289.21
#FFFFFF9.211.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#544B21
Deuteranopia (green-blind)
#4C4528
Tritanopia (blue-blind)
#005148
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #0c5325;
/* rgb */ color: rgb(12, 83, 37);
/* oklch */ color: oklch(38.9% 0.101 149.7);
Tailwind
colors: {
  custom: {
    50: '#598460',
    500: '#0c5325',
    950: '#000000',
  },
}
SCSS
$custom: #0c5325;
$custom-light: #598460;
$custom-dark: #000000;
JSON
{
  "hex": "#0c5325",
  "rgb": {
    "r": 12,
    "g": 83,
    "b": 37
  },
  "hsl": {
    "h": 141.127,
    "s": 74.737,
    "l": 18.627
  },
  "oklch": {
    "l": 0.3891,
    "c": 0.10076,
    "h": 149.7
  },
  "luminance": 0.06398
}

Semantic roles & 50–950 ramp

primary
#0C5325
secondary
#8E2D6C
accent
#36B0F1
background
#F5F8F5
surface
#E9EFE9
border
#C5CAC5
text
#040B05
muted
#797C79

Preview Lab

Preview with #0C5325

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

Preview Lab → · Contrast checker → · Palette generator →

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