#0C452E#0C452E

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

Color values

HEX#0C452E
RGBrgb(12, 69, 46)
HSLhsl(156, 70%, 16%)
HSVhsv(156, 83%, 27%)
CMYKcmyk(82.6%, 0%, 33.3%, 72.9%)
CIE-LABlab(25.36, -24.34, 8.87)
CIE-LCHlch(25.36, 25.90, 159.99°)
OKLaboklab(34.81% -0.0664 0.0225)
OKLCHoklch(34.81% 0.07 161.3)
XYZxyz(2.7726, 4.5313, 3.3128)
Luminance0.0453 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C452E #450C23
analogous
#0C4511 #0C452E #0C3F45
triadic
#0C452E #2E0C45 #452E0C
tetradic
#0C452E #110C45 #450C23 #3F450C
square
#0C452E #110C45 #450C23 #3F450C
split-complementary
#0C452E #450C3F #45110C
monochromatic
#051A11 #051A11 #0C452E #157951 #1EAD74

Accessibility & contrast

On white

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

On black

1.91
#0C452E on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##0C452E#FFFFFF#000000##FFFFFF
##0C452E1.0011.021.9111.02
#FFFFFF11.021.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.021.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0c452e;
/* rgb */ color: rgb(12, 69, 46);
/* oklch */ color: oklch(34.8% 0.070 161.3);
Tailwind
colors: {
  custom: {
    50: '#557966',
    500: '#0c452e',
    950: '#000000',
  },
}
SCSS
$custom: #0c452e;
$custom-light: #557966;
$custom-dark: #000000;
JSON
{
  "hex": "#0c452e",
  "rgb": {
    "r": 12,
    "g": 69,
    "b": 46
  },
  "hsl": {
    "h": 155.789,
    "s": 70.37,
    "l": 15.882
  },
  "oklch": {
    "l": 0.34806,
    "c": 0.07011,
    "h": 161.3
  },
  "luminance": 0.04532
}

Semantic roles & 50–950 ramp

primary
#0C452E
secondary
#812C4E
accent
#3B83ED
background
#F5F7F6
surface
#E9EDEB
border
#C5C8C6
text
#030906
muted
#787B7A

Preview Lab

Preview with #0C452E

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

Preview Lab → · Contrast checker → · Palette generator →

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