#0C5B19#0C5B19

#0C5B19 is a dark, vivid green. Relative luminance 0.076; OKLCH L 41.2% C 0.123 H 144.9°. Best body text is #FFFFFF at 8.31:1 contrast (WCAG AA passes).

Color values

HEX#0C5B19
RGBrgb(12, 91, 25)
HSLhsl(130, 77%, 20%)
HSVhsv(130, 87%, 36%)
CMYKcmyk(86.8%, 0%, 72.5%, 64.3%)
CIE-LABlab(33.20, -37.17, 30.54)
CIE-LCHlch(33.20, 48.11, 140.60°)
OKLaboklab(41.19% -0.1003 0.0704)
OKLCHoklch(41.19% 0.123 144.9)
XYZxyz(4.0679, 7.6300, 2.1779)
Luminance0.0763 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C5B19 #5B0C4E
analogous
#275B0C #0C5B19 #0C5B40
triadic
#0C5B19 #190C5B #5B190C
tetradic
#0C5B19 #0C275B #5B0C4E #5B400C
square
#0C5B19 #0C275B #5B0C4E #5B400C
split-complementary
#0C5B19 #400C5B #5B0C27
monochromatic
#041B07 #05250A #0C5B19 #139128 #1AC737

Accessibility & contrast

On white

8.31
#0C5B19 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#0C5B19 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C5B19
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C5B19#FFFFFF#000000##FFFFFF
##0C5B191.008.312.538.31
#FFFFFF8.311.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D5210
Deuteranopia (green-blind)
#544C1F
Tritanopia (blue-blind)
#00584E
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #0c5b19;
/* rgb */ color: rgb(12, 91, 25);
/* oklch */ color: oklch(41.2% 0.123 144.9);
Tailwind
colors: {
  custom: {
    50: '#5c8a59',
    500: '#0c5b19',
    950: '#000000',
  },
}
SCSS
$custom: #0c5b19;
$custom-light: #5c8a59;
$custom-dark: #000000;
JSON
{
  "hex": "#0c5b19",
  "rgb": {
    "r": 12,
    "g": 91,
    "b": 25
  },
  "hsl": {
    "h": 129.873,
    "s": 76.699,
    "l": 20.196
  },
  "oklch": {
    "l": 0.41191,
    "c": 0.12252,
    "h": 144.9
  },
  "luminance": 0.07631
}

Semantic roles & 50–950 ramp

primary
#0C5B19
secondary
#962D84
accent
#35D4F3
background
#F5F8F5
surface
#E9F0E9
border
#C5CBC5
text
#050C04
muted
#797D79

Preview Lab

Preview with #0C5B19

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

Preview Lab → · Contrast checker → · Palette generator →

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