#18581F#18581F

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

Color values

HEX#18581F
RGBrgb(24, 88, 31)
HSLhsl(127, 57%, 22%)
HSVhsv(127, 73%, 35%)
CMYKcmyk(72.7%, 0%, 64.8%, 65.5%)
CIE-LABlab(32.42, -33.15, 26.77)
CIE-LCHlch(32.42, 42.61, 141.09°)
OKLaboklab(40.64% -0.0897 0.063)
OKLCHoklch(40.64% 0.11 144.9)
XYZxyz(4.1135, 7.2721, 2.4829)
Luminance0.0727 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18581F #581851
analogous
#315818 #18581F #18583F
triadic
#18581F #1F1858 #581F18
tetradic
#18581F #183158 #581851 #583F18
square
#18581F #183158 #581851 #583F18
split-complementary
#18581F #3F1858 #581831
monochromatic
#071808 #0B280E #18581F #258830 #32B841

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##18581F#FFFFFF#000000##FFFFFF
##18581F1.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)
#5A4F19
Deuteranopia (green-blind)
#524A24
Tritanopia (blue-blind)
#05564C
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #18581f;
/* rgb */ color: rgb(24, 88, 31);
/* oklch */ color: oklch(40.6% 0.110 144.9);
Tailwind
colors: {
  custom: {
    50: '#5f885d',
    500: '#18581f',
    950: '#000000',
  },
}
SCSS
$custom: #18581f;
$custom-light: #5f885d;
$custom-dark: #000000;
JSON
{
  "hex": "#18581f",
  "rgb": {
    "r": 24,
    "g": 88,
    "b": 31
  },
  "hsl": {
    "h": 126.563,
    "s": 57.143,
    "l": 21.961
  },
  "oklch": {
    "l": 0.40636,
    "c": 0.10959,
    "h": 144.9
  },
  "luminance": 0.07273
}

Semantic roles & 50–950 ramp

primary
#18581F
secondary
#8F3D86
accent
#47D0E0
background
#F5F8F5
surface
#EAF0E9
border
#C6CBC5
text
#050B04
muted
#797C79

Preview Lab

Preview with #18581F

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

Preview Lab → · Contrast checker → · Palette generator →

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