#0C5030#0C5030

#0C5030 is a dark, moderate teal. Relative luminance 0.060; OKLCH L 38.2% C 0.085 H 157.0°. Best body text is #FFFFFF at 9.52:1 contrast (WCAG AA passes).

Color values

HEX#0C5030
RGBrgb(12, 80, 48)
HSLhsl(152, 74%, 18%)
HSVhsv(152, 85%, 31%)
CMYKcmyk(85%, 0%, 40%, 68.6%)
CIE-LABlab(29.48, -28.86, 13.22)
CIE-LCHlch(29.48, 31.75, 155.39°)
OKLaboklab(38.22% -0.078 0.0332)
OKLCHoklch(38.22% 0.085 157)
XYZxyz(3.5534, 6.0285, 3.7721)
Luminance0.0603 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C5030 #500C2C
analogous
#0C500E #0C5030 #0C4E50
triadic
#0C5030 #300C50 #50300C
tetradic
#0C5030 #0E0C50 #500C2C #4E500C
square
#0C5030 #0E0C50 #500C2C #4E500C
split-complementary
#0C5030 #500C4E #500E0C
monochromatic
#041B10 #041B10 #0C5030 #148550 #1CBA70

Accessibility & contrast

On white

9.52
#0C5030 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#0C5030 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C5030
9.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C5030#FFFFFF#000000##FFFFFF
##0C50301.009.522.219.52
#FFFFFF9.521.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F492E
Deuteranopia (green-blind)
#474332
Tritanopia (blue-blind)
#004F48
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #0c5030;
/* rgb */ color: rgb(12, 80, 48);
/* oklch */ color: oklch(38.2% 0.085 157.0);
Tailwind
colors: {
  custom: {
    50: '#588268',
    500: '#0c5030',
    950: '#000000',
  },
}
SCSS
$custom: #0c5030;
$custom-light: #588268;
$custom-dark: #000000;
JSON
{
  "hex": "#0c5030",
  "rgb": {
    "r": 12,
    "g": 80,
    "b": 48
  },
  "hsl": {
    "h": 151.765,
    "s": 73.913,
    "l": 18.039
  },
  "oklch": {
    "l": 0.38221,
    "c": 0.08475,
    "h": 157
  },
  "luminance": 0.06029
}

Semantic roles & 50–950 ramp

primary
#0C5030
secondary
#8B2C59
accent
#378EF1
background
#F5F8F6
surface
#E9EFEB
border
#C5CAC6
text
#040A06
muted
#797C7A

Preview Lab

Preview with #0C5030

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

Preview Lab → · Contrast checker → · Palette generator →

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