#0C4F19#0C4F19

#0C4F19 is a dark, moderate green. Relative luminance 0.057; OKLCH L 37.5% C 0.107 H 145.8°. Best body text is #FFFFFF at 9.78:1 contrast (WCAG AA passes).

Color values

HEX#0C4F19
RGBrgb(12, 79, 25)
HSLhsl(132, 74%, 18%)
HSVhsv(132, 85%, 31%)
CMYKcmyk(84.8%, 0%, 68.4%, 69%)
CIE-LABlab(28.75, -32.73, 25.61)
CIE-LCHlch(28.75, 41.56, 141.96°)
OKLaboklab(37.49% -0.0882 0.06)
OKLCHoklch(37.49% 0.107 145.8)
XYZxyz(3.1228, 5.7399, 1.8629)
Luminance0.0574 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C4F19 #4F0C42
analogous
#204F0C #0C4F19 #0C4F3A
triadic
#0C4F19 #190C4F #4F190C
tetradic
#0C4F19 #0C204F #4F0C42 #4F3A0C
square
#0C4F19 #0C204F #4F0C42 #4F3A0C
split-complementary
#0C4F19 #3A0C4F #4F0C20
monochromatic
#041B08 #041B08 #0C4F19 #14842A #1CB93B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##0C4F19#FFFFFF#000000##FFFFFF
##0C4F191.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)
#504713
Deuteranopia (green-blind)
#49421E
Tritanopia (blue-blind)
#004D44
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #0c4f19;
/* rgb */ color: rgb(12, 79, 25);
/* oklch */ color: oklch(37.5% 0.107 145.8);
Tailwind
colors: {
  custom: {
    50: '#598158',
    500: '#0c4f19',
    950: '#000000',
  },
}
SCSS
$custom: #0c4f19;
$custom-light: #598158;
$custom-dark: #000000;
JSON
{
  "hex": "#0c4f19",
  "rgb": {
    "r": 12,
    "g": 79,
    "b": 25
  },
  "hsl": {
    "h": 131.642,
    "s": 73.626,
    "l": 17.843
  },
  "oklch": {
    "l": 0.37492,
    "c": 0.10665,
    "h": 145.8
  },
  "luminance": 0.0574
}

Semantic roles & 50–950 ramp

primary
#0C4F19
secondary
#8B2C78
accent
#38CCF0
background
#F5F7F5
surface
#E9EEE9
border
#C5C9C5
text
#040A03
muted
#797C78

Preview Lab

Preview with #0C4F19

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

Preview Lab → · Contrast checker → · Palette generator →

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