#0C5B3F#0C5B3F

#0C5B3F is a dark, moderate teal. Relative luminance 0.079; OKLCH L 41.9% C 0.086 H 163.0°. Best body text is #FFFFFF at 8.13:1 contrast (WCAG AA passes).

Color values

HEX#0C5B3F
RGBrgb(12, 91, 63)
HSLhsl(159, 77%, 20%)
HSVhsv(159, 87%, 36%)
CMYKcmyk(86.8%, 0%, 30.8%, 64.3%)
CIE-LABlab(33.81, -30.03, 9.87)
CIE-LCHlch(33.81, 31.61, 161.80°)
OKLaboklab(41.9% -0.082 0.0251)
OKLCHoklch(41.9% 0.086 163)
XYZxyz(4.7894, 7.9186, 5.9777)
Luminance0.0792 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C5B3F #5B0C28
analogous
#0C5B17 #0C5B3F #0C4F5B
triadic
#0C5B3F #3F0C5B #5B3F0C
tetradic
#0C5B3F #170C5B #5B0C28 #4F5B0C
square
#0C5B3F #170C5B #5B0C28 #4F5B0C
split-complementary
#0C5B3F #5B0C4F #5B170C
monochromatic
#041B13 #05251A #0C5B3F #139164 #1AC78A

Accessibility & contrast

On white

8.13
#0C5B3F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.58
#0C5B3F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C5B3F
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C5B3F#FFFFFF#000000##FFFFFF
##0C5B3F1.008.132.588.13
#FFFFFF8.131.0021.001.00
#0000002.5821.001.0021.00
##FFFFFF8.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#59543D
Deuteranopia (green-blind)
#504D41
Tritanopia (blue-blind)
#005B53
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #0c5b3f;
/* rgb */ color: rgb(12, 91, 63);
/* oklch */ color: oklch(41.9% 0.086 163.0);
Tailwind
colors: {
  custom: {
    50: '#5b8a74',
    500: '#0c5b3f',
    950: '#000000',
  },
}
SCSS
$custom: #0c5b3f;
$custom-light: #5b8a74;
$custom-dark: #000000;
JSON
{
  "hex": "#0c5b3f",
  "rgb": {
    "r": 12,
    "g": 91,
    "b": 63
  },
  "hsl": {
    "h": 158.734,
    "s": 76.699,
    "l": 20.196
  },
  "oklch": {
    "l": 0.41898,
    "c": 0.08581,
    "h": 163
  },
  "luminance": 0.07919
}

Semantic roles & 50–950 ramp

primary
#0C5B3F
secondary
#962D52
accent
#3578F3
background
#F5F8F7
surface
#E9F0ED
border
#C5CBC8
text
#050C08
muted
#797D7B

Preview Lab

Preview with #0C5B3F

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

Preview Lab → · Contrast checker → · Palette generator →

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