#12561C#12561C

#12561C is a dark, moderate green. Relative luminance 0.069; OKLCH L 39.8% C 0.112 H 145.2°. Best body text is #FFFFFF at 8.85:1 contrast (WCAG AA passes).

Color values

HEX#12561C
RGBrgb(18, 86, 28)
HSLhsl(129, 65%, 20%)
HSVhsv(129, 79%, 34%)
CMYKcmyk(79.1%, 0%, 67.4%, 66.3%)
CIE-LABlab(31.50, -33.99, 27.23)
CIE-LCHlch(31.50, 43.55, 141.30°)
OKLaboklab(39.83% -0.0918 0.0637)
OKLCHoklch(39.83% 0.112 145.2)
XYZxyz(3.7866, 6.8676, 2.2244)
Luminance0.0687 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12561C #56124C
analogous
#2A5612 #12561C #12563E
triadic
#12561C #1C1256 #561C12
tetradic
#12561C #122A56 #56124C #563E12
square
#12561C #122A56 #56124C #563E12
split-complementary
#12561C #3E1256 #56122A
monochromatic
#051908 #07230C #12561C #1D892C #27BB3D

Accessibility & contrast

On white

8.85
#12561C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#12561C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12561C
8.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12561C#FFFFFF#000000##FFFFFF
##12561C1.008.852.378.85
#FFFFFF8.851.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#584D15
Deuteranopia (green-blind)
#504821
Tritanopia (blue-blind)
#00544A
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #12561c;
/* rgb */ color: rgb(18, 86, 28);
/* oklch */ color: oklch(39.8% 0.112 145.2);
Tailwind
colors: {
  custom: {
    50: '#5c865b',
    500: '#12561c',
    950: '#000000',
  },
}
SCSS
$custom: #12561c;
$custom-light: #5c865b;
$custom-dark: #000000;
JSON
{
  "hex": "#12561c",
  "rgb": {
    "r": 18,
    "g": 86,
    "b": 28
  },
  "hsl": {
    "h": 128.824,
    "s": 65.385,
    "l": 20.392
  },
  "oklch": {
    "l": 0.39825,
    "c": 0.11171,
    "h": 145.2
  },
  "luminance": 0.06868
}

Semantic roles & 50–950 ramp

primary
#12561C
secondary
#8F3582
accent
#3FD0E8
background
#F5F8F5
surface
#E9EFE9
border
#C5CAC5
text
#050B04
muted
#797C79

Preview Lab

Preview with #12561C

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

Preview Lab → · Contrast checker → · Palette generator →

#12561C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva