#0C4F13#0C4F13

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

Color values

HEX#0C4F13
RGBrgb(12, 79, 19)
HSLhsl(126, 74%, 18%)
HSVhsv(126, 85%, 31%)
CMYKcmyk(84.8%, 0%, 75.9%, 69%)
CIE-LABlab(28.69, -33.47, 28.49)
CIE-LCHlch(28.69, 43.95, 139.59°)
OKLaboklab(37.42% -0.0905 0.0653)
OKLCHoklch(37.42% 0.112 144.2)
XYZxyz(3.0649, 5.7168, 1.5579)
Luminance0.0572 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C4F13 #4F0C48
analogous
#264F0C #0C4F13 #0C4F34
triadic
#0C4F13 #130C4F #4F130C
tetradic
#0C4F13 #0C264F #4F0C48 #4F340C
square
#0C4F13 #0C264F #4F0C48 #4F340C
split-complementary
#0C4F13 #340C4F #4F0C26
monochromatic
#041B06 #041B06 #0C4F13 #148420 #1CB92D

Accessibility & contrast

On white

9.80
#0C4F13 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#0C4F13 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C4F13
9.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C4F13#FFFFFF#000000##FFFFFF
##0C4F131.009.802.149.80
#FFFFFF9.801.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#51470A
Deuteranopia (green-blind)
#494219
Tritanopia (blue-blind)
#004D43
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #0c4f13;
/* rgb */ color: rgb(12, 79, 19);
/* oklch */ color: oklch(37.4% 0.112 144.2);
Tailwind
colors: {
  custom: {
    50: '#598154',
    500: '#0c4f13',
    950: '#000000',
  },
}
SCSS
$custom: #0c4f13;
$custom-light: #598154;
$custom-dark: #000000;
JSON
{
  "hex": "#0c4f13",
  "rgb": {
    "r": 12,
    "g": 79,
    "b": 19
  },
  "hsl": {
    "h": 126.269,
    "s": 73.626,
    "l": 17.843
  },
  "oklch": {
    "l": 0.37422,
    "c": 0.11159,
    "h": 144.2
  },
  "luminance": 0.05717
}

Semantic roles & 50–950 ramp

primary
#0C4F13
secondary
#8B2C81
accent
#38DDF0
background
#F5F7F5
surface
#E9EEE8
border
#C5C9C4
text
#040A03
muted
#797C78

Preview Lab

Preview with #0C4F13

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

Preview Lab → · Contrast checker → · Palette generator →

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