#0C4937#0C4937

#0C4937 is a dark, moderate teal. Relative luminance 0.051; OKLCH L 36.3% C 0.067 H 168.1°. Best body text is #FFFFFF at 10.38:1 contrast (WCAG AA passes).

Color values

HEX#0C4937
RGBrgb(12, 73, 55)
HSLhsl(162, 72%, 17%)
HSVhsv(162, 84%, 29%)
CMYKcmyk(83.6%, 0%, 24.7%, 71.4%)
CIE-LABlab(27.07, -23.80, 5.46)
CIE-LCHlch(27.07, 24.42, 167.08°)
OKLaboklab(36.29% -0.066 0.014)
OKLCHoklch(36.29% 0.067 168.1)
XYZxyz(3.2234, 5.1187, 4.4318)
Luminance0.0512 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C4937 #490C1E
analogous
#0C4919 #0C4937 #0C3D49
triadic
#0C4937 #370C49 #49370C
tetradic
#0C4937 #190C49 #490C1E #3D490C
square
#0C4937 #190C49 #490C1E #3D490C
split-complementary
#0C4937 #490C3D #49190C
monochromatic
#041A14 #041A14 #0C4937 #157E5F #1DB286

Accessibility & contrast

On white

10.38
#0C4937 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#0C4937 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C4937
10.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C4937#FFFFFF#000000##FFFFFF
##0C49371.0010.382.0210.38
#FFFFFF10.381.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#474336
Deuteranopia (green-blind)
#3F3E38
Tritanopia (blue-blind)
#004944
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #0c4937;
/* rgb */ color: rgb(12, 73, 55);
/* oklch */ color: oklch(36.3% 0.067 168.1);
Tailwind
colors: {
  custom: {
    50: '#567c6d',
    500: '#0c4937',
    950: '#000000',
  },
}
SCSS
$custom: #0c4937;
$custom-light: #567c6d;
$custom-dark: #000000;
JSON
{
  "hex": "#0c4937",
  "rgb": {
    "r": 12,
    "g": 73,
    "b": 55
  },
  "hsl": {
    "h": 162.295,
    "s": 71.765,
    "l": 16.667
  },
  "oklch": {
    "l": 0.3629,
    "c": 0.06749,
    "h": 168.1
  },
  "luminance": 0.05119
}

Semantic roles & 50–950 ramp

primary
#0C4937
secondary
#852C46
accent
#396FEE
background
#F5F7F6
surface
#E9EEEB
border
#C5C9C6
text
#030907
muted
#787B7A

Preview Lab

Preview with #0C4937

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

Preview Lab → · Contrast checker → · Palette generator →

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