#0C4F33#0C4F33

#0C4F33 is a dark, moderate teal. Relative luminance 0.059; OKLCH L 38.0% C 0.080 H 159.8°. Best body text is #FFFFFF at 9.63:1 contrast (WCAG AA passes).

Color values

HEX#0C4F33
RGBrgb(12, 79, 51)
HSLhsl(155, 74%, 18%)
HSVhsv(155, 85%, 31%)
CMYKcmyk(84.8%, 0%, 35.4%, 69%)
CIE-LABlab(29.18, -27.69, 10.94)
CIE-LCHlch(29.18, 29.78, 158.44°)
OKLaboklab(37.99% -0.0752 0.0277)
OKLCHoklch(37.99% 0.08 159.8)
XYZxyz(3.5448, 5.9087, 4.0850)
Luminance0.0591 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C4F33 #4F0C28
analogous
#0C4F11 #0C4F33 #0C494F
triadic
#0C4F33 #330C4F #4F330C
tetradic
#0C4F33 #110C4F #4F0C28 #494F0C
square
#0C4F33 #110C4F #4F0C28 #494F0C
split-complementary
#0C4F33 #4F0C49 #4F110C
monochromatic
#041B11 #041B11 #0C4F33 #148455 #1CB978

Accessibility & contrast

On white

9.63
#0C4F33 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#0C4F33 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C4F33
9.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C4F33#FFFFFF#000000##FFFFFF
##0C4F331.009.632.189.63
#FFFFFF9.631.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E4831
Deuteranopia (green-blind)
#464235
Tritanopia (blue-blind)
#004F48
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #0c4f33;
/* rgb */ color: rgb(12, 79, 51);
/* oklch */ color: oklch(38.0% 0.080 159.8);
Tailwind
colors: {
  custom: {
    50: '#58816a',
    500: '#0c4f33',
    950: '#000000',
  },
}
SCSS
$custom: #0c4f33;
$custom-light: #58816a;
$custom-dark: #000000;
JSON
{
  "hex": "#0c4f33",
  "rgb": {
    "r": 12,
    "g": 79,
    "b": 51
  },
  "hsl": {
    "h": 154.925,
    "s": 73.626,
    "l": 17.843
  },
  "oklch": {
    "l": 0.37993,
    "c": 0.08015,
    "h": 159.8
  },
  "luminance": 0.05909
}

Semantic roles & 50–950 ramp

primary
#0C4F33
secondary
#8B2C54
accent
#3885F0
background
#F5F7F6
surface
#E9EEEB
border
#C5C9C6
text
#040A06
muted
#797C7A

Preview Lab

Preview with #0C4F33

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

Preview Lab → · Contrast checker → · Palette generator →

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