#12581C#12581C

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

Color values

HEX#12581C
RGBrgb(18, 88, 28)
HSLhsl(129, 66%, 21%)
HSVhsv(129, 80%, 35%)
CMYKcmyk(79.5%, 0%, 68.2%, 65.5%)
CIE-LABlab(32.24, -34.76, 28.06)
CIE-LCHlch(32.24, 44.67, 141.09°)
OKLaboklab(40.44% -0.0938 0.0655)
OKLCHoklch(40.44% 0.114 145.1)
XYZxyz(3.9485, 7.1914, 2.2784)
Luminance0.0719 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12581C #58124E
analogous
#2B5812 #12581C #12583F
triadic
#12581C #1C1258 #581C12
tetradic
#12581C #122B58 #58124E #583F12
square
#12581C #122B58 #58124E #583F12
split-complementary
#12581C #3F1258 #58122B
monochromatic
#051908 #08250C #12581C #1C8B2C #27BE3C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##12581C#FFFFFF#000000##FFFFFF
##12581C1.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)
#5A4F15
Deuteranopia (green-blind)
#524A21
Tritanopia (blue-blind)
#00564B
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #12581c;
/* rgb */ color: rgb(18, 88, 28);
/* oklch */ color: oklch(40.4% 0.114 145.1);
Tailwind
colors: {
  custom: {
    50: '#5d885b',
    500: '#12581c',
    950: '#000000',
  },
}
SCSS
$custom: #12581c;
$custom-light: #5d885b;
$custom-dark: #000000;
JSON
{
  "hex": "#12581c",
  "rgb": {
    "r": 18,
    "g": 88,
    "b": 28
  },
  "hsl": {
    "h": 128.571,
    "s": 66.038,
    "l": 20.784
  },
  "oklch": {
    "l": 0.40435,
    "c": 0.11443,
    "h": 145.1
  },
  "luminance": 0.07192
}

Semantic roles & 50–950 ramp

primary
#12581C
secondary
#913584
accent
#3FD1E9
background
#F5F8F5
surface
#E9F0E9
border
#C5CBC5
text
#050B04
muted
#797C79

Preview Lab

Preview with #12581C

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

Preview Lab → · Contrast checker → · Palette generator →

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