#0C452C#0C452C

#0C452C is a dark, moderate teal. Relative luminance 0.045; OKLCH L 34.8% C 0.072 H 159.3°. Best body text is #FFFFFF at 11.03:1 contrast (WCAG AA passes).

Color values

HEX#0C452C
RGBrgb(12, 69, 44)
HSLhsl(154, 70%, 16%)
HSVhsv(154, 83%, 27%)
CMYKcmyk(82.6%, 0%, 36.2%, 72.9%)
CIE-LABlab(25.31, -24.85, 10.09)
CIE-LCHlch(25.31, 26.82, 157.91°)
OKLaboklab(34.75% -0.0675 0.0255)
OKLCHoklch(34.75% 0.072 159.3)
XYZxyz(2.7341, 4.5159, 3.1100)
Luminance0.0452 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C452C #450C25
analogous
#0C450F #0C452C #0C4145
triadic
#0C452C #2C0C45 #452C0C
tetradic
#0C452C #0F0C45 #450C25 #41450C
square
#0C452C #0F0C45 #450C25 #41450C
split-complementary
#0C452C #450C41 #450F0C
monochromatic
#051A11 #051A11 #0C452C #15794D #1EAD6E

Accessibility & contrast

On white

11.03
#0C452C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C452C
11.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C452C#FFFFFF#000000##FFFFFF
##0C452C1.0011.031.9011.03
#FFFFFF11.031.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.031.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0c452c;
/* rgb */ color: rgb(12, 69, 44);
/* oklch */ color: oklch(34.8% 0.072 159.3);
Tailwind
colors: {
  custom: {
    50: '#557965',
    500: '#0c452c',
    950: '#000000',
  },
}
SCSS
$custom: #0c452c;
$custom-light: #557965;
$custom-dark: #000000;
JSON
{
  "hex": "#0c452c",
  "rgb": {
    "r": 12,
    "g": 69,
    "b": 44
  },
  "hsl": {
    "h": 153.684,
    "s": 70.37,
    "l": 15.882
  },
  "oklch": {
    "l": 0.34752,
    "c": 0.07218,
    "h": 159.3
  },
  "luminance": 0.04516
}

Semantic roles & 50–950 ramp

primary
#0C452C
secondary
#812C51
accent
#3B89ED
background
#F5F7F6
surface
#E9EDEB
border
#C5C8C6
text
#030905
muted
#787B7A

Preview Lab

Preview with #0C452C

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

Preview Lab → · Contrast checker → · Palette generator →

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