#0C4B2E#0C4B2E

#0C4B2E is a dark, moderate teal. Relative luminance 0.053; OKLCH L 36.6% C 0.079 H 157.8°. Best body text is #FFFFFF at 10.19:1 contrast (WCAG AA passes).

Color values

HEX#0C4B2E
RGBrgb(12, 75, 46)
HSLhsl(152, 72%, 17%)
HSVhsv(152, 84%, 29%)
CMYKcmyk(84%, 0%, 38.7%, 70.6%)
CIE-LABlab(27.59, -27.12, 11.92)
CIE-LCHlch(27.59, 29.62, 156.27°)
OKLaboklab(36.65% -0.0734 0.03)
OKLCHoklch(36.65% 0.079 157.8)
XYZxyz(3.1605, 5.3072, 3.4421)
Luminance0.0531 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C4B2E #4B0C29
analogous
#0C4B0F #0C4B2E #0C494B
triadic
#0C4B2E #2E0C4B #4B2E0C
tetradic
#0C4B2E #0F0C4B #4B0C29 #494B0C
square
#0C4B2E #0F0C4B #4B0C29 #494B0C
split-complementary
#0C4B2E #4B0C49 #4B0F0C
monochromatic
#041A10 #041A10 #0C4B2E #14804E #1DB56F

Accessibility & contrast

On white

10.19
#0C4B2E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#0C4B2E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C4B2E
10.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C4B2E#FFFFFF#000000##FFFFFF
##0C4B2E1.0010.192.0610.19
#FFFFFF10.191.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A442C
Deuteranopia (green-blind)
#433F30
Tritanopia (blue-blind)
#004A44
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #0c4b2e;
/* rgb */ color: rgb(12, 75, 46);
/* oklch */ color: oklch(36.6% 0.079 157.8);
Tailwind
colors: {
  custom: {
    50: '#577e67',
    500: '#0c4b2e',
    950: '#000000',
  },
}
SCSS
$custom: #0c4b2e;
$custom-light: #577e67;
$custom-dark: #000000;
JSON
{
  "hex": "#0c4b2e",
  "rgb": {
    "r": 12,
    "g": 75,
    "b": 46
  },
  "hsl": {
    "h": 152.381,
    "s": 72.414,
    "l": 17.059
  },
  "oklch": {
    "l": 0.36648,
    "c": 0.0793,
    "h": 157.8
  },
  "luminance": 0.05308
}

Semantic roles & 50–950 ramp

primary
#0C4B2E
secondary
#872C56
accent
#398DEF
background
#F5F7F6
surface
#E9EEEB
border
#C5C9C6
text
#030A06
muted
#787C7A

Preview Lab

Preview with #0C4B2E

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

Preview Lab → · Contrast checker → · Palette generator →

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