#12582E#12582E

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

Color values

HEX#12582E
RGBrgb(18, 88, 46)
HSLhsl(144, 66%, 21%)
HSVhsv(144, 80%, 35%)
CMYKcmyk(79.5%, 0%, 47.7%, 65.5%)
CIE-LABlab(32.49, -31.80, 18.41)
CIE-LCHlch(32.49, 36.74, 149.93°)
OKLaboklab(40.73% -0.0856 0.0454)
OKLCHoklch(40.73% 0.097 152.1)
XYZxyz(4.2319, 7.3048, 3.7712)
Luminance0.0731 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12582E #58123C
analogous
#195812 #12582E #125851
triadic
#12582E #2E1258 #582E12
tetradic
#12582E #121958 #58123C #585112
square
#12582E #121958 #58123C #585112
split-complementary
#12582E #511258 #581219
monochromatic
#05190D #082513 #12582E #1C8B49 #27BE63

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##12582E#FFFFFF#000000##FFFFFF
##12582E1.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)
#58502B
Deuteranopia (green-blind)
#504A31
Tritanopia (blue-blind)
#00574E
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #12582e;
/* rgb */ color: rgb(18, 88, 46);
/* oklch */ color: oklch(40.7% 0.097 152.1);
Tailwind
colors: {
  custom: {
    50: '#5c8867',
    500: '#12582e',
    950: '#000000',
  },
}
SCSS
$custom: #12582e;
$custom-light: #5c8867;
$custom-dark: #000000;
JSON
{
  "hex": "#12582e",
  "rgb": {
    "r": 18,
    "g": 88,
    "b": 46
  },
  "hsl": {
    "h": 144,
    "s": 66.038,
    "l": 20.784
  },
  "oklch": {
    "l": 0.40725,
    "c": 0.09685,
    "h": 152.1
  },
  "luminance": 0.07305
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #12582E

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

Preview Lab → · Contrast checker → · Palette generator →

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