#12592F#12592F

#12592F is a dark, moderate green. Relative luminance 0.075; OKLCH L 41.0% C 0.097 H 152.3°. Best body text is #FFFFFF at 8.41:1 contrast (WCAG AA passes).

Color values

HEX#12592F
RGBrgb(18, 89, 47)
HSLhsl(145, 66%, 21%)
HSVhsv(145, 80%, 35%)
CMYKcmyk(79.8%, 0%, 47.2%, 65.1%)
CIE-LABlab(32.87, -32.02, 18.31)
CIE-LCHlch(32.87, 36.88, 150.23°)
OKLaboklab(41.05% -0.0862 0.0452)
OKLCHoklch(41.05% 0.097 152.3)
XYZxyz(4.3345, 7.4781, 3.9037)
Luminance0.0748 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12592F #59123C
analogous
#185912 #12592F #125952
triadic
#12592F #2F1259 #592F12
tetradic
#12592F #121859 #59123C #595212
square
#12592F #121859 #59123C #595212
split-complementary
#12592F #521259 #591218
monochromatic
#05190D #082614 #12592F #1C8C4A #27BF65

Accessibility & contrast

On white

8.41
#12592F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#12592F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12592F
8.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12592F#FFFFFF#000000##FFFFFF
##12592F1.008.412.508.41
#FFFFFF8.411.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#59512C
Deuteranopia (green-blind)
#514B32
Tritanopia (blue-blind)
#00584F
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #12592f;
/* rgb */ color: rgb(18, 89, 47);
/* oklch */ color: oklch(41.0% 0.097 152.3);
Tailwind
colors: {
  custom: {
    50: '#5c8968',
    500: '#12592f',
    950: '#000000',
  },
}
SCSS
$custom: #12592f;
$custom-light: #5c8968;
$custom-dark: #000000;
JSON
{
  "hex": "#12592f",
  "rgb": {
    "r": 18,
    "g": 89,
    "b": 47
  },
  "hsl": {
    "h": 144.507,
    "s": 66.355,
    "l": 20.98
  },
  "oklch": {
    "l": 0.41045,
    "c": 0.09729,
    "h": 152.3
  },
  "luminance": 0.07479
}

Semantic roles & 50–950 ramp

primary
#12592F
secondary
#92356C
accent
#3FA4E9
background
#F5F8F6
surface
#E9F0EB
border
#C5CBC6
text
#050B06
muted
#797C7A

Preview Lab

Preview with #12592F

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

Preview Lab → · Contrast checker → · Palette generator →

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