#0C532E#0C532E

#0C532E is a dark, moderate green. Relative luminance 0.065; OKLCH L 39.1% C 0.091 H 154.4°. Best body text is #FFFFFF at 9.16:1 contrast (WCAG AA passes).

Color values

HEX#0C532E
RGBrgb(12, 83, 46)
HSLhsl(149, 75%, 19%)
HSVhsv(149, 86%, 33%)
CMYKcmyk(85.5%, 0%, 44.6%, 67.5%)
CIE-LABlab(30.55, -30.61, 15.86)
CIE-LCHlch(30.55, 34.47, 152.61°)
OKLaboklab(39.09% -0.0824 0.0394)
OKLCHoklch(39.09% 0.091 154.4)
XYZxyz(3.7377, 6.4615, 3.6344)
Luminance0.0646 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C532E #530C31
analogous
#0E530C #0C532E #0C5351
triadic
#0C532E #2E0C53 #532E0C
tetradic
#0C532E #0C0E53 #530C31 #53510C
square
#0C532E #0C0E53 #530C31 #53510C
split-complementary
#0C532E #510C53 #530C0E
monochromatic
#041B0F #041E10 #0C532E #14884C #1BBE69

Accessibility & contrast

On white

9.16
#0C532E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C532E
9.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C532E#FFFFFF#000000##FFFFFF
##0C532E1.009.162.299.16
#FFFFFF9.161.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#534B2B
Deuteranopia (green-blind)
#4B4631
Tritanopia (blue-blind)
#00524A
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #0c532e;
/* rgb */ color: rgb(12, 83, 46);
/* oklch */ color: oklch(39.1% 0.091 154.4);
Tailwind
colors: {
  custom: {
    50: '#598467',
    500: '#0c532e',
    950: '#000000',
  },
}
SCSS
$custom: #0c532e;
$custom-light: #598467;
$custom-dark: #000000;
JSON
{
  "hex": "#0c532e",
  "rgb": {
    "r": 12,
    "g": 83,
    "b": 46
  },
  "hsl": {
    "h": 148.732,
    "s": 74.737,
    "l": 18.627
  },
  "oklch": {
    "l": 0.39087,
    "c": 0.09135,
    "h": 154.4
  },
  "luminance": 0.06462
}

Semantic roles & 50–950 ramp

primary
#0C532E
secondary
#8E2D5F
accent
#3698F1
background
#F5F8F6
surface
#E9EFEB
border
#C5CAC6
text
#040B06
muted
#797C7A

Preview Lab

Preview with #0C532E

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

Preview Lab → · Contrast checker → · Palette generator →

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