#0C5F3F#0C5F3F

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

Color values

HEX#0C5F3F
RGBrgb(12, 95, 63)
HSLhsl(157, 78%, 21%)
HSVhsv(157, 87%, 37%)
CMYKcmyk(87.4%, 0%, 33.7%, 62.7%)
CIE-LABlab(35.24, -31.79, 11.85)
CIE-LCHlch(35.24, 33.93, 159.56°)
OKLaboklab(43.08% -0.0864 0.03)
OKLCHoklch(43.08% 0.091 160.9)
XYZxyz(5.1405, 8.6208, 6.0947)
Luminance0.0862 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C5F3F #5F0C2C
analogous
#0C5F15 #0C5F3F #0C555F
triadic
#0C5F3F #3F0C5F #5F3F0C
tetradic
#0C5F3F #150C5F #5F0C2C #555F0C
square
#0C5F3F #150C5F #5F0C2C #555F0C
split-complementary
#0C5F3F #5F0C55 #5F150C
monochromatic
#031B12 #05291B #0C5F3F #139563 #1ACC87

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##0C5F3F#FFFFFF#000000##FFFFFF
##0C5F3F1.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)
#5E573D
Deuteranopia (green-blind)
#545041
Tritanopia (blue-blind)
#005F57
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #0c5f3f;
/* rgb */ color: rgb(12, 95, 63);
/* oklch */ color: oklch(43.1% 0.091 160.9);
Tailwind
colors: {
  custom: {
    50: '#5c8d74',
    500: '#0c5f3f',
    950: '#000000',
  },
}
SCSS
$custom: #0c5f3f;
$custom-light: #5c8d74;
$custom-dark: #000000;
JSON
{
  "hex": "#0c5f3f",
  "rgb": {
    "r": 12,
    "g": 95,
    "b": 63
  },
  "hsl": {
    "h": 156.867,
    "s": 77.57,
    "l": 20.98
  },
  "oklch": {
    "l": 0.43077,
    "c": 0.09148,
    "h": 160.9
  },
  "luminance": 0.08621
}

Semantic roles & 50–950 ramp

primary
#0C5F3F
secondary
#992D57
accent
#347EF4
background
#F5F8F7
surface
#E9F0ED
border
#C5CBC8
text
#050C08
muted
#797D7B

Preview Lab

Preview with #0C5F3F

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

Preview Lab → · Contrast checker → · Palette generator →

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