#18581E#18581E

#18581E is a dark, moderate green. Relative luminance 0.073; OKLCH L 40.6% C 0.110 H 144.6°. Best body text is #FFFFFF at 8.56:1 contrast (WCAG AA passes).

Color values

HEX#18581E
RGBrgb(24, 88, 30)
HSLhsl(126, 57%, 22%)
HSVhsv(126, 73%, 35%)
CMYKcmyk(72.7%, 0%, 65.9%, 65.5%)
CIE-LABlab(32.41, -33.29, 27.27)
CIE-LCHlch(32.41, 43.03, 140.68°)
OKLaboklab(40.62% -0.0901 0.064)
OKLCHoklch(40.62% 0.11 144.6)
XYZxyz(4.1005, 7.2669, 2.4146)
Luminance0.0727 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18581E #581852
analogous
#325818 #18581E #18583E
triadic
#18581E #1E1858 #581E18
tetradic
#18581E #183258 #581852 #583E18
square
#18581E #183258 #581852 #583E18
split-complementary
#18581E #3E1858 #581832
monochromatic
#071808 #0B280E #18581E #25882E #32B83F

Accessibility & contrast

On white

8.56
#18581E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#18581E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18581E
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18581E#FFFFFF#000000##FFFFFF
##18581E1.008.562.458.56
#FFFFFF8.561.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A4F18
Deuteranopia (green-blind)
#524A23
Tritanopia (blue-blind)
#05564C
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #18581e;
/* rgb */ color: rgb(24, 88, 30);
/* oklch */ color: oklch(40.6% 0.110 144.6);
Tailwind
colors: {
  custom: {
    50: '#5f885c',
    500: '#18581e',
    950: '#000000',
  },
}
SCSS
$custom: #18581e;
$custom-light: #5f885c;
$custom-dark: #000000;
JSON
{
  "hex": "#18581e",
  "rgb": {
    "r": 24,
    "g": 88,
    "b": 30
  },
  "hsl": {
    "h": 125.625,
    "s": 57.143,
    "l": 21.961
  },
  "oklch": {
    "l": 0.40623,
    "c": 0.11049,
    "h": 144.6
  },
  "luminance": 0.07267
}

Semantic roles & 50–950 ramp

primary
#18581E
secondary
#8F3D87
accent
#47D2E0
background
#F5F8F5
surface
#EAF0E9
border
#C6CBC5
text
#050B04
muted
#797C79

Preview Lab

Preview with #18581E

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

Preview Lab → · Contrast checker → · Palette generator →

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