#0C3E28#0C3E28

#0C3E28 is a dark, moderate teal. Relative luminance 0.037; OKLCH L 32.5% C 0.065 H 159.8°. Best body text is #FFFFFF at 12.10:1 contrast (WCAG AA passes).

Color values

HEX#0C3E28
RGBrgb(12, 62, 40)
HSLhsl(154, 68%, 15%)
HSVhsv(154, 81%, 24%)
CMYKcmyk(80.6%, 0%, 35.5%, 75.7%)
CIE-LABlab(22.57, -22.54, 8.93)
CIE-LCHlch(22.57, 24.24, 158.40°)
OKLaboklab(32.47% -0.0614 0.0226)
OKLCHoklch(32.47% 0.065 159.8)
XYZxyz(2.2570, 3.6764, 2.5977)
Luminance0.0368 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C3E28 #3E0C22
analogous
#0C3E0F #0C3E28 #0C3B3E
triadic
#0C3E28 #280C3E #3E280C
tetradic
#0C3E28 #0F0C3E #3E0C22 #3B3E0C
square
#0C3E28 #0F0C3E #3E0C22 #3B3E0C
split-complementary
#0C3E28 #3E0C3B #3E0F0C
monochromatic
#051A11 #051A11 #0C3E28 #167149 #20A56A

Accessibility & contrast

On white

12.10
#0C3E28 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#0C3E28 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C3E28
12.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C3E28#FFFFFF#000000##FFFFFF
##0C3E281.0012.101.7412.10
#FFFFFF12.101.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D3927
Deuteranopia (green-blind)
#373429
Tritanopia (blue-blind)
#003E38
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #0c3e28;
/* rgb */ color: rgb(12, 62, 40);
/* oklch */ color: oklch(32.5% 0.065 159.8);
Tailwind
colors: {
  custom: {
    50: '#537462',
    500: '#0c3e28',
    950: '#000000',
  },
}
SCSS
$custom: #0c3e28;
$custom-light: #537462;
$custom-dark: #000000;
JSON
{
  "hex": "#0c3e28",
  "rgb": {
    "r": 12,
    "g": 62,
    "b": 40
  },
  "hsl": {
    "h": 153.6,
    "s": 67.568,
    "l": 14.51
  },
  "oklch": {
    "l": 0.32469,
    "c": 0.06541,
    "h": 159.8
  },
  "luminance": 0.03677
}

Semantic roles & 50–950 ramp

primary
#0C3E28
secondary
#7A2C4E
accent
#3D8AEA
background
#F5F7F5
surface
#E8EDEA
border
#C4C8C6
text
#030805
muted
#787B79

Preview Lab

Preview with #0C3E28

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

Preview Lab → · Contrast checker → · Palette generator →

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