#12591E#12591E

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

Color values

HEX#12591E
RGBrgb(18, 89, 30)
HSLhsl(130, 66%, 21%)
HSVhsv(130, 80%, 35%)
CMYKcmyk(79.8%, 0%, 66.3%, 65.1%)
CIE-LABlab(32.63, -34.88, 27.48)
CIE-LCHlch(32.63, 44.40, 141.76°)
OKLaboklab(40.76% -0.0941 0.0645)
OKLCHoklch(40.76% 0.114 145.6)
XYZxyz(4.0559, 7.3666, 2.4362)
Luminance0.0737 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12591E #59124D
analogous
#295912 #12591E #125941
triadic
#12591E #1E1259 #591E12
tetradic
#12591E #122959 #59124D #594112
square
#12591E #122959 #59124D #594112
split-complementary
#12591E #411259 #591229
monochromatic
#051909 #08260D #12591E #1C8C2F #27BF40

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##12591E#FFFFFF#000000##FFFFFF
##12591E1.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)
#5A5017
Deuteranopia (green-blind)
#524B23
Tritanopia (blue-blind)
#00574C
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #12591e;
/* rgb */ color: rgb(18, 89, 30);
/* oklch */ color: oklch(40.8% 0.114 145.6);
Tailwind
colors: {
  custom: {
    50: '#5d895c',
    500: '#12591e',
    950: '#000000',
  },
}
SCSS
$custom: #12591e;
$custom-light: #5d895c;
$custom-dark: #000000;
JSON
{
  "hex": "#12591e",
  "rgb": {
    "r": 18,
    "g": 89,
    "b": 30
  },
  "hsl": {
    "h": 130.141,
    "s": 66.355,
    "l": 20.98
  },
  "oklch": {
    "l": 0.40764,
    "c": 0.11405,
    "h": 145.6
  },
  "luminance": 0.07367
}

Semantic roles & 50–950 ramp

primary
#12591E
secondary
#923582
accent
#3FCCE9
background
#F5F8F5
surface
#E9F0E9
border
#C5CBC5
text
#050B04
muted
#797C79

Preview Lab

Preview with #12591E

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

Preview Lab → · Contrast checker → · Palette generator →

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