#12562B#12562B

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

Color values

HEX#12562B
RGBrgb(18, 86, 43)
HSLhsl(142, 65%, 20%)
HSVhsv(142, 79%, 34%)
CMYKcmyk(79.1%, 0%, 50%, 66.3%)
CIE-LABlab(31.71, -31.55, 19.18)
CIE-LCHlch(31.71, 36.92, 148.70°)
OKLaboklab(40.06% -0.0849 0.047)
OKLCHoklch(40.06% 0.097 151)
XYZxyz(4.0129, 6.9581, 3.4166)
Luminance0.0696 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12562B #56123D
analogous
#1B5612 #12562B #12564D
triadic
#12562B #2B1256 #562B12
tetradic
#12562B #121B56 #56123D #564D12
square
#12562B #121B56 #56123D #564D12
split-complementary
#12562B #4D1256 #56121B
monochromatic
#05190D #072312 #12562B #1D8944 #27BB5E

Accessibility & contrast

On white

8.78
#12562B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #12562B
8.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12562B#FFFFFF#000000##FFFFFF
##12562B1.008.782.398.78
#FFFFFF8.781.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.781.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #12562b;
/* rgb */ color: rgb(18, 86, 43);
/* oklch */ color: oklch(40.1% 0.097 151.0);
Tailwind
colors: {
  custom: {
    50: '#5c8665',
    500: '#12562b',
    950: '#000000',
  },
}
SCSS
$custom: #12562b;
$custom-light: #5c8665;
$custom-dark: #000000;
JSON
{
  "hex": "#12562b",
  "rgb": {
    "r": 18,
    "g": 86,
    "b": 43
  },
  "hsl": {
    "h": 142.059,
    "s": 65.385,
    "l": 20.392
  },
  "oklch": {
    "l": 0.40064,
    "c": 0.09703,
    "h": 151
  },
  "luminance": 0.06959
}

Semantic roles & 50–950 ramp

primary
#12562B
secondary
#8F356E
accent
#3FAAE8
background
#F5F8F6
surface
#E9EFEB
border
#C5CAC6
text
#040B05
muted
#797C7A

Preview Lab

Preview with #12562B

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

Preview Lab → · Contrast checker → · Palette generator →

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