#12561F#12561F

#12561F is a dark, moderate green. Relative luminance 0.069; OKLCH L 39.9% C 0.109 H 146.1°. Best body text is #FFFFFF at 8.84:1 contrast (WCAG AA passes).

Color values

HEX#12561F
RGBrgb(18, 86, 31)
HSLhsl(131, 65%, 20%)
HSVhsv(131, 79%, 34%)
CMYKcmyk(79.1%, 0%, 64%, 66.3%)
CIE-LABlab(31.54, -33.57, 25.71)
CIE-LCHlch(31.54, 42.29, 142.56°)
OKLaboklab(39.87% -0.0905 0.0608)
OKLCHoklch(39.87% 0.109 146.1)
XYZxyz(3.8243, 6.8827, 2.4230)
Luminance0.0688 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12561F #561249
analogous
#275612 #12561F #125641
triadic
#12561F #1F1256 #561F12
tetradic
#12561F #122756 #561249 #564112
square
#12561F #122756 #561249 #564112
split-complementary
#12561F #411256 #561227
monochromatic
#051909 #07230D #12561F #1D8931 #27BB43

Accessibility & contrast

On white

8.84
#12561F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#12561F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12561F
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12561F#FFFFFF#000000##FFFFFF
##12561F1.008.842.388.84
#FFFFFF8.841.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#574E19
Deuteranopia (green-blind)
#4F4823
Tritanopia (blue-blind)
#00544A
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #12561f;
/* rgb */ color: rgb(18, 86, 31);
/* oklch */ color: oklch(39.9% 0.109 146.1);
Tailwind
colors: {
  custom: {
    50: '#5c865d',
    500: '#12561f',
    950: '#000000',
  },
}
SCSS
$custom: #12561f;
$custom-light: #5c865d;
$custom-dark: #000000;
JSON
{
  "hex": "#12561f",
  "rgb": {
    "r": 18,
    "g": 86,
    "b": 31
  },
  "hsl": {
    "h": 131.471,
    "s": 65.385,
    "l": 20.392
  },
  "oklch": {
    "l": 0.39865,
    "c": 0.10901,
    "h": 146.1
  },
  "luminance": 0.06883
}

Semantic roles & 50–950 ramp

primary
#12561F
secondary
#8F357E
accent
#3FC8E8
background
#F5F8F5
surface
#E9EFE9
border
#C5CAC5
text
#050B04
muted
#797C79

Preview Lab

Preview with #12561F

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

Preview Lab → · Contrast checker → · Palette generator →

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