#12591C#12591C

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

Color values

HEX#12591C
RGBrgb(18, 89, 28)
HSLhsl(128, 66%, 21%)
HSVhsv(128, 80%, 35%)
CMYKcmyk(79.8%, 0%, 68.5%, 65.1%)
CIE-LABlab(32.61, -35.14, 28.47)
CIE-LCHlch(32.61, 45.22, 140.99°)
OKLaboklab(40.74% -0.0949 0.0664)
OKLCHoklch(40.74% 0.116 145)
XYZxyz(4.0312, 7.3567, 2.3059)
Luminance0.0736 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12591C #59124F
analogous
#2B5912 #12591C #12593F
triadic
#12591C #1C1259 #591C12
tetradic
#12591C #122B59 #59124F #593F12
square
#12591C #122B59 #59124F #593F12
split-complementary
#12591C #3F1259 #59122B
monochromatic
#051908 #08260C #12591C #1C8C2C #27BF3C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##12591C#FFFFFF#000000##FFFFFF
##12591C1.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)
#5B5015
Deuteranopia (green-blind)
#534B21
Tritanopia (blue-blind)
#00574C
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #12591c;
/* rgb */ color: rgb(18, 89, 28);
/* oklch */ color: oklch(40.7% 0.116 145.0);
Tailwind
colors: {
  custom: {
    50: '#5d895b',
    500: '#12591c',
    950: '#000000',
  },
}
SCSS
$custom: #12591c;
$custom-light: #5d895b;
$custom-dark: #000000;
JSON
{
  "hex": "#12591c",
  "rgb": {
    "r": 18,
    "g": 89,
    "b": 28
  },
  "hsl": {
    "h": 128.451,
    "s": 66.355,
    "l": 20.98
  },
  "oklch": {
    "l": 0.40739,
    "c": 0.11578,
    "h": 145
  },
  "luminance": 0.07357
}

Semantic roles & 50–950 ramp

primary
#12591C
secondary
#923585
accent
#3FD1E9
background
#F5F8F5
surface
#E9F0E9
border
#C5CBC5
text
#050B04
muted
#797C79

Preview Lab

Preview with #12591C

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

Preview Lab → · Contrast checker → · Palette generator →

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