#0C2D20#0C2D20

#0C2D20 is a dark, muted teal. Relative luminance 0.021; OKLCH L 26.8% C 0.046 H 164.1°. Best body text is #FFFFFF at 14.87:1 contrast (WCAG AA passes).

Color values

HEX#0C2D20
RGBrgb(12, 45, 32)
HSLhsl(156, 58%, 11%)
HSVhsv(156, 73%, 18%)
CMYKcmyk(73.3%, 0%, 28.9%, 82.4%)
CIE-LABlab(15.79, -15.94, 4.90)
CIE-LCHlch(15.79, 16.68, 162.90°)
OKLaboklab(26.85% -0.044 0.0126)
OKLCHoklch(26.85% 0.046 164.1)
XYZxyz(1.3506, 2.0591, 1.6925)
Luminance0.0206 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C2D20 #2D0C19
analogous
#0C2D0F #0C2D20 #0C292D
triadic
#0C2D20 #200C2D #2D200C
tetradic
#0C2D20 #0F0C2D #2D0C19 #292D0C
square
#0C2D20 #0F0C2D #2D0C19 #292D0C
split-complementary
#0C2D20 #2D0C29 #2D0F0C
monochromatic
#061811 #061811 #0C2D20 #195D42 #268E65

Accessibility & contrast

On white

14.87
#0C2D20 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#0C2D20 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C2D20
14.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C2D20#FFFFFF#000000##FFFFFF
##0C2D201.0014.871.4114.87
#FFFFFF14.871.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C291F
Deuteranopia (green-blind)
#272621
Tritanopia (blue-blind)
#002D29
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #0c2d20;
/* rgb */ color: rgb(12, 45, 32);
/* oklch */ color: oklch(26.8% 0.046 164.1);
Tailwind
colors: {
  custom: {
    50: '#4f665b',
    500: '#0c2d20',
    950: '#000000',
  },
}
SCSS
$custom: #0c2d20;
$custom-light: #4f665b;
$custom-dark: #000000;
JSON
{
  "hex": "#0c2d20",
  "rgb": {
    "r": 12,
    "g": 45,
    "b": 32
  },
  "hsl": {
    "h": 156.364,
    "s": 57.895,
    "l": 11.176
  },
  "oklch": {
    "l": 0.26846,
    "c": 0.04578,
    "h": 164.1
  },
  "luminance": 0.02059
}

Semantic roles & 50–950 ramp

primary
#0C2D20
secondary
#692C44
accent
#4784E1
background
#F4F6F5
surface
#E7EBE9
border
#C3C6C5
text
#020604
muted
#787A79

Preview Lab

Preview with #0C2D20

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

Preview Lab → · Contrast checker → · Palette generator →

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