#0C482B#0C482B

#0C482B is a dark, moderate teal. Relative luminance 0.049; OKLCH L 35.7% C 0.078 H 156.8°. Best body text is #FFFFFF at 10.62:1 contrast (WCAG AA passes).

Color values

HEX#0C482B
RGBrgb(12, 72, 43)
HSLhsl(151, 71%, 16%)
HSVhsv(151, 83%, 28%)
CMYKcmyk(83.3%, 0%, 40.3%, 71.8%)
CIE-LABlab(26.41, -26.48, 12.21)
CIE-LCHlch(26.41, 29.16, 155.24°)
OKLaboklab(35.65% -0.0716 0.0307)
OKLCHoklch(35.65% 0.078 156.8)
XYZxyz(2.9047, 4.8870, 3.0752)
Luminance0.0489 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C482B #480C29
analogous
#0C480D #0C482B #0C4748
triadic
#0C482B #2B0C48 #482B0C
tetradic
#0C482B #0D0C48 #480C29 #47480C
square
#0C482B #0D0C48 #480C29 #47480C
split-complementary
#0C482B #480C47 #480D0C
monochromatic
#041A10 #041A10 #0C482B #157C4A #1DB16A

Accessibility & contrast

On white

10.62
#0C482B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#0C482B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C482B
10.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C482B#FFFFFF#000000##FFFFFF
##0C482B1.0010.621.9810.62
#FFFFFF10.621.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#474229
Deuteranopia (green-blind)
#403C2D
Tritanopia (blue-blind)
#004741
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #0c482b;
/* rgb */ color: rgb(12, 72, 43);
/* oklch */ color: oklch(35.7% 0.078 156.8);
Tailwind
colors: {
  custom: {
    50: '#567b64',
    500: '#0c482b',
    950: '#000000',
  },
}
SCSS
$custom: #0c482b;
$custom-light: #567b64;
$custom-dark: #000000;
JSON
{
  "hex": "#0c482b",
  "rgb": {
    "r": 12,
    "g": 72,
    "b": 43
  },
  "hsl": {
    "h": 151,
    "s": 71.429,
    "l": 16.471
  },
  "oklch": {
    "l": 0.35652,
    "c": 0.07789,
    "h": 156.8
  },
  "luminance": 0.04887
}

Semantic roles & 50–950 ramp

primary
#0C482B
secondary
#842C56
accent
#3A91EE
background
#F5F7F6
surface
#E9EEEB
border
#C5C9C6
text
#030905
muted
#787B7A

Preview Lab

Preview with #0C482B

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

Preview Lab → · Contrast checker → · Palette generator →

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