#18582A#18582A

#18582A is a dark, moderate green. Relative luminance 0.073; OKLCH L 40.8% C 0.099 H 149.0°. Best body text is #FFFFFF at 8.51:1 contrast (WCAG AA passes).

Color values

HEX#18582A
RGBrgb(24, 88, 42)
HSLhsl(137, 57%, 22%)
HSVhsv(137, 73%, 35%)
CMYKcmyk(72.7%, 0%, 52.3%, 65.5%)
CIE-LABlab(32.57, -31.41, 20.88)
CIE-LCHlch(32.57, 37.72, 146.39°)
OKLaboklab(40.81% -0.0847 0.0508)
OKLCHoklch(40.81% 0.099 149)
XYZxyz(4.2840, 7.3403, 3.3811)
Luminance0.0734 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18582A #581846
analogous
#265818 #18582A #18584A
triadic
#18582A #2A1858 #582A18
tetradic
#18582A #182658 #581846 #584A18
square
#18582A #182658 #581846 #584A18
split-complementary
#18582A #4A1858 #581826
monochromatic
#07180B #0B2813 #18582A #258841 #32B858

Accessibility & contrast

On white

8.51
#18582A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#18582A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18582A
8.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18582A#FFFFFF#000000##FFFFFF
##18582A1.008.512.478.51
#FFFFFF8.511.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#595026
Deuteranopia (green-blind)
#514A2D
Tritanopia (blue-blind)
#00564D
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #18582a;
/* rgb */ color: rgb(24, 88, 42);
/* oklch */ color: oklch(40.8% 0.099 149.0);
Tailwind
colors: {
  custom: {
    50: '#5e8864',
    500: '#18582a',
    950: '#000000',
  },
}
SCSS
$custom: #18582a;
$custom-light: #5e8864;
$custom-dark: #000000;
JSON
{
  "hex": "#18582a",
  "rgb": {
    "r": 24,
    "g": 88,
    "b": 42
  },
  "hsl": {
    "h": 136.875,
    "s": 57.143,
    "l": 21.961
  },
  "oklch": {
    "l": 0.4081,
    "c": 0.09875,
    "h": 149
  },
  "luminance": 0.07341
}

Semantic roles & 50–950 ramp

primary
#18582A
secondary
#8F3D78
accent
#47B5E0
background
#F5F8F6
surface
#EAF0EB
border
#C6CBC6
text
#050B05
muted
#797C7A

Preview Lab

Preview with #18582A

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

Preview Lab → · Contrast checker → · Palette generator →

#18582A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva