#0C5411#0C5411

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

Color values

HEX#0C5411
RGBrgb(12, 84, 17)
HSLhsl(124, 75%, 19%)
HSVhsv(124, 86%, 33%)
CMYKcmyk(85.7%, 0%, 79.8%, 67.1%)
CIE-LABlab(30.54, -35.50, 31.29)
CIE-LCHlch(30.54, 47.32, 138.60°)
OKLaboklab(38.96% -0.0961 0.0709)
OKLCHoklch(38.96% 0.119 143.6)
XYZxyz(3.4229, 6.4589, 1.5965)
Luminance0.0646 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C5411 #540C4F
analogous
#2B540C #0C5411 #0C5435
triadic
#0C5411 #110C54 #54110C
tetradic
#0C5411 #0C2B54 #540C4F #54350C
square
#0C5411 #0C2B54 #540C4F #54350C
split-complementary
#0C5411 #350C54 #540C2B
monochromatic
#041B05 #041E06 #0C5411 #148A1C #1BBF27

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##0C5411#FFFFFF#000000##FFFFFF
##0C54111.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)
#564B05
Deuteranopia (green-blind)
#4E4618
Tritanopia (blue-blind)
#005147
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #0c5411;
/* rgb */ color: rgb(12, 84, 17);
/* oklch */ color: oklch(39.0% 0.119 143.6);
Tailwind
colors: {
  custom: {
    50: '#5b8554',
    500: '#0c5411',
    950: '#000000',
  },
}
SCSS
$custom: #0c5411;
$custom-light: #5b8554;
$custom-dark: #000000;
JSON
{
  "hex": "#0c5411",
  "rgb": {
    "r": 12,
    "g": 84,
    "b": 17
  },
  "hsl": {
    "h": 124.167,
    "s": 75,
    "l": 18.824
  },
  "oklch": {
    "l": 0.38959,
    "c": 0.11942,
    "h": 143.6
  },
  "luminance": 0.06459
}

Semantic roles & 50–950 ramp

primary
#0C5411
secondary
#8F2D88
accent
#36E5F2
background
#F5F8F5
surface
#E9EFE8
border
#C5CAC4
text
#040B03
muted
#797C78

Preview Lab

Preview with #0C5411

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

Preview Lab → · Contrast checker → · Palette generator →

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