#0C4F3B#0C4F3B

#0C4F3B is a dark, moderate teal. Relative luminance 0.060; OKLCH L 38.2% C 0.072 H 167.5°. Best body text is #FFFFFF at 9.56:1 contrast (WCAG AA passes).

Color values

HEX#0C4F3B
RGBrgb(12, 79, 59)
HSLhsl(162, 74%, 18%)
HSVhsv(162, 85%, 31%)
CMYKcmyk(84.8%, 0%, 25.3%, 69%)
CIE-LABlab(29.38, -25.57, 6.16)
CIE-LCHlch(29.38, 26.30, 166.45°)
OKLaboklab(38.22% -0.0708 0.0158)
OKLCHoklch(38.22% 0.072 167.5)
XYZxyz(3.7366, 5.9854, 5.0952)
Luminance0.0599 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C4F3B #4F0C20
analogous
#0C4F1A #0C4F3B #0C414F
triadic
#0C4F3B #3B0C4F #4F3B0C
tetradic
#0C4F3B #1A0C4F #4F0C20 #414F0C
square
#0C4F3B #1A0C4F #4F0C20 #414F0C
split-complementary
#0C4F3B #4F0C41 #4F1A0C
monochromatic
#041B14 #041B14 #0C4F3B #148463 #1CB98A

Accessibility & contrast

On white

9.56
#0C4F3B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#0C4F3B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C4F3B
9.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C4F3B#FFFFFF#000000##FFFFFF
##0C4F3B1.009.562.209.56
#FFFFFF9.561.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D493A
Deuteranopia (green-blind)
#45433C
Tritanopia (blue-blind)
#004F49
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #0c4f3b;
/* rgb */ color: rgb(12, 79, 59);
/* oklch */ color: oklch(38.2% 0.072 167.5);
Tailwind
colors: {
  custom: {
    50: '#588170',
    500: '#0c4f3b',
    950: '#000000',
  },
}
SCSS
$custom: #0c4f3b;
$custom-light: #588170;
$custom-dark: #000000;
JSON
{
  "hex": "#0c4f3b",
  "rgb": {
    "r": 12,
    "g": 79,
    "b": 59
  },
  "hsl": {
    "h": 162.09,
    "s": 73.626,
    "l": 17.843
  },
  "oklch": {
    "l": 0.38217,
    "c": 0.07249,
    "h": 167.5
  },
  "luminance": 0.05986
}

Semantic roles & 50–950 ramp

primary
#0C4F3B
secondary
#8B2C48
accent
#386FF0
background
#F5F7F6
surface
#E9EEEC
border
#C5C9C7
text
#040A07
muted
#797C7A

Preview Lab

Preview with #0C4F3B

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

Preview Lab → · Contrast checker → · Palette generator →

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