#12582D#12582D

#12582D is a dark, moderate green. Relative luminance 0.073; OKLCH L 40.7% C 0.098 H 151.6°. Best body text is #FFFFFF at 8.54:1 contrast (WCAG AA passes).

Color values

HEX#12582D
RGBrgb(18, 88, 45)
HSLhsl(143, 66%, 21%)
HSVhsv(143, 80%, 35%)
CMYKcmyk(79.5%, 0%, 48.9%, 65.5%)
CIE-LABlab(32.47, -31.99, 18.98)
CIE-LCHlch(32.47, 37.20, 149.32°)
OKLaboklab(40.71% -0.0861 0.0466)
OKLCHoklch(40.71% 0.098 151.6)
XYZxyz(4.2125, 7.2970, 3.6686)
Luminance0.0730 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12582D #58123D
analogous
#1A5812 #12582D #125850
triadic
#12582D #2D1258 #582D12
tetradic
#12582D #121A58 #58123D #585012
square
#12582D #121A58 #58123D #585012
split-complementary
#12582D #501258 #58121A
monochromatic
#05190D #082513 #12582D #1C8B47 #27BE61

Accessibility & contrast

On white

8.54
#12582D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#12582D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12582D
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12582D#FFFFFF#000000##FFFFFF
##12582D1.008.542.468.54
#FFFFFF8.541.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#58502A
Deuteranopia (green-blind)
#504A30
Tritanopia (blue-blind)
#00574E
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #12582d;
/* rgb */ color: rgb(18, 88, 45);
/* oklch */ color: oklch(40.7% 0.098 151.6);
Tailwind
colors: {
  custom: {
    50: '#5c8866',
    500: '#12582d',
    950: '#000000',
  },
}
SCSS
$custom: #12582d;
$custom-light: #5c8866;
$custom-dark: #000000;
JSON
{
  "hex": "#12582d",
  "rgb": {
    "r": 18,
    "g": 88,
    "b": 45
  },
  "hsl": {
    "h": 143.143,
    "s": 66.038,
    "l": 20.784
  },
  "oklch": {
    "l": 0.40705,
    "c": 0.0979,
    "h": 151.6
  },
  "luminance": 0.07298
}

Semantic roles & 50–950 ramp

primary
#12582D
secondary
#91356D
accent
#3FA7E9
background
#F5F8F6
surface
#E9F0EB
border
#C5CBC6
text
#050B06
muted
#797C7A

Preview Lab

Preview with #12582D

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

Preview Lab → · Contrast checker → · Palette generator →

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