#0C5F43#0C5F43

#0C5F43 is a dark, moderate teal. Relative luminance 0.087; OKLCH L 43.2% C 0.088 H 163.9°. Best body text is #FFFFFF at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#0C5F43
RGBrgb(12, 95, 67)
HSLhsl(160, 78%, 21%)
HSVhsv(160, 87%, 37%)
CMYKcmyk(87.4%, 0%, 29.5%, 62.7%)
CIE-LABlab(35.34, -30.78, 9.53)
CIE-LCHlch(35.34, 32.22, 162.79°)
OKLaboklab(43.18% -0.0843 0.0243)
OKLCHoklch(43.18% 0.088 163.9)
XYZxyz(5.2563, 8.6672, 6.7050)
Luminance0.0867 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C5F43 #5F0C28
analogous
#0C5F19 #0C5F43 #0C515F
triadic
#0C5F43 #430C5F #5F430C
tetradic
#0C5F43 #190C5F #5F0C28 #515F0C
square
#0C5F43 #190C5F #5F0C28 #515F0C
split-complementary
#0C5F43 #5F0C51 #5F190C
monochromatic
#031B13 #05291D #0C5F43 #139569 #1ACC90

Accessibility & contrast

On white

7.68
#0C5F43 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#0C5F43 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C5F43
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C5F43#FFFFFF#000000##FFFFFF
##0C5F431.007.682.737.68
#FFFFFF7.681.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D5741
Deuteranopia (green-blind)
#535045
Tritanopia (blue-blind)
#005F57
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #0c5f43;
/* rgb */ color: rgb(12, 95, 67);
/* oklch */ color: oklch(43.2% 0.088 163.9);
Tailwind
colors: {
  custom: {
    50: '#5c8d77',
    500: '#0c5f43',
    950: '#000000',
  },
}
SCSS
$custom: #0c5f43;
$custom-light: #5c8d77;
$custom-dark: #000000;
JSON
{
  "hex": "#0c5f43",
  "rgb": {
    "r": 12,
    "g": 95,
    "b": 67
  },
  "hsl": {
    "h": 159.759,
    "s": 77.57,
    "l": 20.98
  },
  "oklch": {
    "l": 0.43183,
    "c": 0.08769,
    "h": 163.9
  },
  "luminance": 0.08668
}

Semantic roles & 50–950 ramp

primary
#0C5F43
secondary
#992D52
accent
#3475F4
background
#F5F8F7
surface
#E9F0ED
border
#C5CBC8
text
#050C08
muted
#797D7B

Preview Lab

Preview with #0C5F43

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

Preview Lab → · Contrast checker → · Palette generator →

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