#0C4E24#0C4E24

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

Color values

HEX#0C4E24
RGBrgb(12, 78, 36)
HSLhsl(142, 73%, 18%)
HSVhsv(142, 85%, 31%)
CMYKcmyk(84.6%, 0%, 53.8%, 69.4%)
CIE-LABlab(28.52, -30.55, 19.23)
CIE-LCHlch(28.52, 36.10, 147.81°)
OKLaboklab(37.35% -0.0821 0.0468)
OKLCHoklch(37.35% 0.094 150.3)
XYZxyz(3.1942, 5.6539, 2.5917)
Luminance0.0565 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C4E24 #4E0C36
analogous
#154E0C #0C4E24 #0C4E45
triadic
#0C4E24 #240C4E #4E240C
tetradic
#0C4E24 #0C154E #4E0C36 #4E450C
square
#0C4E24 #0C154E #4E0C36 #4E450C
split-complementary
#0C4E24 #450C4E #4E0C15
monochromatic
#041B0C #041B0C #0C4E24 #14833C #1CB855

Accessibility & contrast

On white

9.86
#0C4E24 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C4E24
9.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C4E24#FFFFFF#000000##FFFFFF
##0C4E241.009.862.139.86
#FFFFFF9.861.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E4621
Deuteranopia (green-blind)
#474127
Tritanopia (blue-blind)
#004C44
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #0c4e24;
/* rgb */ color: rgb(12, 78, 36);
/* oklch */ color: oklch(37.4% 0.094 150.3);
Tailwind
colors: {
  custom: {
    50: '#58805f',
    500: '#0c4e24',
    950: '#000000',
  },
}
SCSS
$custom: #0c4e24;
$custom-light: #58805f;
$custom-dark: #000000;
JSON
{
  "hex": "#0c4e24",
  "rgb": {
    "r": 12,
    "g": 78,
    "b": 36
  },
  "hsl": {
    "h": 141.818,
    "s": 73.333,
    "l": 17.647
  },
  "oklch": {
    "l": 0.37354,
    "c": 0.09449,
    "h": 150.3
  },
  "luminance": 0.05654
}

Semantic roles & 50–950 ramp

primary
#0C4E24
secondary
#8A2C68
accent
#38ADF0
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#040A04
muted
#797C79

Preview Lab

Preview with #0C4E24

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

Preview Lab → · Contrast checker → · Palette generator →

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