#12562A#12562A

#12562A is a dark, moderate green. Relative luminance 0.070; OKLCH L 40.0% C 0.098 H 150.5°. Best body text is #FFFFFF at 8.79:1 contrast (WCAG AA passes).

Color values

HEX#12562A
RGBrgb(18, 86, 42)
HSLhsl(141, 65%, 20%)
HSVhsv(141, 79%, 34%)
CMYKcmyk(79.1%, 0%, 51.2%, 66.3%)
CIE-LABlab(31.69, -31.74, 19.74)
CIE-LCHlch(31.69, 37.38, 148.12°)
OKLaboklab(40.04% -0.0854 0.0483)
OKLCHoklch(40.04% 0.098 150.5)
XYZxyz(3.9948, 6.9509, 3.3212)
Luminance0.0695 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12562A #56123E
analogous
#1C5612 #12562A #12564C
triadic
#12562A #2A1256 #562A12
tetradic
#12562A #121C56 #56123E #564C12
square
#12562A #121C56 #56123E #564C12
split-complementary
#12562A #4C1256 #56121C
monochromatic
#05190C #072311 #12562A #1D8943 #27BB5B

Accessibility & contrast

On white

8.79
#12562A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #12562A
8.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12562A#FFFFFF#000000##FFFFFF
##12562A1.008.792.398.79
#FFFFFF8.791.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#564E27
Deuteranopia (green-blind)
#4E482D
Tritanopia (blue-blind)
#00544C
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #12562a;
/* rgb */ color: rgb(18, 86, 42);
/* oklch */ color: oklch(40.0% 0.098 150.5);
Tailwind
colors: {
  custom: {
    50: '#5c8664',
    500: '#12562a',
    950: '#000000',
  },
}
SCSS
$custom: #12562a;
$custom-light: #5c8664;
$custom-dark: #000000;
JSON
{
  "hex": "#12562a",
  "rgb": {
    "r": 18,
    "g": 86,
    "b": 42
  },
  "hsl": {
    "h": 141.176,
    "s": 65.385,
    "l": 20.392
  },
  "oklch": {
    "l": 0.40045,
    "c": 0.09808,
    "h": 150.5
  },
  "luminance": 0.06951
}

Semantic roles & 50–950 ramp

primary
#12562A
secondary
#8F356F
accent
#3FADE8
background
#F5F8F6
surface
#E9EFEB
border
#C5CAC6
text
#040B05
muted
#797C7A

Preview Lab

Preview with #12562A

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

Preview Lab → · Contrast checker → · Palette generator →

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