#0C5530#0C5530

#0C5530 is a dark, moderate green. Relative luminance 0.068; OKLCH L 39.7% C 0.092 H 155.0°. Best body text is #FFFFFF at 8.91:1 contrast (WCAG AA passes).

Color values

HEX#0C5530
RGBrgb(12, 85, 48)
HSLhsl(150, 75%, 19%)
HSVhsv(150, 86%, 33%)
CMYKcmyk(85.9%, 0%, 43.5%, 66.7%)
CIE-LABlab(31.32, -31.02, 15.67)
CIE-LCHlch(31.32, 34.75, 153.21°)
OKLaboklab(39.74% -0.0835 0.039)
OKLCHoklch(39.74% 0.092 155)
XYZxyz(3.9332, 6.7881, 3.8987)
Luminance0.0679 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C5530 #550C31
analogous
#0D550C #0C5530 #0C5555
triadic
#0C5530 #300C55 #55300C
tetradic
#0C5530 #0C0D55 #550C31 #55550C
square
#0C5530 #0C0D55 #550C31 #55550C
split-complementary
#0C5530 #550C55 #550C0D
monochromatic
#041B0F #041F12 #0C5530 #148B4E #1BC06D

Accessibility & contrast

On white

8.91
#0C5530 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#0C5530 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C5530
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C5530#FFFFFF#000000##FFFFFF
##0C55301.008.912.368.91
#FFFFFF8.911.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#554D2D
Deuteranopia (green-blind)
#4C4732
Tritanopia (blue-blind)
#00544C
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #0c5530;
/* rgb */ color: rgb(12, 85, 48);
/* oklch */ color: oklch(39.7% 0.092 155.0);
Tailwind
colors: {
  custom: {
    50: '#598668',
    500: '#0c5530',
    950: '#000000',
  },
}
SCSS
$custom: #0c5530;
$custom-light: #598668;
$custom-dark: #000000;
JSON
{
  "hex": "#0c5530",
  "rgb": {
    "r": 12,
    "g": 85,
    "b": 48
  },
  "hsl": {
    "h": 149.589,
    "s": 75.258,
    "l": 19.02
  },
  "oklch": {
    "l": 0.39736,
    "c": 0.09221,
    "h": 155
  },
  "luminance": 0.06789
}

Semantic roles & 50–950 ramp

primary
#0C5530
secondary
#902D5F
accent
#3695F2
background
#F5F8F6
surface
#E9EFEB
border
#C5CAC6
text
#040B06
muted
#797C7A

Preview Lab

Preview with #0C5530

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

Preview Lab → · Contrast checker → · Palette generator →

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