#12562C#12562C

#12562C is a dark, moderate green. Relative luminance 0.070; OKLCH L 40.1% C 0.096 H 151.5°. Best body text is #FFFFFF at 8.77:1 contrast (WCAG AA passes).

Color values

HEX#12562C
RGBrgb(18, 86, 44)
HSLhsl(143, 65%, 20%)
HSVhsv(143, 79%, 34%)
CMYKcmyk(79.1%, 0%, 48.8%, 66.3%)
CIE-LABlab(31.73, -31.35, 18.61)
CIE-LCHlch(31.73, 36.46, 149.31°)
OKLaboklab(40.08% -0.0844 0.0458)
OKLCHoklch(40.08% 0.096 151.5)
XYZxyz(4.0315, 6.9656, 3.5144)
Luminance0.0697 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12562C #56123C
analogous
#1A5612 #12562C #12564E
triadic
#12562C #2C1256 #562C12
tetradic
#12562C #121A56 #56123C #564E12
square
#12562C #121A56 #56123C #564E12
split-complementary
#12562C #4E1256 #56121A
monochromatic
#05190D #072312 #12562C #1D8946 #27BB60

Accessibility & contrast

On white

8.77
#12562C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#12562C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12562C
8.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12562C#FFFFFF#000000##FFFFFF
##12562C1.008.772.398.77
#FFFFFF8.771.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#564E29
Deuteranopia (green-blind)
#4E482F
Tritanopia (blue-blind)
#00554C
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #12562c;
/* rgb */ color: rgb(18, 86, 44);
/* oklch */ color: oklch(40.1% 0.096 151.5);
Tailwind
colors: {
  custom: {
    50: '#5c8666',
    500: '#12562c',
    950: '#000000',
  },
}
SCSS
$custom: #12562c;
$custom-light: #5c8666;
$custom-dark: #000000;
JSON
{
  "hex": "#12562c",
  "rgb": {
    "r": 18,
    "g": 86,
    "b": 44
  },
  "hsl": {
    "h": 142.941,
    "s": 65.385,
    "l": 20.392
  },
  "oklch": {
    "l": 0.40084,
    "c": 0.09598,
    "h": 151.5
  },
  "luminance": 0.06966
}

Semantic roles & 50–950 ramp

primary
#12562C
secondary
#8F356C
accent
#3FA8E8
background
#F5F8F6
surface
#E9EFEB
border
#C5CAC6
text
#040B06
muted
#797C7A

Preview Lab

Preview with #12562C

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

Preview Lab → · Contrast checker → · Palette generator →

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