#0C5F3E#0C5F3E

#0C5F3E is a dark, moderate teal. Relative luminance 0.086; OKLCH L 43.1% C 0.092 H 160.1°. Best body text is #FFFFFF at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#0C5F3E
RGBrgb(12, 95, 62)
HSLhsl(156, 78%, 21%)
HSVhsv(156, 87%, 37%)
CMYKcmyk(87.4%, 0%, 34.7%, 62.7%)
CIE-LABlab(35.22, -32.04, 12.42)
CIE-LCHlch(35.22, 34.36, 158.81°)
OKLaboklab(43.05% -0.087 0.0314)
OKLCHoklch(43.05% 0.092 160.1)
XYZxyz(5.1128, 8.6097, 5.9489)
Luminance0.0861 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C5F3E #5F0C2D
analogous
#0C5F15 #0C5F3E #0C565F
triadic
#0C5F3E #3E0C5F #5F3E0C
tetradic
#0C5F3E #150C5F #5F0C2D #565F0C
square
#0C5F3E #150C5F #5F0C2D #565F0C
split-complementary
#0C5F3E #5F0C56 #5F150C
monochromatic
#031B12 #05291B #0C5F3E #139561 #1ACC85

Accessibility & contrast

On white

7.71
#0C5F3E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#0C5F3E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C5F3E
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C5F3E#FFFFFF#000000##FFFFFF
##0C5F3E1.007.712.727.71
#FFFFFF7.711.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E573C
Deuteranopia (green-blind)
#545040
Tritanopia (blue-blind)
#005F56
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #0c5f3e;
/* rgb */ color: rgb(12, 95, 62);
/* oklch */ color: oklch(43.1% 0.092 160.1);
Tailwind
colors: {
  custom: {
    50: '#5c8d73',
    500: '#0c5f3e',
    950: '#000000',
  },
}
SCSS
$custom: #0c5f3e;
$custom-light: #5c8d73;
$custom-dark: #000000;
JSON
{
  "hex": "#0c5f3e",
  "rgb": {
    "r": 12,
    "g": 95,
    "b": 62
  },
  "hsl": {
    "h": 156.145,
    "s": 77.57,
    "l": 20.98
  },
  "oklch": {
    "l": 0.43052,
    "c": 0.09246,
    "h": 160.1
  },
  "luminance": 0.0861
}

Semantic roles & 50–950 ramp

primary
#0C5F3E
secondary
#992D58
accent
#3480F4
background
#F5F8F7
surface
#E9F0ED
border
#C5CBC8
text
#050C08
muted
#797D7B

Preview Lab

Preview with #0C5F3E

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

Preview Lab → · Contrast checker → · Palette generator →

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