#12582C#12582C

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

Color values

HEX#12582C
RGBrgb(18, 88, 44)
HSLhsl(142, 66%, 21%)
HSVhsv(142, 80%, 35%)
CMYKcmyk(79.5%, 0%, 50%, 65.5%)
CIE-LABlab(32.46, -32.19, 19.54)
CIE-LCHlch(32.46, 37.66, 148.74°)
OKLaboklab(40.69% -0.0866 0.0479)
OKLCHoklch(40.69% 0.099 151)
XYZxyz(4.1934, 7.2894, 3.5684)
Luminance0.0729 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12582C #58123E
analogous
#1B5812 #12582C #12584F
triadic
#12582C #2C1258 #582C12
tetradic
#12582C #121B58 #58123E #584F12
square
#12582C #121B58 #58123E #584F12
split-complementary
#12582C #4F1258 #58121B
monochromatic
#05190D #082513 #12582C #1C8B45 #27BE5F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##12582C#FFFFFF#000000##FFFFFF
##12582C1.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)
#585029
Deuteranopia (green-blind)
#504A2F
Tritanopia (blue-blind)
#00564D
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #12582c;
/* rgb */ color: rgb(18, 88, 44);
/* oklch */ color: oklch(40.7% 0.099 151.0);
Tailwind
colors: {
  custom: {
    50: '#5c8866',
    500: '#12582c',
    950: '#000000',
  },
}
SCSS
$custom: #12582c;
$custom-light: #5c8866;
$custom-dark: #000000;
JSON
{
  "hex": "#12582c",
  "rgb": {
    "r": 18,
    "g": 88,
    "b": 44
  },
  "hsl": {
    "h": 142.286,
    "s": 66.038,
    "l": 20.784
  },
  "oklch": {
    "l": 0.40686,
    "c": 0.09895,
    "h": 151
  },
  "luminance": 0.0729
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #12582C

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

Preview Lab → · Contrast checker → · Palette generator →

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