#0C5413#0C5413

#0C5413 is a dark, moderate green. Relative luminance 0.065; OKLCH L 39.0% C 0.118 H 144.0°. Best body text is #FFFFFF at 9.16:1 contrast (WCAG AA passes).

Color values

HEX#0C5413
RGBrgb(12, 84, 19)
HSLhsl(126, 75%, 19%)
HSVhsv(126, 86%, 33%)
CMYKcmyk(85.7%, 0%, 77.4%, 67.1%)
CIE-LABlab(30.56, -35.30, 30.45)
CIE-LCHlch(30.56, 46.62, 139.21°)
OKLaboklab(38.98% -0.0955 0.0694)
OKLCHoklch(38.98% 0.118 144)
XYZxyz(3.4393, 6.4654, 1.6827)
Luminance0.0647 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C5413 #540C4D
analogous
#29540C #0C5413 #0C5437
triadic
#0C5413 #130C54 #54130C
tetradic
#0C5413 #0C2954 #540C4D #54370C
square
#0C5413 #0C2954 #540C4D #54370C
split-complementary
#0C5413 #370C54 #540C29
monochromatic
#041B06 #041E07 #0C5413 #148A1F #1BBF2B

Accessibility & contrast

On white

9.16
#0C5413 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#0C5413 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0C5413
9.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C5413#FFFFFF#000000##FFFFFF
##0C54131.009.162.299.16
#FFFFFF9.161.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#564B08
Deuteranopia (green-blind)
#4E461A
Tritanopia (blue-blind)
#005147
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #0c5413;
/* rgb */ color: rgb(12, 84, 19);
/* oklch */ color: oklch(39.0% 0.118 144.0);
Tailwind
colors: {
  custom: {
    50: '#5a8555',
    500: '#0c5413',
    950: '#000000',
  },
}
SCSS
$custom: #0c5413;
$custom-light: #5a8555;
$custom-dark: #000000;
JSON
{
  "hex": "#0c5413",
  "rgb": {
    "r": 12,
    "g": 84,
    "b": 19
  },
  "hsl": {
    "h": 125.833,
    "s": 75,
    "l": 18.824
  },
  "oklch": {
    "l": 0.38978,
    "c": 0.11805,
    "h": 144
  },
  "luminance": 0.06466
}

Semantic roles & 50–950 ramp

primary
#0C5413
secondary
#8F2D86
accent
#36DFF2
background
#F5F8F5
surface
#E9EFE9
border
#C5CAC5
text
#040B03
muted
#797C78

Preview Lab

Preview with #0C5413

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

Preview Lab → · Contrast checker → · Palette generator →

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