#0C503F#0C503F

#0C503F is a dark, moderate teal. Relative luminance 0.062; OKLCH L 38.6% C 0.071 H 171.1°. Best body text is #FFFFFF at 9.40:1 contrast (WCAG AA passes).

Color values

HEX#0C503F
RGBrgb(12, 80, 63)
HSLhsl(165, 74%, 18%)
HSVhsv(165, 85%, 31%)
CMYKcmyk(85%, 0%, 21.2%, 68.6%)
CIE-LABlab(29.85, -24.91, 4.29)
CIE-LCHlch(29.85, 25.28, 170.24°)
OKLaboklab(38.64% -0.0697 0.0109)
OKLCHoklch(38.64% 0.071 171.1)
XYZxyz(3.9170, 6.1739, 5.6869)
Luminance0.0617 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C503F #500C1D
analogous
#0C501D #0C503F #0C3F50
triadic
#0C503F #3F0C50 #503F0C
tetradic
#0C503F #1D0C50 #500C1D #3F500C
square
#0C503F #1D0C50 #500C1D #3F500C
split-complementary
#0C503F #500C3F #501D0C
monochromatic
#041B15 #041B15 #0C503F #148569 #1CBA93

Accessibility & contrast

On white

9.40
#0C503F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C503F
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C503F#FFFFFF#000000##FFFFFF
##0C503F1.009.402.239.40
#FFFFFF9.401.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D4A3E
Deuteranopia (green-blind)
#454440
Tritanopia (blue-blind)
#00514B
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #0c503f;
/* rgb */ color: rgb(12, 80, 63);
/* oklch */ color: oklch(38.6% 0.071 171.1);
Tailwind
colors: {
  custom: {
    50: '#598174',
    500: '#0c503f',
    950: '#000000',
  },
}
SCSS
$custom: #0c503f;
$custom-light: #598174;
$custom-dark: #000000;
JSON
{
  "hex": "#0c503f",
  "rgb": {
    "r": 12,
    "g": 80,
    "b": 63
  },
  "hsl": {
    "h": 165,
    "s": 73.913,
    "l": 18.039
  },
  "oklch": {
    "l": 0.38639,
    "c": 0.07053,
    "h": 171.1
  },
  "luminance": 0.06174
}

Semantic roles & 50–950 ramp

primary
#0C503F
secondary
#8B2C44
accent
#3766F1
background
#F5F7F7
surface
#E9EEED
border
#C5C9C8
text
#040A08
muted
#797C7B

Preview Lab

Preview with #0C503F

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

Preview Lab → · Contrast checker → · Palette generator →

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