#0C4A2F#0C4A2F

#0C4A2F is a dark, moderate teal. Relative luminance 0.052; OKLCH L 36.4% C 0.077 H 159.1°. Best body text is #FFFFFF at 10.31:1 contrast (WCAG AA passes).

Color values

HEX#0C4A2F
RGBrgb(12, 74, 47)
HSLhsl(154, 72%, 17%)
HSVhsv(154, 84%, 29%)
CMYKcmyk(83.8%, 0%, 36.5%, 71%)
CIE-LABlab(27.24, -26.42, 10.82)
CIE-LCHlch(27.24, 28.54, 157.73°)
OKLaboklab(36.37% -0.0717 0.0273)
OKLCHoklch(36.37% 0.077 159.1)
XYZxyz(3.1132, 5.1806, 3.5247)
Luminance0.0518 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C4A2F #4A0C27
analogous
#0C4A10 #0C4A2F #0C464A
triadic
#0C4A2F #2F0C4A #4A2F0C
tetradic
#0C4A2F #100C4A #4A0C27 #464A0C
square
#0C4A2F #100C4A #4A0C27 #464A0C
split-complementary
#0C4A2F #4A0C46 #4A100C
monochromatic
#041A11 #041A11 #0C4A2F #157F50 #1DB372

Accessibility & contrast

On white

10.31
#0C4A2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#0C4A2F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C4A2F
10.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C4A2F#FFFFFF#000000##FFFFFF
##0C4A2F1.0010.312.0410.31
#FFFFFF10.311.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#49442D
Deuteranopia (green-blind)
#423E31
Tritanopia (blue-blind)
#004A43
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #0c4a2f;
/* rgb */ color: rgb(12, 74, 47);
/* oklch */ color: oklch(36.4% 0.077 159.1);
Tailwind
colors: {
  custom: {
    50: '#567d67',
    500: '#0c4a2f',
    950: '#000000',
  },
}
SCSS
$custom: #0c4a2f;
$custom-light: #567d67;
$custom-dark: #000000;
JSON
{
  "hex": "#0c4a2f",
  "rgb": {
    "r": 12,
    "g": 74,
    "b": 47
  },
  "hsl": {
    "h": 153.871,
    "s": 72.093,
    "l": 16.863
  },
  "oklch": {
    "l": 0.36367,
    "c": 0.07673,
    "h": 159.1
  },
  "luminance": 0.05181
}

Semantic roles & 50–950 ramp

primary
#0C4A2F
secondary
#862C53
accent
#3988EF
background
#F5F7F6
surface
#E9EEEB
border
#C5C9C6
text
#030A06
muted
#787C7A

Preview Lab

Preview with #0C4A2F

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

Preview Lab → · Contrast checker → · Palette generator →

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