#0C4E07#0C4E07

#0C4E07 is a dark, moderate green. Relative luminance 0.055; OKLCH L 37.0% C 0.118 H 142.1°. Best body text is #FFFFFF at 9.96:1 contrast (WCAG AA passes).

Color values

HEX#0C4E07
RGBrgb(12, 78, 7)
HSLhsl(116, 84%, 17%)
HSVhsv(116, 91%, 31%)
CMYKcmyk(84.6%, 0%, 91%, 69.4%)
CIE-LABlab(28.23, -34.14, 32.79)
CIE-LCHlch(28.23, 47.34, 136.15°)
OKLaboklab(37.01% -0.0929 0.0724)
OKLCHoklch(37.01% 0.118 142.1)
XYZxyz(2.9142, 5.5419, 1.1171)
Luminance0.0554 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C4E07 #49074E
analogous
#304E07 #0C4E07 #074E26
triadic
#0C4E07 #070C4E #4E070C
tetradic
#0C4E07 #07304E #49074E #4E2607
square
#0C4E07 #07304E #49074E #4E2607
split-complementary
#0C4E07 #26074E #4E0730
monochromatic
#041C03 #041C03 #0C4E07 #15860C #1DBE11

Accessibility & contrast

On white

9.96
#0C4E07 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#0C4E07 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C4E07
9.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C4E07#FFFFFF#000000##FFFFFF
##0C4E071.009.962.119.96
#FFFFFF9.961.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#504600
Deuteranopia (green-blind)
#494110
Tritanopia (blue-blind)
#004B41
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #0c4e07;
/* rgb */ color: rgb(12, 78, 7);
/* oklch */ color: oklch(37.0% 0.118 142.1);
Tailwind
colors: {
  custom: {
    50: '#59804e',
    500: '#0c4e07',
    950: '#000000',
  },
}
SCSS
$custom: #0c4e07;
$custom-light: #59804e;
$custom-dark: #000000;
JSON
{
  "hex": "#0c4e07",
  "rgb": {
    "r": 12,
    "g": 78,
    "b": 7
  },
  "hsl": {
    "h": 115.775,
    "s": 83.529,
    "l": 16.667
  },
  "oklch": {
    "l": 0.37013,
    "c": 0.11781,
    "h": 142.1
  },
  "luminance": 0.05542
}

Semantic roles & 50–950 ramp

primary
#0C4E07
secondary
#85258C
accent
#2EFAEB
background
#F5F7F4
surface
#E9EEE7
border
#C5C9C3
text
#040A02
muted
#797C78

Preview Lab

Preview with #0C4E07

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

Preview Lab → · Contrast checker → · Palette generator →

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