#12582F#12582F

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

Color values

HEX#12582F
RGBrgb(18, 88, 47)
HSLhsl(145, 66%, 21%)
HSVhsv(145, 80%, 35%)
CMYKcmyk(79.5%, 0%, 46.6%, 65.5%)
CIE-LABlab(32.51, -31.59, 17.84)
CIE-LCHlch(32.51, 36.28, 150.54°)
OKLaboklab(40.75% -0.0851 0.0441)
OKLCHoklch(40.75% 0.096 152.6)
XYZxyz(4.2519, 7.3128, 3.8762)
Luminance0.0731 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12582F #58123B
analogous
#185812 #12582F #125852
triadic
#12582F #2F1258 #582F12
tetradic
#12582F #121858 #58123B #585212
square
#12582F #121858 #58123B #585212
split-complementary
#12582F #521258 #581218
monochromatic
#05190E #082514 #12582F #1C8B4A #27BE65

Accessibility & contrast

On white

8.53
#12582F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #12582F
8.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12582F#FFFFFF#000000##FFFFFF
##12582F1.008.532.468.53
#FFFFFF8.531.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.531.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #12582f;
/* rgb */ color: rgb(18, 88, 47);
/* oklch */ color: oklch(40.7% 0.096 152.6);
Tailwind
colors: {
  custom: {
    50: '#5c8868',
    500: '#12582f',
    950: '#000000',
  },
}
SCSS
$custom: #12582f;
$custom-light: #5c8868;
$custom-dark: #000000;
JSON
{
  "hex": "#12582f",
  "rgb": {
    "r": 18,
    "g": 88,
    "b": 47
  },
  "hsl": {
    "h": 144.857,
    "s": 66.038,
    "l": 20.784
  },
  "oklch": {
    "l": 0.40746,
    "c": 0.0958,
    "h": 152.6
  },
  "luminance": 0.07313
}

Semantic roles & 50–950 ramp

primary
#12582F
secondary
#91356B
accent
#3FA2E9
background
#F5F8F6
surface
#E9F0EB
border
#C5CBC6
text
#050B06
muted
#797C7A

Preview Lab

Preview with #12582F

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

Preview Lab → · Contrast checker → · Palette generator →

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