#12591A#12591A

#12591A is a dark, moderate green. Relative luminance 0.073; OKLCH L 40.7% C 0.117 H 144.5°. Best body text is #FFFFFF at 8.50:1 contrast (WCAG AA passes).

Color values

HEX#12591A
RGBrgb(18, 89, 26)
HSLhsl(127, 66%, 21%)
HSVhsv(127, 80%, 35%)
CMYKcmyk(79.8%, 0%, 70.8%, 65.1%)
CIE-LABlab(32.59, -35.39, 29.43)
CIE-LCHlch(32.59, 46.02, 140.25°)
OKLaboklab(40.72% -0.0956 0.0682)
OKLCHoklch(40.72% 0.117 144.5)
XYZxyz(4.0080, 7.3475, 2.1841)
Luminance0.0735 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12591A #591251
analogous
#2D5912 #12591A #12593D
triadic
#12591A #1A1259 #591A12
tetradic
#12591A #122D59 #591251 #593D12
square
#12591A #122D59 #591251 #593D12
split-complementary
#12591A #3D1259 #59122D
monochromatic
#051907 #08260B #12591A #1C8C29 #27BF38

Accessibility & contrast

On white

8.50
#12591A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#12591A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12591A
8.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12591A#FFFFFF#000000##FFFFFF
##12591A1.008.502.478.50
#FFFFFF8.501.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B5012
Deuteranopia (green-blind)
#534A20
Tritanopia (blue-blind)
#00564C
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #12591a;
/* rgb */ color: rgb(18, 89, 26);
/* oklch */ color: oklch(40.7% 0.117 144.5);
Tailwind
colors: {
  custom: {
    50: '#5d895a',
    500: '#12591a',
    950: '#000000',
  },
}
SCSS
$custom: #12591a;
$custom-light: #5d895a;
$custom-dark: #000000;
JSON
{
  "hex": "#12591a",
  "rgb": {
    "r": 18,
    "g": 89,
    "b": 26
  },
  "hsl": {
    "h": 126.761,
    "s": 66.355,
    "l": 20.98
  },
  "oklch": {
    "l": 0.40715,
    "c": 0.11744,
    "h": 144.5
  },
  "luminance": 0.07348
}

Semantic roles & 50–950 ramp

primary
#12591A
secondary
#923587
accent
#3FD6E9
background
#F5F8F5
surface
#EAF0E9
border
#C6CBC5
text
#050B04
muted
#797C79

Preview Lab

Preview with #12591A

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

Preview Lab → · Contrast checker → · Palette generator →

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