#18581B#18581B

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

Color values

HEX#18581B
RGBrgb(24, 88, 27)
HSLhsl(123, 57%, 22%)
HSVhsv(123, 73%, 35%)
CMYKcmyk(72.7%, 0%, 69.3%, 65.5%)
CIE-LABlab(32.37, -33.67, 28.75)
CIE-LCHlch(32.37, 44.27, 139.51°)
OKLaboklab(40.59% -0.0913 0.0668)
OKLCHoklch(40.59% 0.113 143.8)
XYZxyz(4.0640, 7.2523, 2.2224)
Luminance0.0725 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18581B #581855
analogous
#355818 #18581B #18583B
triadic
#18581B #1B1858 #581B18
tetradic
#18581B #183558 #581855 #583B18
square
#18581B #183558 #581855 #583B18
split-complementary
#18581B #3B1858 #581835
monochromatic
#071807 #0B280C #18581B #25882A #32B839

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##18581B#FFFFFF#000000##FFFFFF
##18581B1.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)
#5A4F14
Deuteranopia (green-blind)
#524A20
Tritanopia (blue-blind)
#07554B
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #18581b;
/* rgb */ color: rgb(24, 88, 27);
/* oklch */ color: oklch(40.6% 0.113 143.8);
Tailwind
colors: {
  custom: {
    50: '#5f885a',
    500: '#18581b',
    950: '#000000',
  },
}
SCSS
$custom: #18581b;
$custom-light: #5f885a;
$custom-dark: #000000;
JSON
{
  "hex": "#18581b",
  "rgb": {
    "r": 24,
    "g": 88,
    "b": 27
  },
  "hsl": {
    "h": 122.813,
    "s": 57.143,
    "l": 21.961
  },
  "oklch": {
    "l": 0.40586,
    "c": 0.11311,
    "h": 143.8
  },
  "luminance": 0.07253
}

Semantic roles & 50–950 ramp

primary
#18581B
secondary
#8F3D8B
accent
#47D9E0
background
#F5F8F5
surface
#EAF0E9
border
#C6CBC5
text
#050B04
muted
#797C79

Preview Lab

Preview with #18581B

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

Preview Lab → · Contrast checker → · Palette generator →

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