#12562F#12562F

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

Color values

HEX#12562F
RGBrgb(18, 86, 47)
HSLhsl(146, 65%, 20%)
HSVhsv(146, 79%, 34%)
CMYKcmyk(79.1%, 0%, 45.3%, 66.3%)
CIE-LABlab(31.78, -30.74, 16.90)
CIE-LCHlch(31.78, 35.08, 151.21°)
OKLaboklab(40.14% -0.0828 0.0419)
OKLCHoklch(40.14% 0.093 153.2)
XYZxyz(4.0900, 6.9889, 3.8222)
Luminance0.0699 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12562F #561239
analogous
#175612 #12562F #125651
triadic
#12562F #2F1256 #562F12
tetradic
#12562F #121756 #561239 #565112
square
#12562F #121756 #561239 #565112
split-complementary
#12562F #511256 #561217
monochromatic
#05190E #072313 #12562F #1D894B #27BB66

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##12562F#FFFFFF#000000##FFFFFF
##12562F1.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)
#564E2C
Deuteranopia (green-blind)
#4E4832
Tritanopia (blue-blind)
#00554C
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #12562f;
/* rgb */ color: rgb(18, 86, 47);
/* oklch */ color: oklch(40.1% 0.093 153.2);
Tailwind
colors: {
  custom: {
    50: '#5c8668',
    500: '#12562f',
    950: '#000000',
  },
}
SCSS
$custom: #12562f;
$custom-light: #5c8668;
$custom-dark: #000000;
JSON
{
  "hex": "#12562f",
  "rgb": {
    "r": 18,
    "g": 86,
    "b": 47
  },
  "hsl": {
    "h": 145.588,
    "s": 65.385,
    "l": 20.392
  },
  "oklch": {
    "l": 0.40145,
    "c": 0.09281,
    "h": 153.2
  },
  "luminance": 0.06989
}

Semantic roles & 50–950 ramp

primary
#12562F
secondary
#8F3568
accent
#3FA0E8
background
#F5F8F6
surface
#E9EFEB
border
#C5CAC6
text
#040B06
muted
#797C7A

Preview Lab

Preview with #12562F

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

Preview Lab → · Contrast checker → · Palette generator →

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