#0C4516#0C4516

#0C4516 is a dark, moderate green. Relative luminance 0.044; OKLCH L 34.3% C 0.095 H 145.7°. Best body text is #FFFFFF at 11.18:1 contrast (WCAG AA passes).

Color values

HEX#0C4516
RGBrgb(12, 69, 22)
HSLhsl(131, 70%, 16%)
HSVhsv(131, 83%, 27%)
CMYKcmyk(82.6%, 0%, 68.1%, 72.9%)
CIE-LABlab(24.93, -29.23, 22.85)
CIE-LCHlch(24.93, 37.10, 141.99°)
OKLaboklab(34.31% -0.0788 0.0537)
OKLCHoklch(34.31% 0.095 145.7)
XYZxyz(2.4244, 4.3921, 1.4789)
Luminance0.0439 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C4516 #450C3B
analogous
#1E450C #0C4516 #0C4532
triadic
#0C4516 #160C45 #45160C
tetradic
#0C4516 #0C1E45 #450C3B #45320C
square
#0C4516 #0C1E45 #450C3B #45320C
split-complementary
#0C4516 #320C45 #450C1E
monochromatic
#051A08 #051A08 #0C4516 #157927 #1EAD37

Accessibility & contrast

On white

11.18
#0C4516 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#0C4516 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C4516
11.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C4516#FFFFFF#000000##FFFFFF
##0C45161.0011.181.8811.18
#FFFFFF11.181.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#463E11
Deuteranopia (green-blind)
#40391A
Tritanopia (blue-blind)
#00433B
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #0c4516;
/* rgb */ color: rgb(12, 69, 22);
/* oklch */ color: oklch(34.3% 0.095 145.7);
Tailwind
colors: {
  custom: {
    50: '#567955',
    500: '#0c4516',
    950: '#000000',
  },
}
SCSS
$custom: #0c4516;
$custom-light: #567955;
$custom-dark: #000000;
JSON
{
  "hex": "#0c4516",
  "rgb": {
    "r": 12,
    "g": 69,
    "b": 22
  },
  "hsl": {
    "h": 130.526,
    "s": 70.37,
    "l": 15.882
  },
  "oklch": {
    "l": 0.34312,
    "c": 0.09539,
    "h": 145.7
  },
  "luminance": 0.04392
}

Semantic roles & 50–950 ramp

primary
#0C4516
secondary
#812C72
accent
#3BCEED
background
#F5F7F5
surface
#E9EDE9
border
#C5C8C5
text
#030903
muted
#787B78

Preview Lab

Preview with #0C4516

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

Preview Lab → · Contrast checker → · Palette generator →

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