#18581A#18581A

#18581A is a dark, moderate green. Relative luminance 0.072; OKLCH L 40.6% C 0.114 H 143.5°. Best body text is #FFFFFF at 8.57:1 contrast (WCAG AA passes).

Color values

HEX#18581A
RGBrgb(24, 88, 26)
HSLhsl(122, 57%, 22%)
HSVhsv(122, 73%, 35%)
CMYKcmyk(72.7%, 0%, 70.5%, 65.5%)
CIE-LABlab(32.36, -33.79, 29.23)
CIE-LCHlch(32.36, 44.68, 139.14°)
OKLaboklab(40.57% -0.0916 0.0677)
OKLCHoklch(40.57% 0.114 143.5)
XYZxyz(4.0526, 7.2478, 2.1625)
Luminance0.0725 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18581A #581856
analogous
#365818 #18581A #18583A
triadic
#18581A #1A1858 #581A18
tetradic
#18581A #183658 #581856 #583A18
square
#18581A #183658 #581856 #583A18
split-complementary
#18581A #3A1858 #581836
monochromatic
#071807 #0B280C #18581A #258828 #32B836

Accessibility & contrast

On white

8.57
#18581A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #18581A
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18581A#FFFFFF#000000##FFFFFF
##18581A1.008.572.458.57
#FFFFFF8.571.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A4F12
Deuteranopia (green-blind)
#524A20
Tritanopia (blue-blind)
#07554B
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #18581a;
/* rgb */ color: rgb(24, 88, 26);
/* oklch */ color: oklch(40.6% 0.114 143.5);
Tailwind
colors: {
  custom: {
    50: '#5f885a',
    500: '#18581a',
    950: '#000000',
  },
}
SCSS
$custom: #18581a;
$custom-light: #5f885a;
$custom-dark: #000000;
JSON
{
  "hex": "#18581a",
  "rgb": {
    "r": 24,
    "g": 88,
    "b": 26
  },
  "hsl": {
    "h": 121.875,
    "s": 57.143,
    "l": 21.961
  },
  "oklch": {
    "l": 0.40574,
    "c": 0.11393,
    "h": 143.5
  },
  "luminance": 0.07248
}

Semantic roles & 50–950 ramp

primary
#18581A
secondary
#8F3D8C
accent
#47DCE0
background
#F5F8F5
surface
#EAF0E9
border
#C6CBC5
text
#050B04
muted
#797C79

Preview Lab

Preview with #18581A

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

Preview Lab → · Contrast checker → · Palette generator →

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