#0C5033#0C5033

#0C5033 is a dark, moderate teal. Relative luminance 0.061; OKLCH L 38.3% C 0.082 H 159.3°. Best body text is #FFFFFF at 9.50:1 contrast (WCAG AA passes).

Color values

HEX#0C5033
RGBrgb(12, 80, 51)
HSLhsl(154, 74%, 18%)
HSVhsv(154, 85%, 31%)
CMYKcmyk(85%, 0%, 36.3%, 68.6%)
CIE-LABlab(29.55, -28.14, 11.45)
CIE-LCHlch(29.55, 30.38, 157.87°)
OKLaboklab(38.3% -0.0763 0.0289)
OKLCHoklch(38.3% 0.082 159.3)
XYZxyz(3.6174, 6.0541, 4.1092)
Luminance0.0605 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C5033 #500C29
analogous
#0C5011 #0C5033 #0C4B50
triadic
#0C5033 #330C50 #50330C
tetradic
#0C5033 #110C50 #500C29 #4B500C
square
#0C5033 #110C50 #500C29 #4B500C
split-complementary
#0C5033 #500C4B #50110C
monochromatic
#041B11 #041B11 #0C5033 #148555 #1CBA77

Accessibility & contrast

On white

9.50
#0C5033 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C5033
9.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C5033#FFFFFF#000000##FFFFFF
##0C50331.009.502.219.50
#FFFFFF9.501.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F4931
Deuteranopia (green-blind)
#474335
Tritanopia (blue-blind)
#005048
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #0c5033;
/* rgb */ color: rgb(12, 80, 51);
/* oklch */ color: oklch(38.3% 0.082 159.3);
Tailwind
colors: {
  custom: {
    50: '#58826a',
    500: '#0c5033',
    950: '#000000',
  },
}
SCSS
$custom: #0c5033;
$custom-light: #58826a;
$custom-dark: #000000;
JSON
{
  "hex": "#0c5033",
  "rgb": {
    "r": 12,
    "g": 80,
    "b": 51
  },
  "hsl": {
    "h": 154.412,
    "s": 73.913,
    "l": 18.039
  },
  "oklch": {
    "l": 0.38295,
    "c": 0.08164,
    "h": 159.3
  },
  "luminance": 0.06055
}

Semantic roles & 50–950 ramp

primary
#0C5033
secondary
#8B2C55
accent
#3786F1
background
#F5F8F6
surface
#E9EFEB
border
#C5CAC6
text
#040A06
muted
#797C7A

Preview Lab

Preview with #0C5033

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

Preview Lab → · Contrast checker → · Palette generator →

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