#0C4E27#0C4E27

#0C4E27 is a dark, moderate green. Relative luminance 0.057; OKLCH L 37.4% C 0.091 H 151.9°. Best body text is #FFFFFF at 9.84:1 contrast (WCAG AA passes).

Color values

HEX#0C4E27
RGBrgb(12, 78, 39)
HSLhsl(145, 73%, 18%)
HSVhsv(145, 85%, 31%)
CMYKcmyk(84.6%, 0%, 50%, 69.4%)
CIE-LABlab(28.57, -29.97, 17.51)
CIE-LCHlch(28.57, 34.71, 149.70°)
OKLaboklab(37.41% -0.0805 0.043)
OKLCHoklch(37.41% 0.091 151.9)
XYZxyz(3.2419, 5.6730, 2.8432)
Luminance0.0567 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C4E27 #4E0C33
analogous
#124E0C #0C4E27 #0C4E48
triadic
#0C4E27 #270C4E #4E270C
tetradic
#0C4E27 #0C124E #4E0C33 #4E480C
square
#0C4E27 #0C124E #4E0C33 #4E480C
split-complementary
#0C4E27 #480C4E #4E0C12
monochromatic
#041B0D #041B0D #0C4E27 #148342 #1CB85C

Accessibility & contrast

On white

9.84
#0C4E27 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#0C4E27 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C4E27
9.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C4E27#FFFFFF#000000##FFFFFF
##0C4E271.009.842.139.84
#FFFFFF9.841.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E4724
Deuteranopia (green-blind)
#47412A
Tritanopia (blue-blind)
#004D45
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #0c4e27;
/* rgb */ color: rgb(12, 78, 39);
/* oklch */ color: oklch(37.4% 0.091 151.9);
Tailwind
colors: {
  custom: {
    50: '#588061',
    500: '#0c4e27',
    950: '#000000',
  },
}
SCSS
$custom: #0c4e27;
$custom-light: #588061;
$custom-dark: #000000;
JSON
{
  "hex": "#0c4e27",
  "rgb": {
    "r": 12,
    "g": 78,
    "b": 39
  },
  "hsl": {
    "h": 144.545,
    "s": 73.333,
    "l": 17.647
  },
  "oklch": {
    "l": 0.37412,
    "c": 0.09132,
    "h": 151.9
  },
  "luminance": 0.05673
}

Semantic roles & 50–950 ramp

primary
#0C4E27
secondary
#8A2C63
accent
#38A5F0
background
#F5F7F5
surface
#E9EEEA
border
#C5C9C6
text
#040A05
muted
#797C79

Preview Lab

Preview with #0C4E27

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

Preview Lab → · Contrast checker → · Palette generator →

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