#0C4F30#0C4F30

#0C4F30 is a dark, moderate teal. Relative luminance 0.059; OKLCH L 37.9% C 0.083 H 157.4°. Best body text is #FFFFFF at 9.65:1 contrast (WCAG AA passes).

Color values

HEX#0C4F30
RGBrgb(12, 79, 48)
HSLhsl(152, 74%, 18%)
HSVhsv(152, 85%, 31%)
CMYKcmyk(84.8%, 0%, 39.2%, 69%)
CIE-LABlab(29.12, -28.42, 12.73)
CIE-LCHlch(29.12, 31.14, 155.88°)
OKLaboklab(37.92% -0.0769 0.032)
OKLCHoklch(37.92% 0.083 157.4)
XYZxyz(3.4808, 5.8831, 3.7478)
Luminance0.0588 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C4F30 #4F0C2B
analogous
#0C4F0F #0C4F30 #0C4C4F
triadic
#0C4F30 #300C4F #4F300C
tetradic
#0C4F30 #0F0C4F #4F0C2B #4C4F0C
square
#0C4F30 #0F0C4F #4F0C2B #4C4F0C
split-complementary
#0C4F30 #4F0C4C #4F0F0C
monochromatic
#041B10 #041B10 #0C4F30 #148450 #1CB971

Accessibility & contrast

On white

9.65
#0C4F30 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#0C4F30 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C4F30
9.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C4F30#FFFFFF#000000##FFFFFF
##0C4F301.009.652.189.65
#FFFFFF9.651.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E482E
Deuteranopia (green-blind)
#464232
Tritanopia (blue-blind)
#004E47
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #0c4f30;
/* rgb */ color: rgb(12, 79, 48);
/* oklch */ color: oklch(37.9% 0.083 157.4);
Tailwind
colors: {
  custom: {
    50: '#588168',
    500: '#0c4f30',
    950: '#000000',
  },
}
SCSS
$custom: #0c4f30;
$custom-light: #588168;
$custom-dark: #000000;
JSON
{
  "hex": "#0c4f30",
  "rgb": {
    "r": 12,
    "g": 79,
    "b": 48
  },
  "hsl": {
    "h": 152.239,
    "s": 73.626,
    "l": 17.843
  },
  "oklch": {
    "l": 0.37917,
    "c": 0.08325,
    "h": 157.4
  },
  "luminance": 0.05884
}

Semantic roles & 50–950 ramp

primary
#0C4F30
secondary
#8B2C58
accent
#388DF0
background
#F5F7F6
surface
#E9EEEB
border
#C5C9C6
text
#040A06
muted
#797C7A

Preview Lab

Preview with #0C4F30

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

Preview Lab → · Contrast checker → · Palette generator →

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