#0C4231#0C4231

#0C4231 is a dark, moderate teal. Relative luminance 0.042; OKLCH L 34.0% C 0.063 H 167.1°. Best body text is #FFFFFF at 11.42:1 contrast (WCAG AA passes).

Color values

HEX#0C4231
RGBrgb(12, 66, 49)
HSLhsl(161, 69%, 15%)
HSVhsv(161, 82%, 26%)
CMYKcmyk(81.8%, 0%, 25.8%, 74.1%)
CIE-LABlab(24.31, -22.06, 5.45)
CIE-LCHlch(24.31, 22.72, 166.11°)
OKLaboklab(33.97% -0.0611 0.014)
OKLCHoklch(33.97% 0.063 167.1)
XYZxyz(2.6539, 4.1960, 3.5752)
Luminance0.0420 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C4231 #420C1D
analogous
#0C4216 #0C4231 #0C3842
triadic
#0C4231 #310C42 #42310C
tetradic
#0C4231 #160C42 #420C1D #38420C
square
#0C4231 #160C42 #420C1D #38420C
split-complementary
#0C4231 #420C38 #42160C
monochromatic
#051A13 #051A13 #0C4231 #157657 #1FAA7E

Accessibility & contrast

On white

11.42
#0C4231 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#0C4231 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C4231
11.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C4231#FFFFFF#000000##FFFFFF
##0C42311.0011.421.8411.42
#FFFFFF11.421.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#403D30
Deuteranopia (green-blind)
#393832
Tritanopia (blue-blind)
#00423D
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #0c4231;
/* rgb */ color: rgb(12, 66, 49);
/* oklch */ color: oklch(34.0% 0.063 167.1);
Tailwind
colors: {
  custom: {
    50: '#547769',
    500: '#0c4231',
    950: '#000000',
  },
}
SCSS
$custom: #0c4231;
$custom-light: #547769;
$custom-dark: #000000;
JSON
{
  "hex": "#0c4231",
  "rgb": {
    "r": 12,
    "g": 66,
    "b": 49
  },
  "hsl": {
    "h": 161.111,
    "s": 69.231,
    "l": 15.294
  },
  "oklch": {
    "l": 0.33972,
    "c": 0.06265,
    "h": 167.1
  },
  "luminance": 0.04196
}

Semantic roles & 50–950 ramp

primary
#0C4231
secondary
#7E2C46
accent
#3C73EC
background
#F5F7F6
surface
#E9EDEB
border
#C5C8C6
text
#030806
muted
#787B7A

Preview Lab

Preview with #0C4231

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

Preview Lab → · Contrast checker → · Palette generator →

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