#0C5515#0C5515

#0C5515 is a dark, moderate green. Relative luminance 0.066; OKLCH L 39.3% C 0.118 H 144.4°. Best body text is #FFFFFF at 9.03:1 contrast (WCAG AA passes).

Color values

HEX#0C5515
RGBrgb(12, 85, 21)
HSLhsl(127, 75%, 19%)
HSVhsv(127, 86%, 33%)
CMYKcmyk(85.9%, 0%, 75.3%, 66.7%)
CIE-LABlab(30.95, -35.45, 29.97)
CIE-LCHlch(30.95, 46.42, 139.79°)
OKLaboklab(39.31% -0.0958 0.0687)
OKLCHoklch(39.31% 0.118 144.4)
XYZxyz(3.5352, 6.6289, 1.8025)
Luminance0.0663 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C5515 #550C4C
analogous
#28550C #0C5515 #0C553A
triadic
#0C5515 #150C55 #55150C
tetradic
#0C5515 #0C2855 #550C4C #553A0C
square
#0C5515 #0C2855 #550C4C #553A0C
split-complementary
#0C5515 #3A0C55 #550C28
monochromatic
#041B07 #041F08 #0C5515 #148B22 #1BC02F

Accessibility & contrast

On white

9.03
#0C5515 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C5515
9.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C5515#FFFFFF#000000##FFFFFF
##0C55151.009.032.339.03
#FFFFFF9.031.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#574C0B
Deuteranopia (green-blind)
#4F471B
Tritanopia (blue-blind)
#005248
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #0c5515;
/* rgb */ color: rgb(12, 85, 21);
/* oklch */ color: oklch(39.3% 0.118 144.4);
Tailwind
colors: {
  custom: {
    50: '#5b8656',
    500: '#0c5515',
    950: '#000000',
  },
}
SCSS
$custom: #0c5515;
$custom-light: #5b8656;
$custom-dark: #000000;
JSON
{
  "hex": "#0c5515",
  "rgb": {
    "r": 12,
    "g": 85,
    "b": 21
  },
  "hsl": {
    "h": 127.397,
    "s": 75.258,
    "l": 19.02
  },
  "oklch": {
    "l": 0.39306,
    "c": 0.11786,
    "h": 144.4
  },
  "luminance": 0.06629
}

Semantic roles & 50–950 ramp

primary
#0C5515
secondary
#902D84
accent
#36DBF2
background
#F5F8F5
surface
#E9EFE9
border
#C5CAC5
text
#040B03
muted
#797C78

Preview Lab

Preview with #0C5515

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

Preview Lab → · Contrast checker → · Palette generator →

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