#12582A#12582A

#12582A is a dark, moderate green. Relative luminance 0.073; OKLCH L 40.6% C 0.101 H 150.1°. Best body text is #FFFFFF at 8.55:1 contrast (WCAG AA passes).

Color values

HEX#12582A
RGBrgb(18, 88, 42)
HSLhsl(141, 66%, 21%)
HSVhsv(141, 80%, 35%)
CMYKcmyk(79.5%, 0%, 52.3%, 65.5%)
CIE-LABlab(32.42, -32.56, 20.66)
CIE-LCHlch(32.42, 38.57, 147.60°)
OKLaboklab(40.65% -0.0876 0.0504)
OKLCHoklch(40.65% 0.101 150.1)
XYZxyz(4.1568, 7.2747, 3.3751)
Luminance0.0727 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12582A #581240
analogous
#1D5812 #12582A #12584D
triadic
#12582A #2A1258 #582A12
tetradic
#12582A #121D58 #581240 #584D12
square
#12582A #121D58 #581240 #584D12
split-complementary
#12582A #4D1258 #58121D
monochromatic
#05190C #082512 #12582A #1C8B42 #27BE5A

Accessibility & contrast

On white

8.55
#12582A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#12582A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12582A
8.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12582A#FFFFFF#000000##FFFFFF
##12582A1.008.552.458.55
#FFFFFF8.551.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#595026
Deuteranopia (green-blind)
#504A2D
Tritanopia (blue-blind)
#00564D
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #12582a;
/* rgb */ color: rgb(18, 88, 42);
/* oklch */ color: oklch(40.6% 0.101 150.1);
Tailwind
colors: {
  custom: {
    50: '#5c8864',
    500: '#12582a',
    950: '#000000',
  },
}
SCSS
$custom: #12582a;
$custom-light: #5c8864;
$custom-dark: #000000;
JSON
{
  "hex": "#12582a",
  "rgb": {
    "r": 18,
    "g": 88,
    "b": 42
  },
  "hsl": {
    "h": 140.571,
    "s": 66.038,
    "l": 20.784
  },
  "oklch": {
    "l": 0.40648,
    "c": 0.10103,
    "h": 150.1
  },
  "luminance": 0.07275
}

Semantic roles & 50–950 ramp

primary
#12582A
secondary
#913571
accent
#3FAFE9
background
#F5F8F6
surface
#E9F0EB
border
#C5CBC6
text
#050B05
muted
#797C7A

Preview Lab

Preview with #12582A

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

Preview Lab → · Contrast checker → · Palette generator →

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