#0C4B2D#0C4B2D

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

Color values

HEX#0C4B2D
RGBrgb(12, 75, 45)
HSLhsl(151, 72%, 17%)
HSVhsv(151, 84%, 29%)
CMYKcmyk(84%, 0%, 40%, 70.6%)
CIE-LABlab(27.57, -27.35, 12.52)
CIE-LCHlch(27.57, 30.08, 155.41°)
OKLaboklab(36.62% -0.074 0.0314)
OKLCHoklch(36.62% 0.08 157)
XYZxyz(3.1410, 5.2994, 3.3395)
Luminance0.0530 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C4B2D #4B0C2A
analogous
#0C4B0E #0C4B2D #0C4A4B
triadic
#0C4B2D #2D0C4B #4B2D0C
tetradic
#0C4B2D #0E0C4B #4B0C2A #4A4B0C
square
#0C4B2D #0E0C4B #4B0C2A #4A4B0C
split-complementary
#0C4B2D #4B0C4A #4B0E0C
monochromatic
#041A10 #041A10 #0C4B2D #14804D #1DB56C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##0C4B2D#FFFFFF#000000##FFFFFF
##0C4B2D1.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)
#4A442B
Deuteranopia (green-blind)
#433F2F
Tritanopia (blue-blind)
#004A43
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #0c4b2d;
/* rgb */ color: rgb(12, 75, 45);
/* oklch */ color: oklch(36.6% 0.080 157.0);
Tailwind
colors: {
  custom: {
    50: '#577e66',
    500: '#0c4b2d',
    950: '#000000',
  },
}
SCSS
$custom: #0c4b2d;
$custom-light: #577e66;
$custom-dark: #000000;
JSON
{
  "hex": "#0c4b2d",
  "rgb": {
    "r": 12,
    "g": 75,
    "b": 45
  },
  "hsl": {
    "h": 151.429,
    "s": 72.414,
    "l": 17.059
  },
  "oklch": {
    "l": 0.36623,
    "c": 0.08036,
    "h": 157
  },
  "luminance": 0.053
}

Semantic roles & 50–950 ramp

primary
#0C4B2D
secondary
#872C57
accent
#3990EF
background
#F5F7F6
surface
#E9EEEB
border
#C5C9C6
text
#030A06
muted
#787C7A

Preview Lab

Preview with #0C4B2D

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

Preview Lab → · Contrast checker → · Palette generator →

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