#0C452B#0C452B

#0C452B is a dark, moderate teal. Relative luminance 0.045; OKLCH L 34.7% C 0.073 H 158.4°. Best body text is #FFFFFF at 11.04:1 contrast (WCAG AA passes).

Color values

HEX#0C452B
RGBrgb(12, 69, 43)
HSLhsl(153, 70%, 16%)
HSVhsv(153, 83%, 27%)
CMYKcmyk(82.6%, 0%, 37.7%, 72.9%)
CIE-LABlab(25.29, -25.10, 10.70)
CIE-LCHlch(25.29, 27.29, 156.92°)
OKLaboklab(34.73% -0.0681 0.027)
OKLCHoklch(34.73% 0.073 158.4)
XYZxyz(2.7155, 4.5085, 3.0121)
Luminance0.0451 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C452B #450C26
analogous
#0C450F #0C452B #0C4245
triadic
#0C452B #2B0C45 #452B0C
tetradic
#0C452B #0F0C45 #450C26 #42450C
square
#0C452B #0F0C45 #450C26 #42450C
split-complementary
#0C452B #450C42 #450F0C
monochromatic
#051A10 #051A10 #0C452B #15794B #1EAD6C

Accessibility & contrast

On white

11.04
#0C452B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#0C452B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C452B
11.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C452B#FFFFFF#000000##FFFFFF
##0C452B1.0011.041.9011.04
#FFFFFF11.041.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#443F29
Deuteranopia (green-blind)
#3D3A2D
Tritanopia (blue-blind)
#00453E
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #0c452b;
/* rgb */ color: rgb(12, 69, 43);
/* oklch */ color: oklch(34.7% 0.073 158.4);
Tailwind
colors: {
  custom: {
    50: '#557964',
    500: '#0c452b',
    950: '#000000',
  },
}
SCSS
$custom: #0c452b;
$custom-light: #557964;
$custom-dark: #000000;
JSON
{
  "hex": "#0c452b",
  "rgb": {
    "r": 12,
    "g": 69,
    "b": 43
  },
  "hsl": {
    "h": 152.632,
    "s": 70.37,
    "l": 15.882
  },
  "oklch": {
    "l": 0.34726,
    "c": 0.07324,
    "h": 158.4
  },
  "luminance": 0.04509
}

Semantic roles & 50–950 ramp

primary
#0C452B
secondary
#812C53
accent
#3B8CED
background
#F5F7F6
surface
#E9EDEB
border
#C5C8C6
text
#030905
muted
#787B7A

Preview Lab

Preview with #0C452B

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

Preview Lab → · Contrast checker → · Palette generator →

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