#0C5327#0C5327

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

Color values

HEX#0C5327
RGBrgb(12, 83, 39)
HSLhsl(143, 75%, 19%)
HSVhsv(143, 86%, 33%)
CMYKcmyk(85.5%, 0%, 53%, 67.5%)
CIE-LABlab(30.43, -32.03, 19.87)
CIE-LCHlch(30.43, 37.69, 148.19°)
OKLaboklab(38.95% -0.086 0.0484)
OKLCHoklch(38.95% 0.099 150.6)
XYZxyz(3.6108, 6.4107, 2.9662)
Luminance0.0641 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C5327 #530C38
analogous
#14530C #0C5327 #0C534A
triadic
#0C5327 #270C53 #53270C
tetradic
#0C5327 #0C1453 #530C38 #534A0C
square
#0C5327 #0C1453 #530C38 #534A0C
split-complementary
#0C5327 #4A0C53 #530C14
monochromatic
#041B0D #041E0E #0C5327 #148840 #1BBE59

Accessibility & contrast

On white

9.20
#0C5327 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C5327
9.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C5327#FFFFFF#000000##FFFFFF
##0C53271.009.202.289.20
#FFFFFF9.201.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#534B23
Deuteranopia (green-blind)
#4B452A
Tritanopia (blue-blind)
#005149
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #0c5327;
/* rgb */ color: rgb(12, 83, 39);
/* oklch */ color: oklch(38.9% 0.099 150.6);
Tailwind
colors: {
  custom: {
    50: '#598462',
    500: '#0c5327',
    950: '#000000',
  },
}
SCSS
$custom: #0c5327;
$custom-light: #598462;
$custom-dark: #000000;
JSON
{
  "hex": "#0c5327",
  "rgb": {
    "r": 12,
    "g": 83,
    "b": 39
  },
  "hsl": {
    "h": 142.817,
    "s": 74.737,
    "l": 18.627
  },
  "oklch": {
    "l": 0.38946,
    "c": 0.09869,
    "h": 150.6
  },
  "luminance": 0.06411
}

Semantic roles & 50–950 ramp

primary
#0C5327
secondary
#8E2D69
accent
#36AAF1
background
#F5F8F5
surface
#E9EFEA
border
#C5CAC6
text
#040B05
muted
#797C79

Preview Lab

Preview with #0C5327

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

Preview Lab → · Contrast checker → · Palette generator →

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