#18742D#18742D

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

Color values

HEX#18742D
RGBrgb(24, 116, 45)
HSLhsl(134, 66%, 27%)
HSVhsv(134, 79%, 45%)
CMYKcmyk(79.3%, 0%, 61.2%, 54.5%)
CIE-LABlab(42.57, -41.94, 31.37)
CIE-LCHlch(42.57, 52.37, 143.21°)
OKLaboklab(49.1% -0.1129 0.0742)
OKLCHoklch(49.1% 0.135 146.7)
XYZxyz(7.0952, 12.8736, 4.5930)
Luminance0.1287 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18742D #74185F
analogous
#317418 #18742D #18745B
triadic
#18742D #2D1874 #742D18
tetradic
#18742D #183174 #74185F #745B18
square
#18742D #183174 #74185F #745B18
split-complementary
#18742D #5B1874 #741831
monochromatic
#05190A #0E4119 #18742D #22A741 #32D557

Accessibility & contrast

On white

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

On black

3.57
#18742D on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##18742D#FFFFFF#000000##FFFFFF
##18742D1.005.873.575.87
#FFFFFF5.871.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766926
Deuteranopia (green-blind)
#6B6233
Tritanopia (blue-blind)
#007164
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #18742d;
/* rgb */ color: rgb(24, 116, 45);
/* oklch */ color: oklch(49.1% 0.135 146.7);
Tailwind
colors: {
  custom: {
    50: '#669d68',
    500: '#18742d',
    950: '#000000',
  },
}
SCSS
$custom: #18742d;
$custom-light: #669d68;
$custom-dark: #000000;
JSON
{
  "hex": "#18742d",
  "rgb": {
    "r": 24,
    "g": 116,
    "b": 45
  },
  "hsl": {
    "h": 133.696,
    "s": 65.714,
    "l": 27.451
  },
  "oklch": {
    "l": 0.491,
    "c": 0.13512,
    "h": 146.7
  },
  "luminance": 0.12874
}

Semantic roles & 50–950 ramp

primary
#18742D
secondary
#A93F91
accent
#3FC2E9
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#070E06
muted
#7A7E7A

Preview Lab

Preview with #18742D

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

Preview Lab → · Contrast checker → · Palette generator →

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