#12581D#12581D

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

Color values

HEX#12581D
RGBrgb(18, 88, 29)
HSLhsl(129, 66%, 21%)
HSVhsv(129, 80%, 35%)
CMYKcmyk(79.5%, 0%, 67%, 65.5%)
CIE-LABlab(32.25, -34.63, 27.56)
CIE-LCHlch(32.25, 44.26, 141.48°)
OKLaboklab(40.45% -0.0934 0.0645)
OKLCHoklch(40.45% 0.114 145.4)
XYZxyz(3.9607, 7.1963, 2.3424)
Luminance0.0720 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12581D #58124D
analogous
#2A5812 #12581D #125840
triadic
#12581D #1D1258 #581D12
tetradic
#12581D #122A58 #58124D #584012
square
#12581D #122A58 #58124D #584012
split-complementary
#12581D #401258 #58122A
monochromatic
#051908 #08250C #12581D #1C8B2E #27BE3E

Accessibility & contrast

On white

8.61
#12581D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #12581D
8.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12581D#FFFFFF#000000##FFFFFF
##12581D1.008.612.448.61
#FFFFFF8.611.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A4F16
Deuteranopia (green-blind)
#524A22
Tritanopia (blue-blind)
#00564B
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #12581d;
/* rgb */ color: rgb(18, 88, 29);
/* oklch */ color: oklch(40.4% 0.114 145.4);
Tailwind
colors: {
  custom: {
    50: '#5d885b',
    500: '#12581d',
    950: '#000000',
  },
}
SCSS
$custom: #12581d;
$custom-light: #5d885b;
$custom-dark: #000000;
JSON
{
  "hex": "#12581d",
  "rgb": {
    "r": 18,
    "g": 88,
    "b": 29
  },
  "hsl": {
    "h": 129.429,
    "s": 66.038,
    "l": 20.784
  },
  "oklch": {
    "l": 0.40447,
    "c": 0.11357,
    "h": 145.4
  },
  "luminance": 0.07197
}

Semantic roles & 50–950 ramp

primary
#12581D
secondary
#913582
accent
#3FCEE9
background
#F5F8F5
surface
#E9F0E9
border
#C5CBC5
text
#050B04
muted
#797C79

Preview Lab

Preview with #12581D

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

Preview Lab → · Contrast checker → · Palette generator →

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