#0C4E2F#0C4E2F

#0C4E2F is a dark, moderate teal. Relative luminance 0.057; OKLCH L 37.6% C 0.083 H 157.1°. Best body text is #FFFFFF at 9.78:1 contrast (WCAG AA passes).

Color values

HEX#0C4E2F
RGBrgb(12, 78, 47)
HSLhsl(152, 73%, 18%)
HSVhsv(152, 85%, 31%)
CMYKcmyk(84.6%, 0%, 39.7%, 69.4%)
CIE-LABlab(28.73, -28.22, 12.82)
CIE-LCHlch(28.73, 30.99, 155.56°)
OKLaboklab(37.59% -0.0763 0.0322)
OKLCHoklch(37.59% 0.083 157.1)
XYZxyz(3.3888, 5.7318, 3.6165)
Luminance0.0573 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C4E2F #4E0C2B
analogous
#0C4E0E #0C4E2F #0C4C4E
triadic
#0C4E2F #2F0C4E #4E2F0C
tetradic
#0C4E2F #0E0C4E #4E0C2B #4C4E0C
square
#0C4E2F #0E0C4E #4E0C2B #4C4E0C
split-complementary
#0C4E2F #4E0C4C #4E0E0C
monochromatic
#041B10 #041B10 #0C4E2F #14834F #1CB86F

Accessibility & contrast

On white

9.78
#0C4E2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#0C4E2F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C4E2F
9.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C4E2F#FFFFFF#000000##FFFFFF
##0C4E2F1.009.782.159.78
#FFFFFF9.781.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D472D
Deuteranopia (green-blind)
#464131
Tritanopia (blue-blind)
#004D46
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #0c4e2f;
/* rgb */ color: rgb(12, 78, 47);
/* oklch */ color: oklch(37.6% 0.083 157.1);
Tailwind
colors: {
  custom: {
    50: '#588067',
    500: '#0c4e2f',
    950: '#000000',
  },
}
SCSS
$custom: #0c4e2f;
$custom-light: #588067;
$custom-dark: #000000;
JSON
{
  "hex": "#0c4e2f",
  "rgb": {
    "r": 12,
    "g": 78,
    "b": 47
  },
  "hsl": {
    "h": 151.818,
    "s": 73.333,
    "l": 17.647
  },
  "oklch": {
    "l": 0.37589,
    "c": 0.0828,
    "h": 157.1
  },
  "luminance": 0.05732
}

Semantic roles & 50–950 ramp

primary
#0C4E2F
secondary
#8A2C58
accent
#388EF0
background
#F5F7F6
surface
#E9EEEB
border
#C5C9C6
text
#040A06
muted
#797C7A

Preview Lab

Preview with #0C4E2F

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

Preview Lab → · Contrast checker → · Palette generator →

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