#12562D#12562D

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

Color values

HEX#12562D
RGBrgb(18, 86, 45)
HSLhsl(144, 65%, 20%)
HSVhsv(144, 79%, 34%)
CMYKcmyk(79.1%, 0%, 47.7%, 66.3%)
CIE-LABlab(31.75, -31.15, 18.04)
CIE-LCHlch(31.75, 36.00, 149.92°)
OKLaboklab(40.1% -0.0839 0.0445)
OKLCHoklch(40.1% 0.095 152.1)
XYZxyz(4.0505, 6.9732, 3.6146)
Luminance0.0697 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12562D #56123B
analogous
#195612 #12562D #12564F
triadic
#12562D #2D1256 #562D12
tetradic
#12562D #121956 #56123B #564F12
square
#12562D #121956 #56123B #564F12
split-complementary
#12562D #4F1256 #561219
monochromatic
#05190D #072313 #12562D #1D8947 #27BB62

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##12562D#FFFFFF#000000##FFFFFF
##12562D1.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)
#564E2A
Deuteranopia (green-blind)
#4E4830
Tritanopia (blue-blind)
#00554C
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #12562d;
/* rgb */ color: rgb(18, 86, 45);
/* oklch */ color: oklch(40.1% 0.095 152.1);
Tailwind
colors: {
  custom: {
    50: '#5c8666',
    500: '#12562d',
    950: '#000000',
  },
}
SCSS
$custom: #12562d;
$custom-light: #5c8666;
$custom-dark: #000000;
JSON
{
  "hex": "#12562d",
  "rgb": {
    "r": 18,
    "g": 86,
    "b": 45
  },
  "hsl": {
    "h": 143.824,
    "s": 65.385,
    "l": 20.392
  },
  "oklch": {
    "l": 0.40104,
    "c": 0.09493,
    "h": 152.1
  },
  "luminance": 0.06974
}

Semantic roles & 50–950 ramp

primary
#12562D
secondary
#8F356B
accent
#3FA5E8
background
#F5F8F6
surface
#E9EFEB
border
#C5CAC6
text
#040B06
muted
#797C7A

Preview Lab

Preview with #12562D

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

Preview Lab → · Contrast checker → · Palette generator →

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