#0C503B#0C503B

#0C503B is a dark, moderate teal. Relative luminance 0.061; OKLCH L 38.5% C 0.074 H 166.7°. Best body text is #FFFFFF at 9.43:1 contrast (WCAG AA passes).

Color values

HEX#0C503B
RGBrgb(12, 80, 59)
HSLhsl(161, 74%, 18%)
HSVhsv(161, 85%, 31%)
CMYKcmyk(85%, 0%, 26.2%, 68.6%)
CIE-LABlab(29.74, -26.05, 6.68)
CIE-LCHlch(29.74, 26.89, 165.62°)
OKLaboklab(38.52% -0.0719 0.0171)
OKLCHoklch(38.52% 0.074 166.7)
XYZxyz(3.8093, 6.1308, 5.1194)
Luminance0.0613 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C503B #500C21
analogous
#0C5019 #0C503B #0C4350
triadic
#0C503B #3B0C50 #503B0C
tetradic
#0C503B #190C50 #500C21 #43500C
square
#0C503B #190C50 #500C21 #43500C
split-complementary
#0C503B #500C43 #50190C
monochromatic
#041B14 #041B14 #0C503B #148562 #1CBA89

Accessibility & contrast

On white

9.43
#0C503B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#0C503B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C503B
9.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C503B#FFFFFF#000000##FFFFFF
##0C503B1.009.432.239.43
#FFFFFF9.431.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E4A3A
Deuteranopia (green-blind)
#46443C
Tritanopia (blue-blind)
#00504A
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #0c503b;
/* rgb */ color: rgb(12, 80, 59);
/* oklch */ color: oklch(38.5% 0.074 166.7);
Tailwind
colors: {
  custom: {
    50: '#588271',
    500: '#0c503b',
    950: '#000000',
  },
}
SCSS
$custom: #0c503b;
$custom-light: #588271;
$custom-dark: #000000;
JSON
{
  "hex": "#0c503b",
  "rgb": {
    "r": 12,
    "g": 80,
    "b": 59
  },
  "hsl": {
    "h": 161.471,
    "s": 73.913,
    "l": 18.039
  },
  "oklch": {
    "l": 0.38516,
    "c": 0.07391,
    "h": 166.7
  },
  "luminance": 0.06131
}

Semantic roles & 50–950 ramp

primary
#0C503B
secondary
#8B2C4A
accent
#3770F1
background
#F5F7F6
surface
#E9EEEC
border
#C5C9C7
text
#040A07
muted
#797C7A

Preview Lab

Preview with #0C503B

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

Preview Lab → · Contrast checker → · Palette generator →

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