#18642A#18642A

#18642A is a dark, moderate green. Relative luminance 0.095; OKLCH L 44.4% C 0.116 H 147.3°. Best body text is #FFFFFF at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#18642A
RGBrgb(24, 100, 42)
HSLhsl(134, 61%, 24%)
HSVhsv(134, 76%, 39%)
CMYKcmyk(76%, 0%, 58%, 60.8%)
CIE-LABlab(36.88, -36.31, 26.18)
CIE-LCHlch(36.88, 44.76, 144.20°)
OKLaboklab(44.38% -0.0978 0.0627)
OKLCHoklch(44.38% 0.116 147.3)
XYZxyz(5.3514, 9.4751, 3.7369)
Luminance0.0948 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18642A #641852
analogous
#2C6418 #18642A #186450
triadic
#18642A #2A1864 #642A18
tetradic
#18642A #182C64 #641852 #645018
square
#18642A #182C64 #641852 #645018
split-complementary
#18642A #501864 #64182C
monochromatic
#06190A #0C3315 #18642A #24953F #30C753

Accessibility & contrast

On white

7.25
#18642A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#18642A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18642A
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18642A#FFFFFF#000000##FFFFFF
##18642A1.007.252.907.25
#FFFFFF7.251.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#655B25
Deuteranopia (green-blind)
#5C542E
Tritanopia (blue-blind)
#006257
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #18642a;
/* rgb */ color: rgb(24, 100, 42);
/* oklch */ color: oklch(44.4% 0.116 147.3);
Tailwind
colors: {
  custom: {
    50: '#619165',
    500: '#18642a',
    950: '#000000',
  },
}
SCSS
$custom: #18642a;
$custom-light: #619165;
$custom-dark: #000000;
JSON
{
  "hex": "#18642a",
  "rgb": {
    "r": 24,
    "g": 100,
    "b": 42
  },
  "hsl": {
    "h": 134.211,
    "s": 61.29,
    "l": 24.314
  },
  "oklch": {
    "l": 0.44375,
    "c": 0.11616,
    "h": 147.3
  },
  "luminance": 0.09476
}

Semantic roles & 50–950 ramp

primary
#18642A
secondary
#9A3E84
accent
#43BEE4
background
#F6F9F6
surface
#EBF1EB
border
#C6CBC6
text
#060D06
muted
#7A7E7A

Preview Lab

Preview with #18642A

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

Preview Lab → · Contrast checker → · Palette generator →

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