#0C3D28#0C3D28

#0C3D28 is a dark, moderate teal. Relative luminance 0.036; OKLCH L 32.2% C 0.064 H 160.5°. Best body text is #FFFFFF at 12.25:1 contrast (WCAG AA passes).

Color values

HEX#0C3D28
RGBrgb(12, 61, 40)
HSLhsl(154, 67%, 14%)
HSVhsv(154, 80%, 24%)
CMYKcmyk(80.3%, 0%, 34.4%, 76.1%)
CIE-LABlab(22.19, -22.05, 8.40)
CIE-LCHlch(22.19, 23.60, 159.14°)
OKLaboklab(32.16% -0.0601 0.0213)
OKLCHoklch(32.16% 0.064 160.5)
XYZxyz(2.2031, 3.5686, 2.5798)
Luminance0.0357 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C3D28 #3D0C21
analogous
#0C3D10 #0C3D28 #0C3A3D
triadic
#0C3D28 #280C3D #3D280C
tetradic
#0C3D28 #100C3D #3D0C21 #3A3D0C
square
#0C3D28 #100C3D #3D0C21 #3A3D0C
split-complementary
#0C3D28 #3D0C3A #3D100C
monochromatic
#051A11 #051A11 #0C3D28 #16704A #20A36B

Accessibility & contrast

On white

12.25
#0C3D28 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#0C3D28 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C3D28
12.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C3D28#FFFFFF#000000##FFFFFF
##0C3D281.0012.251.7112.25
#FFFFFF12.251.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C3827
Deuteranopia (green-blind)
#363329
Tritanopia (blue-blind)
#003D37
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #0c3d28;
/* rgb */ color: rgb(12, 61, 40);
/* oklch */ color: oklch(32.2% 0.064 160.5);
Tailwind
colors: {
  custom: {
    50: '#537362',
    500: '#0c3d28',
    950: '#000000',
  },
}
SCSS
$custom: #0c3d28;
$custom-light: #537362;
$custom-dark: #000000;
JSON
{
  "hex": "#0c3d28",
  "rgb": {
    "r": 12,
    "g": 61,
    "b": 40
  },
  "hsl": {
    "h": 154.286,
    "s": 67.123,
    "l": 14.314
  },
  "oklch": {
    "l": 0.32157,
    "c": 0.06381,
    "h": 160.5
  },
  "luminance": 0.03569
}

Semantic roles & 50–950 ramp

primary
#0C3D28
secondary
#792C4D
accent
#3E88EA
background
#F4F7F5
surface
#E8EDEA
border
#C4C8C6
text
#030805
muted
#787B79

Preview Lab

Preview with #0C3D28

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

Preview Lab → · Contrast checker → · Palette generator →

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