#18642B#18642B

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

Color values

HEX#18642B
RGBrgb(24, 100, 43)
HSLhsl(135, 61%, 24%)
HSVhsv(135, 76%, 39%)
CMYKcmyk(76%, 0%, 57%, 60.8%)
CIE-LABlab(36.90, -36.15, 25.66)
CIE-LCHlch(36.90, 44.33, 144.63°)
OKLaboklab(44.39% -0.0974 0.0616)
OKLCHoklch(44.39% 0.115 147.7)
XYZxyz(5.3695, 9.4823, 3.8323)
Luminance0.0948 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18642B #641851
analogous
#2B6418 #18642B #186451
triadic
#18642B #2B1864 #642B18
tetradic
#18642B #182B64 #641851 #645118
square
#18642B #182B64 #641851 #645118
split-complementary
#18642B #511864 #64182B
monochromatic
#06190B #0C3316 #18642B #249540 #30C755

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##18642B#FFFFFF#000000##FFFFFF
##18642B1.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)
#655B26
Deuteranopia (green-blind)
#5C542F
Tritanopia (blue-blind)
#006257
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #18642b;
/* rgb */ color: rgb(24, 100, 43);
/* oklch */ color: oklch(44.4% 0.115 147.7);
Tailwind
colors: {
  custom: {
    50: '#619166',
    500: '#18642b',
    950: '#000000',
  },
}
SCSS
$custom: #18642b;
$custom-light: #619166;
$custom-dark: #000000;
JSON
{
  "hex": "#18642b",
  "rgb": {
    "r": 24,
    "g": 100,
    "b": 43
  },
  "hsl": {
    "h": 135,
    "s": 61.29,
    "l": 24.314
  },
  "oklch": {
    "l": 0.44391,
    "c": 0.1152,
    "h": 147.7
  },
  "luminance": 0.09483
}

Semantic roles & 50–950 ramp

primary
#18642B
secondary
#9A3E83
accent
#43BCE4
background
#F6F9F6
surface
#EBF1EB
border
#C6CBC6
text
#060D06
muted
#7A7E7A

Preview Lab

Preview with #18642B

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

Preview Lab → · Contrast checker → · Palette generator →

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