#0C4E15#0C4E15

#0C4E15 is a dark, moderate green. Relative luminance 0.056; OKLCH L 37.1% C 0.109 H 144.7°. Best body text is #FFFFFF at 9.92:1 contrast (WCAG AA passes).

Color values

HEX#0C4E15
RGBrgb(12, 78, 21)
HSLhsl(128, 73%, 18%)
HSVhsv(128, 85%, 31%)
CMYKcmyk(84.6%, 0%, 73.1%, 69.4%)
CIE-LABlab(28.33, -32.86, 27.16)
CIE-LCHlch(28.33, 42.63, 140.43°)
OKLaboklab(37.13% -0.0887 0.0628)
OKLCHoklch(37.13% 0.109 144.7)
XYZxyz(3.0112, 5.5807, 1.6278)
Luminance0.0558 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C4E15 #4E0C45
analogous
#244E0C #0C4E15 #0C4E36
triadic
#0C4E15 #150C4E #4E150C
tetradic
#0C4E15 #0C244E #4E0C45 #4E360C
square
#0C4E15 #0C244E #4E0C45 #4E360C
split-complementary
#0C4E15 #360C4E #4E0C24
monochromatic
#041B07 #041B07 #0C4E15 #148323 #1CB832

Accessibility & contrast

On white

9.92
#0C4E15 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#0C4E15 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C4E15
9.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C4E15#FFFFFF#000000##FFFFFF
##0C4E151.009.922.129.92
#FFFFFF9.921.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#50460E
Deuteranopia (green-blind)
#48411A
Tritanopia (blue-blind)
#004C42
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #0c4e15;
/* rgb */ color: rgb(12, 78, 21);
/* oklch */ color: oklch(37.1% 0.109 144.7);
Tailwind
colors: {
  custom: {
    50: '#588055',
    500: '#0c4e15',
    950: '#000000',
  },
}
SCSS
$custom: #0c4e15;
$custom-light: #588055;
$custom-dark: #000000;
JSON
{
  "hex": "#0c4e15",
  "rgb": {
    "r": 12,
    "g": 78,
    "b": 21
  },
  "hsl": {
    "h": 128.182,
    "s": 73.333,
    "l": 17.647
  },
  "oklch": {
    "l": 0.37132,
    "c": 0.1087,
    "h": 144.7
  },
  "luminance": 0.05581
}

Semantic roles & 50–950 ramp

primary
#0C4E15
secondary
#8A2C7D
accent
#38D7F0
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#040A03
muted
#797C78

Preview Lab

Preview with #0C4E15

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

Preview Lab → · Contrast checker → · Palette generator →

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