#0C532B#0C532B

#0C532B is a dark, moderate green. Relative luminance 0.064; OKLCH L 39.0% C 0.095 H 152.7°. Best body text is #FFFFFF at 9.18:1 contrast (WCAG AA passes).

Color values

HEX#0C532B
RGBrgb(12, 83, 43)
HSLhsl(146, 75%, 19%)
HSVhsv(146, 86%, 33%)
CMYKcmyk(85.5%, 0%, 48.2%, 67.5%)
CIE-LABlab(30.49, -31.24, 17.59)
CIE-LCHlch(30.49, 35.85, 150.62°)
OKLaboklab(39.02% -0.084 0.0434)
OKLCHoklch(39.02% 0.095 152.7)
XYZxyz(3.6806, 6.4386, 3.3338)
Luminance0.0644 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C532B #530C34
analogous
#10530C #0C532B #0C534E
triadic
#0C532B #2B0C53 #532B0C
tetradic
#0C532B #0C1053 #530C34 #534E0C
square
#0C532B #0C1053 #530C34 #534E0C
split-complementary
#0C532B #4E0C53 #530C10
monochromatic
#041B0E #041E0F #0C532B #148847 #1BBE62

Accessibility & contrast

On white

9.18
#0C532B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#0C532B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C532B
9.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C532B#FFFFFF#000000##FFFFFF
##0C532B1.009.182.299.18
#FFFFFF9.181.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#534B28
Deuteranopia (green-blind)
#4B452E
Tritanopia (blue-blind)
#005249
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #0c532b;
/* rgb */ color: rgb(12, 83, 43);
/* oklch */ color: oklch(39.0% 0.095 152.7);
Tailwind
colors: {
  custom: {
    50: '#598465',
    500: '#0c532b',
    950: '#000000',
  },
}
SCSS
$custom: #0c532b;
$custom-light: #598465;
$custom-dark: #000000;
JSON
{
  "hex": "#0c532b",
  "rgb": {
    "r": 12,
    "g": 83,
    "b": 43
  },
  "hsl": {
    "h": 146.197,
    "s": 74.737,
    "l": 18.627
  },
  "oklch": {
    "l": 0.39023,
    "c": 0.09451,
    "h": 152.7
  },
  "luminance": 0.06439
}

Semantic roles & 50–950 ramp

primary
#0C532B
secondary
#8E2D64
accent
#36A0F1
background
#F5F8F6
surface
#E9EFEB
border
#C5CAC6
text
#040B05
muted
#797C7A

Preview Lab

Preview with #0C532B

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

Preview Lab → · Contrast checker → · Palette generator →

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