#0C5410#0C5410

#0C5410 is a dark, vivid green. Relative luminance 0.065; OKLCH L 39.0% C 0.120 H 143.4°. Best body text is #FFFFFF at 9.17:1 contrast (WCAG AA passes).

Color values

HEX#0C5410
RGBrgb(12, 84, 16)
HSLhsl(123, 75%, 19%)
HSVhsv(123, 86%, 33%)
CMYKcmyk(85.7%, 0%, 81%, 67.1%)
CIE-LABlab(30.53, -35.59, 31.70)
CIE-LCHlch(30.53, 47.66, 138.31°)
OKLaboklab(38.95% -0.0964 0.0716)
OKLCHoklch(38.95% 0.12 143.4)
XYZxyz(3.4152, 6.4558, 1.5562)
Luminance0.0646 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0C5410 #540C50
analogous
#2C540C #0C5410 #0C5434
triadic
#0C5410 #100C54 #54100C
tetradic
#0C5410 #0C2C54 #540C50 #54340C
square
#0C5410 #0C2C54 #540C50 #54340C
split-complementary
#0C5410 #340C54 #540C2C
monochromatic
#041B05 #041E06 #0C5410 #148A1A #1BBF24

Accessibility & contrast

On white

9.17
#0C5410 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0C5410
9.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0C5410#FFFFFF#000000##FFFFFF
##0C54101.009.172.299.17
#FFFFFF9.171.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.171.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0c5410;
/* rgb */ color: rgb(12, 84, 16);
/* oklch */ color: oklch(39.0% 0.120 143.4);
Tailwind
colors: {
  custom: {
    50: '#5b8553',
    500: '#0c5410',
    950: '#000000',
  },
}
SCSS
$custom: #0c5410;
$custom-light: #5b8553;
$custom-dark: #000000;
JSON
{
  "hex": "#0c5410",
  "rgb": {
    "r": 12,
    "g": 84,
    "b": 16
  },
  "hsl": {
    "h": 123.333,
    "s": 75,
    "l": 18.824
  },
  "oklch": {
    "l": 0.38951,
    "c": 0.12006,
    "h": 143.4
  },
  "luminance": 0.06456
}

Semantic roles & 50–950 ramp

primary
#0C5410
secondary
#8F2D8A
accent
#36E7F2
background
#F5F8F4
surface
#E9EFE8
border
#C5CAC4
text
#040B03
muted
#797C78

Preview Lab

Preview with #0C5410

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

Preview Lab → · Contrast checker → · Palette generator →

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