#0C452A#0C452A

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

Color values

HEX#0C452A
RGBrgb(12, 69, 42)
HSLhsl(152, 70%, 16%)
HSVhsv(152, 83%, 27%)
CMYKcmyk(82.6%, 0%, 39.1%, 72.9%)
CIE-LABlab(25.26, -25.35, 11.30)
CIE-LCHlch(25.26, 27.75, 155.97°)
OKLaboklab(34.7% -0.0686 0.0285)
OKLCHoklch(34.7% 0.074 157.5)
XYZxyz(2.6974, 4.5013, 2.9167)
Luminance0.0450 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C452A #450C27
analogous
#0C450D #0C452A #0C4345
triadic
#0C452A #2A0C45 #452A0C
tetradic
#0C452A #0D0C45 #450C27 #43450C
square
#0C452A #0D0C45 #450C27 #43450C
split-complementary
#0C452A #450C43 #450D0C
monochromatic
#051A10 #051A10 #0C452A #15794A #1EAD69

Accessibility & contrast

On white

11.05
#0C452A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C452A
11.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C452A#FFFFFF#000000##FFFFFF
##0C452A1.0011.051.9011.05
#FFFFFF11.051.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#443F28
Deuteranopia (green-blind)
#3D3A2C
Tritanopia (blue-blind)
#00443E
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #0c452a;
/* rgb */ color: rgb(12, 69, 42);
/* oklch */ color: oklch(34.7% 0.074 157.5);
Tailwind
colors: {
  custom: {
    50: '#557963',
    500: '#0c452a',
    950: '#000000',
  },
}
SCSS
$custom: #0c452a;
$custom-light: #557963;
$custom-dark: #000000;
JSON
{
  "hex": "#0c452a",
  "rgb": {
    "r": 12,
    "g": 69,
    "b": 42
  },
  "hsl": {
    "h": 151.579,
    "s": 70.37,
    "l": 15.882
  },
  "oklch": {
    "l": 0.347,
    "c": 0.07431,
    "h": 157.5
  },
  "luminance": 0.04502
}

Semantic roles & 50–950 ramp

primary
#0C452A
secondary
#812C54
accent
#3B8FED
background
#F5F7F5
surface
#E9EDEA
border
#C5C8C6
text
#030905
muted
#787B79

Preview Lab

Preview with #0C452A

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

Preview Lab → · Contrast checker → · Palette generator →

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