#0C5435#0C5435

#0C5435 is a dark, moderate teal. Relative luminance 0.067; OKLCH L 39.6% C 0.086 H 158.8°. Best body text is #FFFFFF at 8.99:1 contrast (WCAG AA passes).

Color values

HEX#0C5435
RGBrgb(12, 84, 53)
HSLhsl(154, 75%, 19%)
HSVhsv(154, 86%, 33%)
CMYKcmyk(85.7%, 0%, 36.9%, 67.1%)
CIE-LABlab(31.06, -29.43, 12.26)
CIE-LCHlch(31.06, 31.88, 157.39°)
OKLaboklab(39.55% -0.0797 0.0309)
OKLCHoklch(39.55% 0.086 158.8)
XYZxyz(3.9641, 6.6754, 4.4470)
Luminance0.0668 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C5435 #540C2B
analogous
#0C5411 #0C5435 #0C4F54
triadic
#0C5435 #350C54 #54350C
tetradic
#0C5435 #110C54 #540C2B #4F540C
square
#0C5435 #110C54 #540C2B #4F540C
split-complementary
#0C5435 #540C4F #54110C
monochromatic
#041B11 #041E13 #0C5435 #148A57 #1BBF79

Accessibility & contrast

On white

8.99
#0C5435 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#0C5435 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C5435
8.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C5435#FFFFFF#000000##FFFFFF
##0C54351.008.992.348.99
#FFFFFF8.991.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#534D33
Deuteranopia (green-blind)
#4B4737
Tritanopia (blue-blind)
#00534C
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #0c5435;
/* rgb */ color: rgb(12, 84, 53);
/* oklch */ color: oklch(39.6% 0.086 158.8);
Tailwind
colors: {
  custom: {
    50: '#59856c',
    500: '#0c5435',
    950: '#000000',
  },
}
SCSS
$custom: #0c5435;
$custom-light: #59856c;
$custom-dark: #000000;
JSON
{
  "hex": "#0c5435",
  "rgb": {
    "r": 12,
    "g": 84,
    "b": 53
  },
  "hsl": {
    "h": 154.167,
    "s": 75,
    "l": 18.824
  },
  "oklch": {
    "l": 0.39553,
    "c": 0.08553,
    "h": 158.8
  },
  "luminance": 0.06676
}

Semantic roles & 50–950 ramp

primary
#0C5435
secondary
#8F2D57
accent
#3687F2
background
#F5F8F6
surface
#E9EFEB
border
#C5CAC6
text
#040B07
muted
#797C7A

Preview Lab

Preview with #0C5435

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

Preview Lab → · Contrast checker → · Palette generator →

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