#0C452F#0C452F

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

Color values

HEX#0C452F
RGBrgb(12, 69, 47)
HSLhsl(157, 70%, 16%)
HSVhsv(157, 83%, 27%)
CMYKcmyk(82.6%, 0%, 31.9%, 72.9%)
CIE-LABlab(25.38, -24.08, 8.25)
CIE-LCHlch(25.38, 25.45, 161.08°)
OKLaboklab(34.83% -0.0658 0.021)
OKLCHoklch(34.83% 0.069 162.3)
XYZxyz(2.7925, 4.5393, 3.4178)
Luminance0.0454 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C452F #450C22
analogous
#0C4512 #0C452F #0C3E45
triadic
#0C452F #2F0C45 #452F0C
tetradic
#0C452F #120C45 #450C22 #3E450C
square
#0C452F #120C45 #450C22 #3E450C
split-complementary
#0C452F #450C3E #45120C
monochromatic
#051A12 #051A12 #0C452F #157953 #1EAD76

Accessibility & contrast

On white

11.01
#0C452F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C452F
11.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C452F#FFFFFF#000000##FFFFFF
##0C452F1.0011.011.9111.01
#FFFFFF11.011.0021.001.00
#0000001.9121.001.0021.00
##FFFFFF11.011.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0c452f;
/* rgb */ color: rgb(12, 69, 47);
/* oklch */ color: oklch(34.8% 0.069 162.3);
Tailwind
colors: {
  custom: {
    50: '#557967',
    500: '#0c452f',
    950: '#000000',
  },
}
SCSS
$custom: #0c452f;
$custom-light: #557967;
$custom-dark: #000000;
JSON
{
  "hex": "#0c452f",
  "rgb": {
    "r": 12,
    "g": 69,
    "b": 47
  },
  "hsl": {
    "h": 156.842,
    "s": 70.37,
    "l": 15.882
  },
  "oklch": {
    "l": 0.34834,
    "c": 0.0691,
    "h": 162.3
  },
  "luminance": 0.0454
}

Semantic roles & 50–950 ramp

primary
#0C452F
secondary
#812C4D
accent
#3B80ED
background
#F5F7F6
surface
#E9EDEB
border
#C5C8C6
text
#030906
muted
#787B7A

Preview Lab

Preview with #0C452F

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

Preview Lab → · Contrast checker → · Palette generator →

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