#0C5A3F#0C5A3F

#0C5A3F is a dark, moderate teal. Relative luminance 0.077; OKLCH L 41.6% C 0.084 H 163.6°. Best body text is #FFFFFF at 8.24:1 contrast (WCAG AA passes).

Color values

HEX#0C5A3F
RGBrgb(12, 90, 63)
HSLhsl(159, 76%, 20%)
HSVhsv(159, 87%, 35%)
CMYKcmyk(86.7%, 0%, 30%, 64.7%)
CIE-LABlab(33.45, -29.58, 9.37)
CIE-LCHlch(33.45, 31.03, 162.42°)
OKLaboklab(41.6% -0.0809 0.0239)
OKLCHoklch(41.6% 0.084 163.6)
XYZxyz(4.7045, 7.7488, 5.9494)
Luminance0.0775 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C5A3F #5A0C27
analogous
#0C5A18 #0C5A3F #0C4E5A
triadic
#0C5A3F #3F0C5A #5A3F0C
tetradic
#0C5A3F #180C5A #5A0C27 #4E5A0C
square
#0C5A3F #180C5A #5A0C27 #4E5A0C
split-complementary
#0C5A3F #5A0C4E #5A180C
monochromatic
#041B13 #052419 #0C5A3F #139065 #1AC68B

Accessibility & contrast

On white

8.24
#0C5A3F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#0C5A3F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C5A3F
8.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C5A3F#FFFFFF#000000##FFFFFF
##0C5A3F1.008.242.558.24
#FFFFFF8.241.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#58533D
Deuteranopia (green-blind)
#4F4C41
Tritanopia (blue-blind)
#005A53
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #0c5a3f;
/* rgb */ color: rgb(12, 90, 63);
/* oklch */ color: oklch(41.6% 0.084 163.6);
Tailwind
colors: {
  custom: {
    50: '#5b8974',
    500: '#0c5a3f',
    950: '#000000',
  },
}
SCSS
$custom: #0c5a3f;
$custom-light: #5b8974;
$custom-dark: #000000;
JSON
{
  "hex": "#0c5a3f",
  "rgb": {
    "r": 12,
    "g": 90,
    "b": 63
  },
  "hsl": {
    "h": 159.231,
    "s": 76.471,
    "l": 20
  },
  "oklch": {
    "l": 0.41603,
    "c": 0.08439,
    "h": 163.6
  },
  "luminance": 0.07749
}

Semantic roles & 50–950 ramp

primary
#0C5A3F
secondary
#952D51
accent
#3577F3
background
#F5F8F7
surface
#E9F0ED
border
#C5CBC8
text
#040B08
muted
#797C7B

Preview Lab

Preview with #0C5A3F

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

Preview Lab → · Contrast checker → · Palette generator →

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