#18581C#18581C

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

Color values

HEX#18581C
RGBrgb(24, 88, 28)
HSLhsl(124, 57%, 22%)
HSVhsv(124, 73%, 35%)
CMYKcmyk(72.7%, 0%, 68.2%, 65.5%)
CIE-LABlab(32.38, -33.55, 28.26)
CIE-LCHlch(32.38, 43.86, 139.89°)
OKLaboklab(40.6% -0.0909 0.0659)
OKLCHoklch(40.6% 0.112 144.1)
XYZxyz(4.0758, 7.2570, 2.2843)
Luminance0.0726 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18581C #581854
analogous
#345818 #18581C #18583C
triadic
#18581C #1C1858 #581C18
tetradic
#18581C #183458 #581854 #583C18
square
#18581C #183458 #581854 #583C18
split-complementary
#18581C #3C1858 #581834
monochromatic
#071808 #0B280D #18581C #25882B #32B83B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##18581C#FFFFFF#000000##FFFFFF
##18581C1.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)
#5A4F15
Deuteranopia (green-blind)
#524A21
Tritanopia (blue-blind)
#06554B
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #18581c;
/* rgb */ color: rgb(24, 88, 28);
/* oklch */ color: oklch(40.6% 0.112 144.1);
Tailwind
colors: {
  custom: {
    50: '#5f885b',
    500: '#18581c',
    950: '#000000',
  },
}
SCSS
$custom: #18581c;
$custom-light: #5f885b;
$custom-dark: #000000;
JSON
{
  "hex": "#18581c",
  "rgb": {
    "r": 24,
    "g": 88,
    "b": 28
  },
  "hsl": {
    "h": 123.75,
    "s": 57.143,
    "l": 21.961
  },
  "oklch": {
    "l": 0.40598,
    "c": 0.11225,
    "h": 144.1
  },
  "luminance": 0.07257
}

Semantic roles & 50–950 ramp

primary
#18581C
secondary
#8F3D8A
accent
#47D7E0
background
#F5F8F5
surface
#EAF0E9
border
#C6CBC5
text
#050B04
muted
#797C79

Preview Lab

Preview with #18581C

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

Preview Lab → · Contrast checker → · Palette generator →

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