#12581A#12581A

#12581A is a dark, moderate green. Relative luminance 0.072; OKLCH L 40.4% C 0.116 H 144.6°. Best body text is #FFFFFF at 8.62:1 contrast (WCAG AA passes).

Color values

HEX#12581A
RGBrgb(18, 88, 26)
HSLhsl(127, 66%, 21%)
HSVhsv(127, 80%, 35%)
CMYKcmyk(79.5%, 0%, 70.5%, 65.5%)
CIE-LABlab(32.22, -35.01, 29.02)
CIE-LCHlch(32.22, 45.47, 140.34°)
OKLaboklab(40.41% -0.0946 0.0673)
OKLCHoklch(40.41% 0.116 144.6)
XYZxyz(3.9254, 7.1822, 2.1565)
Luminance0.0718 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12581A #581250
analogous
#2D5812 #12581A #12583D
triadic
#12581A #1A1258 #581A12
tetradic
#12581A #122D58 #581250 #583D12
square
#12581A #122D58 #581250 #583D12
split-complementary
#12581A #3D1258 #58122D
monochromatic
#051908 #08250B #12581A #1C8B29 #27BE38

Accessibility & contrast

On white

8.62
#12581A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#12581A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12581A
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12581A#FFFFFF#000000##FFFFFF
##12581A1.008.622.448.62
#FFFFFF8.621.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A4F12
Deuteranopia (green-blind)
#524A20
Tritanopia (blue-blind)
#00554B
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #12581a;
/* rgb */ color: rgb(18, 88, 26);
/* oklch */ color: oklch(40.4% 0.116 144.6);
Tailwind
colors: {
  custom: {
    50: '#5d885a',
    500: '#12581a',
    950: '#000000',
  },
}
SCSS
$custom: #12581a;
$custom-light: #5d885a;
$custom-dark: #000000;
JSON
{
  "hex": "#12581a",
  "rgb": {
    "r": 18,
    "g": 88,
    "b": 26
  },
  "hsl": {
    "h": 126.857,
    "s": 66.038,
    "l": 20.784
  },
  "oklch": {
    "l": 0.40411,
    "c": 0.11612,
    "h": 144.6
  },
  "luminance": 0.07183
}

Semantic roles & 50–950 ramp

primary
#12581A
secondary
#913586
accent
#3FD6E9
background
#F5F8F5
surface
#E9F0E9
border
#C5CBC5
text
#050B04
muted
#797C79

Preview Lab

Preview with #12581A

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

Preview Lab → · Contrast checker → · Palette generator →

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