#0C5A19#0C5A19

#0C5A19 is a dark, vivid green. Relative luminance 0.075; OKLCH L 40.9% C 0.121 H 145.0°. Best body text is #FFFFFF at 8.43:1 contrast (WCAG AA passes).

Color values

HEX#0C5A19
RGBrgb(12, 90, 25)
HSLhsl(130, 76%, 20%)
HSVhsv(130, 87%, 35%)
CMYKcmyk(86.7%, 0%, 72.2%, 64.7%)
CIE-LABlab(32.83, -36.81, 30.14)
CIE-LCHlch(32.83, 47.58, 140.69°)
OKLaboklab(40.89% -0.0993 0.0696)
OKLCHoklch(40.89% 0.121 145)
XYZxyz(3.9830, 7.4602, 2.1496)
Luminance0.0746 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C5A19 #5A0C4D
analogous
#265A0C #0C5A19 #0C5A40
triadic
#0C5A19 #190C5A #5A190C
tetradic
#0C5A19 #0C265A #5A0C4D #5A400C
square
#0C5A19 #0C265A #5A0C4D #5A400C
split-complementary
#0C5A19 #400C5A #5A0C26
monochromatic
#041B07 #05240A #0C5A19 #139028 #1AC637

Accessibility & contrast

On white

8.43
#0C5A19 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#0C5A19 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C5A19
8.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C5A19#FFFFFF#000000##FFFFFF
##0C5A191.008.432.498.43
#FFFFFF8.431.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C5110
Deuteranopia (green-blind)
#534B1F
Tritanopia (blue-blind)
#00574D
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #0c5a19;
/* rgb */ color: rgb(12, 90, 25);
/* oklch */ color: oklch(40.9% 0.121 145.0);
Tailwind
colors: {
  custom: {
    50: '#5c8a59',
    500: '#0c5a19',
    950: '#000000',
  },
}
SCSS
$custom: #0c5a19;
$custom-light: #5c8a59;
$custom-dark: #000000;
JSON
{
  "hex": "#0c5a19",
  "rgb": {
    "r": 12,
    "g": 90,
    "b": 25
  },
  "hsl": {
    "h": 130,
    "s": 76.471,
    "l": 20
  },
  "oklch": {
    "l": 0.40886,
    "c": 0.12124,
    "h": 145
  },
  "luminance": 0.07461
}

Semantic roles & 50–950 ramp

primary
#0C5A19
secondary
#952D83
accent
#35D3F3
background
#F5F8F5
surface
#E9F0E9
border
#C5CBC5
text
#050C04
muted
#797D79

Preview Lab

Preview with #0C5A19

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

Preview Lab → · Contrast checker → · Palette generator →

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