#0C5B3E#0C5B3E

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

Color values

HEX#0C5B3E
RGBrgb(12, 91, 62)
HSLhsl(158, 77%, 20%)
HSVhsv(158, 87%, 36%)
CMYKcmyk(86.8%, 0%, 31.9%, 64.3%)
CIE-LABlab(33.79, -30.29, 10.45)
CIE-LCHlch(33.79, 32.04, 160.96°)
OKLaboklab(41.87% -0.0826 0.0266)
OKLCHoklch(41.87% 0.087 162.2)
XYZxyz(4.7617, 7.9075, 5.8318)
Luminance0.0791 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C5B3E #5B0C29
analogous
#0C5B17 #0C5B3E #0C505B
triadic
#0C5B3E #3E0C5B #5B3E0C
tetradic
#0C5B3E #170C5B #5B0C29 #505B0C
square
#0C5B3E #170C5B #5B0C29 #505B0C
split-complementary
#0C5B3E #5B0C50 #5B170C
monochromatic
#041B12 #052519 #0C5B3E #139163 #1AC788

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##0C5B3E#FFFFFF#000000##FFFFFF
##0C5B3E1.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)
#59533C
Deuteranopia (green-blind)
#504D40
Tritanopia (blue-blind)
#005B53
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #0c5b3e;
/* rgb */ color: rgb(12, 91, 62);
/* oklch */ color: oklch(41.9% 0.087 162.2);
Tailwind
colors: {
  custom: {
    50: '#5b8a73',
    500: '#0c5b3e',
    950: '#000000',
  },
}
SCSS
$custom: #0c5b3e;
$custom-light: #5b8a73;
$custom-dark: #000000;
JSON
{
  "hex": "#0c5b3e",
  "rgb": {
    "r": 12,
    "g": 91,
    "b": 62
  },
  "hsl": {
    "h": 157.975,
    "s": 76.699,
    "l": 20.196
  },
  "oklch": {
    "l": 0.41871,
    "c": 0.08676,
    "h": 162.2
  },
  "luminance": 0.07908
}

Semantic roles & 50–950 ramp

primary
#0C5B3E
secondary
#962D53
accent
#357BF3
background
#F5F8F6
surface
#E9F0EC
border
#C5CBC7
text
#050C08
muted
#797D7B

Preview Lab

Preview with #0C5B3E

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

Preview Lab → · Contrast checker → · Palette generator →

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