#0C3F28#0C3F28

#0C3F28 is a dark, moderate teal. Relative luminance 0.038; OKLCH L 32.8% C 0.067 H 159.1°. Best body text is #FFFFFF at 11.95:1 contrast (WCAG AA passes).

Color values

HEX#0C3F28
RGBrgb(12, 63, 40)
HSLhsl(153, 68%, 15%)
HSVhsv(153, 81%, 25%)
CMYKcmyk(81%, 0%, 36.5%, 75.3%)
CIE-LABlab(22.95, -23.02, 9.45)
CIE-LCHlch(22.95, 24.89, 157.69°)
OKLaboklab(32.78% -0.0626 0.0239)
OKLCHoklch(32.78% 0.067 159.1)
XYZxyz(2.3119, 3.7861, 2.6160)
Luminance0.0379 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C3F28 #3F0C23
analogous
#0C3F0E #0C3F28 #0C3D3F
triadic
#0C3F28 #280C3F #3F280C
tetradic
#0C3F28 #0E0C3F #3F0C23 #3D3F0C
square
#0C3F28 #0E0C3F #3F0C23 #3D3F0C
split-complementary
#0C3F28 #3F0C3D #3F0E0C
monochromatic
#051A10 #051A10 #0C3F28 #167249 #20A669

Accessibility & contrast

On white

11.95
#0C3F28 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#0C3F28 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C3F28
11.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C3F28#FFFFFF#000000##FFFFFF
##0C3F281.0011.951.7611.95
#FFFFFF11.951.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E3927
Deuteranopia (green-blind)
#383529
Tritanopia (blue-blind)
#003F39
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #0c3f28;
/* rgb */ color: rgb(12, 63, 40);
/* oklch */ color: oklch(32.8% 0.067 159.1);
Tailwind
colors: {
  custom: {
    50: '#537462',
    500: '#0c3f28',
    950: '#000000',
  },
}
SCSS
$custom: #0c3f28;
$custom-light: #537462;
$custom-dark: #000000;
JSON
{
  "hex": "#0c3f28",
  "rgb": {
    "r": 12,
    "g": 63,
    "b": 40
  },
  "hsl": {
    "h": 152.941,
    "s": 68,
    "l": 14.706
  },
  "oklch": {
    "l": 0.32782,
    "c": 0.067,
    "h": 159.1
  },
  "luminance": 0.03786
}

Semantic roles & 50–950 ramp

primary
#0C3F28
secondary
#7B2C50
accent
#3D8BEB
background
#F5F7F5
surface
#E9EDEA
border
#C5C8C6
text
#030805
muted
#787B79

Preview Lab

Preview with #0C3F28

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

Preview Lab → · Contrast checker → · Palette generator →

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