#12591B#12591B

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

Color values

HEX#12591B
RGBrgb(18, 89, 27)
HSLhsl(128, 66%, 21%)
HSVhsv(128, 80%, 35%)
CMYKcmyk(79.8%, 0%, 69.7%, 65.1%)
CIE-LABlab(32.60, -35.26, 28.95)
CIE-LCHlch(32.60, 45.63, 140.61°)
OKLaboklab(40.73% -0.0953 0.0673)
OKLCHoklch(40.73% 0.117 144.8)
XYZxyz(4.0194, 7.3520, 2.2439)
Luminance0.0735 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12591B #591250
analogous
#2C5912 #12591B #12593E
triadic
#12591B #1B1259 #591B12
tetradic
#12591B #122C59 #591250 #593E12
square
#12591B #122C59 #591250 #593E12
split-complementary
#12591B #3E1259 #59122C
monochromatic
#051908 #08260C #12591B #1C8C2A #27BF3A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##12591B#FFFFFF#000000##FFFFFF
##12591B1.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)
#5B5013
Deuteranopia (green-blind)
#534A21
Tritanopia (blue-blind)
#00564C
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #12591b;
/* rgb */ color: rgb(18, 89, 27);
/* oklch */ color: oklch(40.7% 0.117 144.8);
Tailwind
colors: {
  custom: {
    50: '#5d895a',
    500: '#12591b',
    950: '#000000',
  },
}
SCSS
$custom: #12591b;
$custom-light: #5d895a;
$custom-dark: #000000;
JSON
{
  "hex": "#12591b",
  "rgb": {
    "r": 18,
    "g": 89,
    "b": 27
  },
  "hsl": {
    "h": 127.606,
    "s": 66.355,
    "l": 20.98
  },
  "oklch": {
    "l": 0.40727,
    "c": 0.11662,
    "h": 144.8
  },
  "luminance": 0.07352
}

Semantic roles & 50–950 ramp

primary
#12591B
secondary
#923586
accent
#3FD4E9
background
#F5F8F5
surface
#EAF0E9
border
#C6CBC5
text
#050B04
muted
#797C79

Preview Lab

Preview with #12591B

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

Preview Lab → · Contrast checker → · Palette generator →

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