#12592A#12592A

#12592A is a dark, moderate green. Relative luminance 0.074; OKLCH L 40.9% C 0.102 H 149.9°. Best body text is #FFFFFF at 8.44:1 contrast (WCAG AA passes).

Color values

HEX#12592A
RGBrgb(18, 89, 42)
HSLhsl(140, 66%, 21%)
HSVhsv(140, 80%, 35%)
CMYKcmyk(79.8%, 0%, 52.8%, 65.1%)
CIE-LABlab(32.79, -32.97, 21.12)
CIE-LCHlch(32.79, 39.16, 147.36°)
OKLaboklab(40.95% -0.0887 0.0514)
OKLCHoklch(40.95% 0.102 149.9)
XYZxyz(4.2394, 7.4400, 3.4027)
Luminance0.0744 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12592A #591241
analogous
#1D5912 #12592A #12594D
triadic
#12592A #2A1259 #592A12
tetradic
#12592A #121D59 #591241 #594D12
square
#12592A #121D59 #591241 #594D12
split-complementary
#12592A #4D1259 #59121D
monochromatic
#05190C #082612 #12592A #1C8C42 #27BF5A

Accessibility & contrast

On white

8.44
#12592A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#12592A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12592A
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12592A#FFFFFF#000000##FFFFFF
##12592A1.008.442.498.44
#FFFFFF8.441.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A5126
Deuteranopia (green-blind)
#514B2D
Tritanopia (blue-blind)
#00574E
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #12592a;
/* rgb */ color: rgb(18, 89, 42);
/* oklch */ color: oklch(40.9% 0.102 149.9);
Tailwind
colors: {
  custom: {
    50: '#5c8964',
    500: '#12592a',
    950: '#000000',
  },
}
SCSS
$custom: #12592a;
$custom-light: #5c8964;
$custom-dark: #000000;
JSON
{
  "hex": "#12592a",
  "rgb": {
    "r": 18,
    "g": 89,
    "b": 42
  },
  "hsl": {
    "h": 140.282,
    "s": 66.355,
    "l": 20.98
  },
  "oklch": {
    "l": 0.40949,
    "c": 0.10249,
    "h": 149.9
  },
  "luminance": 0.07441
}

Semantic roles & 50–950 ramp

primary
#12592A
secondary
#923572
accent
#3FB0E9
background
#F5F8F6
surface
#E9F0EB
border
#C5CBC6
text
#050B05
muted
#797C7A

Preview Lab

Preview with #12592A

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

Preview Lab → · Contrast checker → · Palette generator →

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