#12591F#12591F

#12591F is a dark, moderate green. Relative luminance 0.074; OKLCH L 40.8% C 0.113 H 145.9°. Best body text is #FFFFFF at 8.49:1 contrast (WCAG AA passes).

Color values

HEX#12591F
RGBrgb(18, 89, 31)
HSLhsl(131, 66%, 21%)
HSVhsv(131, 80%, 35%)
CMYKcmyk(79.8%, 0%, 65.2%, 65.1%)
CIE-LABlab(32.64, -34.74, 26.98)
CIE-LCHlch(32.64, 43.99, 142.16°)
OKLaboklab(40.78% -0.0937 0.0635)
OKLCHoklch(40.78% 0.113 145.9)
XYZxyz(4.0689, 7.3718, 2.5045)
Luminance0.0737 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12591F #59124C
analogous
#285912 #12591F #125942
triadic
#12591F #1F1259 #591F12
tetradic
#12591F #122859 #59124C #594212
square
#12591F #122859 #59124C #594212
split-complementary
#12591F #421259 #591228
monochromatic
#051909 #08260D #12591F #1C8C31 #27BF42

Accessibility & contrast

On white

8.49
#12591F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #12591F
8.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12591F#FFFFFF#000000##FFFFFF
##12591F1.008.492.478.49
#FFFFFF8.491.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A5019
Deuteranopia (green-blind)
#524B24
Tritanopia (blue-blind)
#00574D
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #12591f;
/* rgb */ color: rgb(18, 89, 31);
/* oklch */ color: oklch(40.8% 0.113 145.9);
Tailwind
colors: {
  custom: {
    50: '#5d895d',
    500: '#12591f',
    950: '#000000',
  },
}
SCSS
$custom: #12591f;
$custom-light: #5d895d;
$custom-dark: #000000;
JSON
{
  "hex": "#12591f",
  "rgb": {
    "r": 18,
    "g": 89,
    "b": 31
  },
  "hsl": {
    "h": 130.986,
    "s": 66.355,
    "l": 20.98
  },
  "oklch": {
    "l": 0.40777,
    "c": 0.11317,
    "h": 145.9
  },
  "luminance": 0.07372
}

Semantic roles & 50–950 ramp

primary
#12591F
secondary
#923581
accent
#3FCAE9
background
#F5F8F5
surface
#E9F0E9
border
#C5CBC5
text
#050B04
muted
#797C79

Preview Lab

Preview with #12591F

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

Preview Lab → · Contrast checker → · Palette generator →

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