#0C5519#0C5519

#0C5519 is a dark, moderate green. Relative luminance 0.066; OKLCH L 39.4% C 0.115 H 145.3°. Best body text is #FFFFFF at 9.02:1 contrast (WCAG AA passes).

Color values

HEX#0C5519
RGBrgb(12, 85, 25)
HSLhsl(131, 75%, 19%)
HSVhsv(131, 86%, 33%)
CMYKcmyk(85.9%, 0%, 70.6%, 66.7%)
CIE-LABlab(30.98, -34.99, 28.12)
CIE-LCHlch(30.98, 44.89, 141.21°)
OKLaboklab(39.35% -0.0943 0.0653)
OKLCHoklch(39.35% 0.115 145.3)
XYZxyz(3.5753, 6.6449, 2.0137)
Luminance0.0664 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C5519 #550C48
analogous
#24550C #0C5519 #0C553E
triadic
#0C5519 #190C55 #55190C
tetradic
#0C5519 #0C2455 #550C48 #553E0C
square
#0C5519 #0C2455 #550C48 #553E0C
split-complementary
#0C5519 #3E0C55 #550C24
monochromatic
#041B08 #041F09 #0C5519 #148B29 #1BC039

Accessibility & contrast

On white

9.02
#0C5519 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#0C5519 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C5519
9.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C5519#FFFFFF#000000##FFFFFF
##0C55191.009.022.339.02
#FFFFFF9.021.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#574C12
Deuteranopia (green-blind)
#4F471E
Tritanopia (blue-blind)
#005349
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #0c5519;
/* rgb */ color: rgb(12, 85, 25);
/* oklch */ color: oklch(39.4% 0.115 145.3);
Tailwind
colors: {
  custom: {
    50: '#5a8659',
    500: '#0c5519',
    950: '#000000',
  },
}
SCSS
$custom: #0c5519;
$custom-light: #5a8659;
$custom-dark: #000000;
JSON
{
  "hex": "#0c5519",
  "rgb": {
    "r": 12,
    "g": 85,
    "b": 25
  },
  "hsl": {
    "h": 130.685,
    "s": 75.258,
    "l": 19.02
  },
  "oklch": {
    "l": 0.3935,
    "c": 0.11472,
    "h": 145.3
  },
  "luminance": 0.06645
}

Semantic roles & 50–950 ramp

primary
#0C5519
secondary
#902D7E
accent
#36D0F2
background
#F5F8F5
surface
#E9EFE9
border
#C5CAC5
text
#040B03
muted
#797C78

Preview Lab

Preview with #0C5519

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

Preview Lab → · Contrast checker → · Palette generator →

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