#0C4F3A#0C4F3A

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

Color values

HEX#0C4F3A
RGBrgb(12, 79, 58)
HSLhsl(161, 74%, 18%)
HSVhsv(161, 85%, 31%)
CMYKcmyk(84.8%, 0%, 26.6%, 69%)
CIE-LABlab(29.35, -25.85, 6.76)
CIE-LCHlch(29.35, 26.72, 165.34°)
OKLaboklab(38.19% -0.0713 0.0173)
OKLCHoklch(38.19% 0.073 166.4)
XYZxyz(3.7109, 5.9752, 4.9599)
Luminance0.0598 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C4F3A #4F0C21
analogous
#0C4F18 #0C4F3A #0C424F
triadic
#0C4F3A #3A0C4F #4F3A0C
tetradic
#0C4F3A #180C4F #4F0C21 #424F0C
square
#0C4F3A #180C4F #4F0C21 #424F0C
split-complementary
#0C4F3A #4F0C42 #4F180C
monochromatic
#041B14 #041B14 #0C4F3A #148461 #1CB988

Accessibility & contrast

On white

9.57
#0C4F3A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C4F3A
9.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C4F3A#FFFFFF#000000##FFFFFF
##0C4F3A1.009.572.209.57
#FFFFFF9.571.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.571.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0c4f3a;
/* rgb */ color: rgb(12, 79, 58);
/* oklch */ color: oklch(38.2% 0.073 166.4);
Tailwind
colors: {
  custom: {
    50: '#588170',
    500: '#0c4f3a',
    950: '#000000',
  },
}
SCSS
$custom: #0c4f3a;
$custom-light: #588170;
$custom-dark: #000000;
JSON
{
  "hex": "#0c4f3a",
  "rgb": {
    "r": 12,
    "g": 79,
    "b": 58
  },
  "hsl": {
    "h": 161.194,
    "s": 73.626,
    "l": 17.843
  },
  "oklch": {
    "l": 0.38187,
    "c": 0.07338,
    "h": 166.4
  },
  "luminance": 0.05976
}

Semantic roles & 50–950 ramp

primary
#0C4F3A
secondary
#8B2C4A
accent
#3871F0
background
#F5F7F6
surface
#E9EEEC
border
#C5C9C7
text
#040A07
muted
#797C7A

Preview Lab

Preview with #0C4F3A

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

Preview Lab → · Contrast checker → · Palette generator →

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