#12562E#12562E

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

Color values

HEX#12562E
RGBrgb(18, 86, 46)
HSLhsl(145, 65%, 20%)
HSVhsv(145, 79%, 34%)
CMYKcmyk(79.1%, 0%, 46.5%, 66.3%)
CIE-LABlab(31.76, -30.95, 17.47)
CIE-LCHlch(31.76, 35.54, 150.56°)
OKLaboklab(40.12% -0.0833 0.0432)
OKLCHoklch(40.12% 0.094 152.6)
XYZxyz(4.0700, 6.9810, 3.7172)
Luminance0.0698 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12562E #56123A
analogous
#185612 #12562E #125650
triadic
#12562E #2E1256 #562E12
tetradic
#12562E #121856 #56123A #565012
square
#12562E #121856 #56123A #565012
split-complementary
#12562E #501256 #561218
monochromatic
#05190E #072313 #12562E #1D8949 #27BB64

Accessibility & contrast

On white

8.76
#12562E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#12562E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12562E
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12562E#FFFFFF#000000##FFFFFF
##12562E1.008.762.408.76
#FFFFFF8.761.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.761.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #12562e;
/* rgb */ color: rgb(18, 86, 46);
/* oklch */ color: oklch(40.1% 0.094 152.6);
Tailwind
colors: {
  custom: {
    50: '#5c8667',
    500: '#12562e',
    950: '#000000',
  },
}
SCSS
$custom: #12562e;
$custom-light: #5c8667;
$custom-dark: #000000;
JSON
{
  "hex": "#12562e",
  "rgb": {
    "r": 18,
    "g": 86,
    "b": 46
  },
  "hsl": {
    "h": 144.706,
    "s": 65.385,
    "l": 20.392
  },
  "oklch": {
    "l": 0.40124,
    "c": 0.09386,
    "h": 152.6
  },
  "luminance": 0.06981
}

Semantic roles & 50–950 ramp

primary
#12562E
secondary
#8F356A
accent
#3FA3E8
background
#F5F8F6
surface
#E9EFEB
border
#C5CAC6
text
#040B06
muted
#797C7A

Preview Lab

Preview with #12562E

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

Preview Lab → · Contrast checker → · Palette generator →

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