#0C452D#0C452D

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

Color values

HEX#0C452D
RGBrgb(12, 69, 45)
HSLhsl(155, 70%, 16%)
HSVhsv(155, 83%, 27%)
CMYKcmyk(82.6%, 0%, 34.8%, 72.9%)
CIE-LABlab(25.33, -24.60, 9.48)
CIE-LCHlch(25.33, 26.36, 158.93°)
OKLaboklab(34.78% -0.067 0.024)
OKLCHoklch(34.78% 0.071 160.3)
XYZxyz(2.7531, 4.5235, 3.2101)
Luminance0.0452 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C452D #450C24
analogous
#0C4510 #0C452D #0C4045
triadic
#0C452D #2D0C45 #452D0C
tetradic
#0C452D #100C45 #450C24 #40450C
square
#0C452D #100C45 #450C24 #40450C
split-complementary
#0C452D #450C40 #45100C
monochromatic
#051A11 #051A11 #0C452D #15794F #1EAD71

Accessibility & contrast

On white

11.02
#0C452D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C452D
11.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C452D#FFFFFF#000000##FFFFFF
##0C452D1.0011.021.9011.02
#FFFFFF11.021.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#443F2C
Deuteranopia (green-blind)
#3D3A2F
Tritanopia (blue-blind)
#00453F
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #0c452d;
/* rgb */ color: rgb(12, 69, 45);
/* oklch */ color: oklch(34.8% 0.071 160.3);
Tailwind
colors: {
  custom: {
    50: '#557966',
    500: '#0c452d',
    950: '#000000',
  },
}
SCSS
$custom: #0c452d;
$custom-light: #557966;
$custom-dark: #000000;
JSON
{
  "hex": "#0c452d",
  "rgb": {
    "r": 12,
    "g": 69,
    "b": 45
  },
  "hsl": {
    "h": 154.737,
    "s": 70.37,
    "l": 15.882
  },
  "oklch": {
    "l": 0.34779,
    "c": 0.07114,
    "h": 160.3
  },
  "luminance": 0.04524
}

Semantic roles & 50–950 ramp

primary
#0C452D
secondary
#812C50
accent
#3B86ED
background
#F5F7F6
surface
#E9EDEB
border
#C5C8C6
text
#030905
muted
#787B7A

Preview Lab

Preview with #0C452D

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

Preview Lab → · Contrast checker → · Palette generator →

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