#12581E#12581E

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

Color values

HEX#12581E
RGBrgb(18, 88, 30)
HSLhsl(130, 66%, 21%)
HSVhsv(130, 80%, 35%)
CMYKcmyk(79.5%, 0%, 65.9%, 65.5%)
CIE-LABlab(32.26, -34.49, 27.07)
CIE-LCHlch(32.26, 43.84, 141.88°)
OKLaboklab(40.46% -0.093 0.0636)
OKLCHoklch(40.46% 0.113 145.7)
XYZxyz(3.9732, 7.2013, 2.4086)
Luminance0.0720 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12581E #58124C
analogous
#295812 #12581E #125841
triadic
#12581E #1E1258 #581E12
tetradic
#12581E #122958 #58124C #584112
square
#12581E #122958 #58124C #584112
split-complementary
#12581E #411258 #581229
monochromatic
#051909 #08250D #12581E #1C8B2F #27BE41

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##12581E#FFFFFF#000000##FFFFFF
##12581E1.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)
#594F18
Deuteranopia (green-blind)
#514A23
Tritanopia (blue-blind)
#00564C
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #12581e;
/* rgb */ color: rgb(18, 88, 30);
/* oklch */ color: oklch(40.5% 0.113 145.7);
Tailwind
colors: {
  custom: {
    50: '#5d885c',
    500: '#12581e',
    950: '#000000',
  },
}
SCSS
$custom: #12581e;
$custom-light: #5d885c;
$custom-dark: #000000;
JSON
{
  "hex": "#12581e",
  "rgb": {
    "r": 18,
    "g": 88,
    "b": 30
  },
  "hsl": {
    "h": 130.286,
    "s": 66.038,
    "l": 20.784
  },
  "oklch": {
    "l": 0.4046,
    "c": 0.11269,
    "h": 145.7
  },
  "luminance": 0.07202
}

Semantic roles & 50–950 ramp

primary
#12581E
secondary
#913581
accent
#3FCCE9
background
#F5F8F5
surface
#E9F0E9
border
#C5CBC5
text
#050B04
muted
#797C79

Preview Lab

Preview with #12581E

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

Preview Lab → · Contrast checker → · Palette generator →

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