#18742F#18742F

#18742F is a mid, vivid green. Relative luminance 0.129; OKLCH L 49.1% C 0.133 H 147.2°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#18742F
RGBrgb(24, 116, 47)
HSLhsl(135, 66%, 27%)
HSVhsv(135, 79%, 45%)
CMYKcmyk(79.3%, 0%, 59.5%, 54.5%)
CIE-LABlab(42.60, -41.65, 30.37)
CIE-LCHlch(42.60, 51.55, 143.90°)
OKLaboklab(49.13% -0.1121 0.0723)
OKLCHoklch(49.13% 0.133 147.2)
XYZxyz(7.1346, 12.8894, 4.8007)
Luminance0.1289 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18742F #74185D
analogous
#2F7418 #18742F #18745D
triadic
#18742F #2F1874 #742F18
tetradic
#18742F #182F74 #74185D #745D18
square
#18742F #182F74 #74185D #745D18
split-complementary
#18742F #5D1874 #74182F
monochromatic
#05190A #0E411A #18742F #22A744 #32D55B

Accessibility & contrast

On white

5.87
#18742F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#18742F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #18742F
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18742F#FFFFFF#000000##FFFFFF
##18742F1.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756928
Deuteranopia (green-blind)
#6B6234
Tritanopia (blue-blind)
#007165
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #18742f;
/* rgb */ color: rgb(24, 116, 47);
/* oklch */ color: oklch(49.1% 0.133 147.2);
Tailwind
colors: {
  custom: {
    50: '#669d6a',
    500: '#18742f',
    950: '#000000',
  },
}
SCSS
$custom: #18742f;
$custom-light: #669d6a;
$custom-dark: #000000;
JSON
{
  "hex": "#18742f",
  "rgb": {
    "r": 24,
    "g": 116,
    "b": 47
  },
  "hsl": {
    "h": 135,
    "s": 65.714,
    "l": 27.451
  },
  "oklch": {
    "l": 0.49127,
    "c": 0.13334,
    "h": 147.2
  },
  "luminance": 0.1289
}

Semantic roles & 50–950 ramp

primary
#18742F
secondary
#A93F8F
accent
#3FBEE9
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#070E06
muted
#7A7E7A

Preview Lab

Preview with #18742F

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

Preview Lab → · Contrast checker → · Palette generator →

#18742F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva